| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Ellipse Radii - positive/negative, decimal/non-deci
mal</title> | 4 <title>Shape Outside Ellipse Radii - positive/negative, decimal/non-deci
mal</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-ellips
e"> | 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-ellips
e"> |
| 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="An ellipse's radii may be in signed positiv
e or decimal/non-decimal format. Negative | 10 <meta name="assert" content="An ellipse's radii may be in signed positiv
e or decimal/non-decimal format. Negative |
| 11 radii are invalid."> | 11 radii are invalid."> |
| 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 valid_ellipse_radii_tests = [ | 20 var valid_ellipse_radii_tests = [ |
| 21 { | 21 { |
| 22 "actual": "ellipse(+10px +20px)", | 22 "actual": "ellipse(+10px +20px)", |
| 23 "expected_inline": "ellipse(10px 20px at 50% 50%)", | 23 "expected_inline": "ellipse(10px 20px at 50% 50%)", |
| 24 "expected_computed": "ellipse(10px 20px at 50% 50%)" | 24 "expected_computed": "ellipse(10px 20px at 50% 50%)" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 ]; | 86 ]; |
| 87 generate_tests( ParsingUtils.testInlineStyle, | 87 generate_tests( ParsingUtils.testInlineStyle, |
| 88 ParsingUtils.buildTestCases(valid_ellipse_radii_test
s, "inline") ); | 88 ParsingUtils.buildTestCases(valid_ellipse_radii_test
s, "inline") ); |
| 89 generate_tests( ParsingUtils.testComputedStyle, | 89 generate_tests( ParsingUtils.testComputedStyle, |
| 90 ParsingUtils.buildTestCases(valid_ellipse_radii_test
s, "computed") ); | 90 ParsingUtils.buildTestCases(valid_ellipse_radii_test
s, "computed") ); |
| 91 generate_tests( ParsingUtils.testInlineStyle, | 91 generate_tests( ParsingUtils.testInlineStyle, |
| 92 ParsingUtils.buildTestCases(invalid_ellipse_radii_te
sts) ); | 92 ParsingUtils.buildTestCases(invalid_ellipse_radii_te
sts) ); |
| 93 </script> | 93 </script> |
| 94 </body> | 94 </body> |
| 95 </html> | 95 </html> |
| OLD | NEW |