| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Test: Shape from image - shape-image-threshold - 0.9</title> | 4 <title>CSS Test: Shape from image - shape-image-threshold - 0.9</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 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-image-thresh
old-property"/> | 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-image-thresh
old-property"/> |
| 10 <link rel="match" href="reference/shape-outside-012-ref.html"/> | 10 <link rel="match" href="reference/shape-outside-012-ref.html"/> |
| 11 <meta name="flags" content="ahem dom"/> | 11 <meta name="flags" content="ahem dom"/> |
| 12 <meta name="assert" content="This test verifies content flows around a shape
that is | 12 <meta name="assert" content="This test verifies content flows around a shape
that is |
| 13 defined in the image's alpha channel and adjust
ed by the | 13 defined in the image's alpha channel and adjust
ed by the |
| 14 image-threshold" /> | 14 image-threshold" /> |
| 15 <!-- This test is derived from Example 7 in this version of the spec: | 15 <!-- This test is derived from Example 7 in this version of the spec: |
| 16 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> | 16 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> |
| 17 <style type="text/css"> | 17 <style type="text/css"> |
| 18 .container { | 18 .container { |
| 19 width: 400px; | 19 width: 400px; |
| 20 font-family: Ahem; | 20 font-family: Ahem; |
| 21 font-size: 20px; | 21 font-size: 20px; |
| 22 line-height: 2em; | 22 line-height: 2em; |
| 23 } | 23 } |
| 24 #test { | 24 #test { |
| 25 color: green; | 25 color: green; |
| 26 } | 26 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 48 <span id="line-3">XXXXXX</span> | 48 <span id="line-3">XXXXXX</span> |
| 49 <span id="line-4">XXXXXX</span> | 49 <span id="line-4">XXXXXX</span> |
| 50 <span id="line-5">XXXXXXXXXXXXXXX</span> | 50 <span id="line-5">XXXXXXXXXXXXXXX</span> |
| 51 </div> | 51 </div> |
| 52 <div id="log"></div> | 52 <div id="log"></div> |
| 53 <script> | 53 <script> |
| 54 approxShapeTest('test', 'line-', 2, [181, 199, 201, 199, 181, 0]); | 54 approxShapeTest('test', 'line-', 2, [181, 199, 201, 199, 181, 0]); |
| 55 </script> | 55 </script> |
| 56 </body> | 56 </body> |
| 57 </html> | 57 </html> |
| OLD | NEW |