blob: aa243d54794869a7058ed34d00fb0fd4fcda9a04 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
body {
overflow: hidden;
}
#image-shape {
float: left;
shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='blue'/></svg>");
width: 40000px;
height: 40000px;
}
#content {
font: 50px/1 Ahem, sans-serif;
color: green;
}
</style>
<body>
<p>This test creates a shape-image image whose size is too large for this platform. The result should be the same as if shape-outside's size was 0.</p>
<div id="content">
<img id="image-shape"
src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='blue'/></svg>"/>
X<br>X
</div>
</body>
</html>