blob: 4882b3e74469f646afce1e7b57238e6103531e17 [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='0' height='0' 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>