OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Shape Outside Polygon args - calc() values</title> | 4 <title>Shape Outside Polygon args - calc() values</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="Rebecca Hauck" href="mailto:rhauck@adobe.com"> | 6 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@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 <link rel="help" href="http://www.w3.org/TR/css3-values/#calc"> | 10 <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation"> |
11 <meta name="assert" content="A polygon's arguments may be in calc() valu
es."> | 11 <meta name="assert" content="A polygon's arguments may be in calc() valu
es."> |
12 <meta name="flags" content="dom"> | 12 <meta name="flags" content="dom"> |
13 <script src="../../../../../resources/testharness.js"></script> | 13 <script src="../../../../../resources/testharness.js"></script> |
14 <script src="../../../../../resources/testharnessreport.js"></script> | 14 <script src="../../../../../resources/testharnessreport.js"></script> |
15 <script src="support/parsing-utils.js"></script> | 15 <script src="support/parsing-utils.js"></script> |
16 </head> | 16 </head> |
17 <body> | 17 <body> |
18 <div id="log"></div> | 18 <div id="log"></div> |
19 <script type="text/javascript"> | 19 <script type="text/javascript"> |
20 var polygon_calc_tests = []; | 20 var polygon_calc_tests = []; |
(...skipping 21 matching lines...) Expand all Loading... |
42 } else { | 42 } else { |
43 testCase.push('polygon(evenodd, '+ value[2] +' '+ value[2] +
', '+ value[2] +' '+ value[2] +')'); | 43 testCase.push('polygon(evenodd, '+ value[2] +' '+ value[2] +
', '+ value[2] +' '+ value[2] +')'); |
44 } | 44 } |
45 polygon_calc_tests.push(testCase); | 45 polygon_calc_tests.push(testCase); |
46 }); | 46 }); |
47 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.buildCalcT
ests(polygon_calc_tests, 'inline')); | 47 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.buildCalcT
ests(polygon_calc_tests, 'inline')); |
48 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.buildCal
cTests(polygon_calc_tests, 'computed')); | 48 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.buildCal
cTests(polygon_calc_tests, 'computed')); |
49 </script> | 49 </script> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |