OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS Test: Shape from box value - margin-box</title> | 4 <title>CSS Test: Shape from box value - margin-box</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-box-va
lues"/> | 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-box-va
lues"/> |
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 content wraps around a
shape | 10 <meta name="assert" content="This test verifies that content wraps around a
shape |
11 defined by its margin box."/> | 11 defined by its margin box."/> |
12 <!-- This test is derived from Examples 8 and 9 in this version of the spec
: | 12 <!-- This test is derived from Examples 8 and 9 in this version of the spec: |
13 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> | 13 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> |
14 <style type="text/css"> | 14 <style type="text/css"> |
15 #test { | 15 #test { |
16 color: green; | 16 color: green; |
17 position: relative; | 17 position: relative; |
18 width: 400px; | 18 width: 400px; |
19 font-family: Ahem; | 19 font-family: Ahem; |
20 font-size: 20px; | 20 font-size: 20px; |
21 line-height: 2em; | 21 line-height: 2em; |
22 } | 22 } |
23 #box { | 23 #box { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 <span id="line-3">XXXXXX</span> | 59 <span id="line-3">XXXXXX</span> |
60 <span id="line-4">XXXXXX</span> | 60 <span id="line-4">XXXXXX</span> |
61 <span id="line-5">XXXXXXXXXXXXXXX</span> | 61 <span id="line-5">XXXXXXXXXXXXXXX</span> |
62 </div> | 62 </div> |
63 <div id="log"></div> | 63 <div id="log"></div> |
64 <script> | 64 <script> |
65 approxShapeTest('test', 'line-', 3, [182, 198, 200, 198, 182, 0]); | 65 approxShapeTest('test', 'line-', 3, [182, 198, 200, 198, 182, 0]); |
66 </script> | 66 </script> |
67 </body> | 67 </body> |
68 </html> | 68 </html> |
OLD | NEW |