OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS Test: Shape from image - url(), alpha channel, opacity > 0</title
> | 4 <title>CSS Test: Shape from image - url(), alpha channel, opacity > 0</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 |
11 shape defined in the images alpha channel that
has some | 11 shape defined in the images alpha channel that
has some |
12 opacity."/> | 12 opacity."/> |
13 <!-- This test is derived from Example 7 in this version of the spec: | 13 <!-- This test is derived from Example 7 in this version of the spec: |
14 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> | 14 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> |
15 <style type="text/css"> | 15 <style type="text/css"> |
16 .container { | 16 .container { |
17 width: 400px; | 17 width: 400px; |
18 font-family: Ahem; | 18 font-family: Ahem; |
19 font-size: 20px; | 19 font-size: 20px; |
20 line-height: 2em; | 20 line-height: 2em; |
21 } | 21 } |
22 #test { | 22 #test { |
23 color: green; | 23 color: green; |
24 } | 24 } |
(...skipping 19 matching lines...) Expand all Loading... |
44 <span id="line-3">XXXXXX</span> | 44 <span id="line-3">XXXXXX</span> |
45 <span id="line-4">XXXXXX</span> | 45 <span id="line-4">XXXXXX</span> |
46 <span id="line-5">XXXXXX</span> | 46 <span id="line-5">XXXXXX</span> |
47 </div> | 47 </div> |
48 <div id="log"></div> | 48 <div id="log"></div> |
49 <script> | 49 <script> |
50 approxShapeTest('test', 'line-', 2, [218, 236, 238, 236, 218, 160]); | 50 approxShapeTest('test', 'line-', 2, [218, 236, 238, 236, 218, 160]); |
51 </script> | 51 </script> |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |