26 lines
682 B
HTML
26 lines
682 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<style>
|
|
#wrapped-text {
|
|
font-size: 30px;
|
|
line-height: 1;
|
|
}
|
|
|
|
#image-valued-shape {
|
|
float: left;
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-left: 30px;
|
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px'><rect x='0' y='0' width='100' height='100' fill='green'/></svg>");
|
|
background-repeat: no-repeat;
|
|
}
|
|
</style>
|
|
<body>
|
|
<p>The A-C text should appear above and then to the right of the green rectangle. This test should not crash.</p>
|
|
<div id="wrapped-text">
|
|
<div style="height: 30px">A</div>
|
|
<div id="image-valued-shape"></div>B<br>C
|
|
</div>
|
|
</body>
|
|
</html>
|