4 <title>CSS Test: Image shape with margin-right + shape-margin on a left float</title>
5 <link rel="author" title="Rebecca Hauck" href="rhauck@adobe.com"/>
6 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image"/>
7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property"/>
8 <link rel="help" href="http://www.w3.org/TR/css-shapes/#shape-margin-property"/>
9 <meta name="flags" content="ahem image"/>
10 <meta name="assert" content="This test verifies that the image shape that defines the float
11 area is clipped to the float's margin box and respects the
12 shape-margin extending beyond the margin-left, causing the
13 text to be pushed below the defined shape."/>
14 <style type="text/css">
29 color: rgb(0, 100, 0);
36 shape-outside: url(../resources/square.png);
46 background-color: black;
51 background-color: red;
58 The test passes if the green rectangle is below the line. There should be no red.
63 <div id="failure"></div>
65 <div id="test" class="container">
66 <div id="shape-div"></div>