| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Test: Shape from image - shape-margin</title> | 4 <title>CSS Test: Shape from image - shape-margin</title> |
| 5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/> | 5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/> |
| 6 <link rel="author" title="Bem Jones-Bey" href="mailto:bemjb@adobe.com"/> | 6 <link rel="author" title="Bem Jones-Bey" href="mailto:bemjb@adobe.com"/> |
| 7 <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/#shapes-from-image"
/> |
| 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-prop
erty"/> | 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-prop
erty"/> |
| 9 <meta name="flags" content="ahem dom"/> | 9 <meta name="flags" content="ahem dom"/> |
| 10 <meta name="assert" content="This test verifies that the content flows aroun
d the | 10 <meta name="assert" content="This test verifies that the content flows aroun
d the |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 position: absolute; | 30 position: absolute; |
| 31 top: -15px; | 31 top: -15px; |
| 32 left: -15px; | 32 left: -15px; |
| 33 width: 230px; | 33 width: 230px; |
| 34 height: 230px; | 34 height: 230px; |
| 35 background-color: blue; | 35 background-color: blue; |
| 36 border-radius: 150px; | 36 border-radius: 150px; |
| 37 z-index: -1; | 37 z-index: -1; |
| 38 } | 38 } |
| 39 </style> | 39 </style> |
| 40 <script src="../../../../resources/testharness.js"></script> | 40 <script src="/resources/testharness.js"></script> |
| 41 <script src="../../../../resources/testharnessreport.js"></script> | 41 <script src="/resources/testharnessreport.js"></script> |
| 42 <script src="support/spec-example-utils.js"></script> | 42 <script src="support/spec-example-utils.js"></script> |
| 43 </head> | 43 </head> |
| 44 <body> | 44 <body> |
| 45 <p> | 45 <p> |
| 46 The test passes if the short green horizontal bars are the right of the
circle, | 46 The test passes if the short green horizontal bars are the right of the
circle, |
| 47 the long green bar is beneath the circle, and no bars intersect the circ
le. There | 47 the long green bar is beneath the circle, and no bars intersect the circ
le. There |
| 48 should be no red. | 48 should be no red. |
| 49 </p> | 49 </p> |
| 50 <div id="test"> | 50 <div id="test"> |
| 51 <img id="test-image" src="support/circle-no-shadow.png"/> | 51 <img id="test-image" src="support/circle-no-shadow.png"/> |
| 52 <div id="margin-circle"></div> | 52 <div id="margin-circle"></div> |
| 53 <span id="line-0">XXXXXX</span> | 53 <span id="line-0">XXXXXX</span> |
| 54 <span id="line-1">XXXXXX</span> | 54 <span id="line-1">XXXXXX</span> |
| 55 <span id="line-2">XXXXXX</span> | 55 <span id="line-2">XXXXXX</span> |
| 56 <span id="line-3">XXXXXX</span> | 56 <span id="line-3">XXXXXX</span> |
| 57 <span id="line-4">XXXXXX</span> | 57 <span id="line-4">XXXXXX</span> |
| 58 <span id="line-5">XXXXXX</span> | 58 <span id="line-5">XXXXXX</span> |
| 59 <span id="line-6">XXXXXXXXXXXXX</span> | 59 <span id="line-6">XXXXXXXXXXXXX</span> |
| 60 </div> | 60 </div> |
| 61 <div id="log"></div> | 61 <div id="log"></div> |
| 62 <script> | 62 <script> |
| 63 approxShapeTest('test', 'line-', 2, [200, 214, 216, 214, 200, 158, 0]); | 63 approxShapeTest('test', 'line-', 2, [200, 214, 216, 214, 200, 158, 0]); |
| 64 </script> | 64 </script> |
| 65 </body> | 65 </body> |
| 66 </html> | 66 </html> |
| OLD | NEW |