OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Shape Outside Basic Shape Computed Percentage Lengths</title> | 4 <title>Shape Outside Basic Shape Computed Percentage Lengths</title> |
5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> | 5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> |
6 <link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"> | 6 <link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"> |
7 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com
"> <!-- 2014-03-04 --> | 7 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com
"> <!-- 2014-03-04 --> |
8 <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-1/#shape-outside-
property"> |
9 <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#computed"> | 9 <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#computed"> |
10 <meta name="assert" content="The basic shape can contain percentages, wh
ich remain unchanged when computed"> | 10 <meta name="assert" content="The basic shape can contain percentages, wh
ich remain unchanged when computed"> |
11 <meta name="flags" content="dom"> | 11 <meta name="flags" content="dom"> |
12 <script src="/resources/testharness.js"></script> | 12 <script src="/resources/testharness.js"></script> |
13 <script src="/resources/testharnessreport.js"></script> | 13 <script src="/resources/testharnessreport.js"></script> |
14 <script src="support/parsing-utils.js"></script> | 14 <script src="support/parsing-utils.js"></script> |
15 </head> | 15 </head> |
16 <body> | 16 <body> |
17 <div id="log"></div> | 17 <div id="log"></div> |
(...skipping 19 matching lines...) Expand all Loading... |
37 "actual": "polygon(nonzero, 10% 20%, 30% 40%, 50% 60%)", | 37 "actual": "polygon(nonzero, 10% 20%, 30% 40%, 50% 60%)", |
38 "expected_computed": "polygon(10% 20%, 30% 40%, 50% 60%)" | 38 "expected_computed": "polygon(10% 20%, 30% 40%, 50% 60%)" |
39 } | 39 } |
40 ]; | 40 ]; |
41 | 41 |
42 generate_tests( ParsingUtils.testComputedStyle, | 42 generate_tests( ParsingUtils.testComputedStyle, |
43 ParsingUtils.buildTestCases(valid_polygon_tests, "co
mputed") ); | 43 ParsingUtils.buildTestCases(valid_polygon_tests, "co
mputed") ); |
44 </script> | 44 </script> |
45 </body> | 45 </body> |
46 </html> | 46 </html> |
OLD | NEW |