OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Shape Outside Polygon Valid Points</title> | 4 <title>Shape Outside Polygon Valid Points</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/#funcdef-polygo
n"> | 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-polygo
n"> |
9 <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-shapes-1/#shape-outside-
property"> |
10 <meta name="assert" content="A polygonal basic shape's points may be eit
her lengths or percentages"> | 10 <meta name="assert" content="A polygonal basic shape's points may be eit
her lengths or percentages"> |
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 18 matching lines...) Expand all Loading... |
36 "expected_computed": "polygon(1px 2px, 3px 4%, 5% 6px, 7% 8%)" | 36 "expected_computed": "polygon(1px 2px, 3px 4%, 5% 6px, 7% 8%)" |
37 } | 37 } |
38 ]; | 38 ]; |
39 generate_tests( ParsingUtils.testInlineStyle, | 39 generate_tests( ParsingUtils.testInlineStyle, |
40 ParsingUtils.buildTestCases(valid_polygon_points_tes
ts, 'inline') ); | 40 ParsingUtils.buildTestCases(valid_polygon_points_tes
ts, 'inline') ); |
41 generate_tests( ParsingUtils.testComputedStyle, | 41 generate_tests( ParsingUtils.testComputedStyle, |
42 ParsingUtils.buildTestCases(valid_polygon_points_tes
ts, 'computed') ); | 42 ParsingUtils.buildTestCases(valid_polygon_points_tes
ts, 'computed') ); |
43 </script> | 43 </script> |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |