haikuwebkit/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-linear-gradie...

25 lines
424 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
#image-shape {
float: left;
-webkit-shape-outside: linear-gradient(to right, rgba(0, 0, 255, 1), rgba(0, 0, 255, 0));
-webkit-shape-image-threshold: 0.5;
width: 100px;
height: 100px;
}
#content {
font: 50px/1 Ahem, sans-serif;
width: 600px;
color: green;
}
</style>
<div id="content">
<div id="image-shape"></div>
X<br>X<br>X
</div>
</body>
</html>