| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Ellipse Radii - invalid args</title> | 4 <title>Shape Outside Ellipse Radii - invalid args</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="This test verifies that invalid shape-radiu
s arguments on ellipse() don't parse."> | 10 <meta name="assert" content="This test verifies that invalid shape-radiu
s arguments on ellipse() don't parse."> |
| 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> |
| 18 <script type="text/javascript"> | 18 <script type="text/javascript"> |
| 19 var invalid_ellipse_radiii_tests = [ | 19 var invalid_ellipse_radiii_tests = [ |
| 20 {"name": "ellipse(foo)"}, | 20 {"name": "ellipse(foo)"}, |
| 21 {"name": "ellipse(10)"}, | 21 {"name": "ellipse(10)"}, |
| 22 {"name": "ellipse(20px 30px 40px)"}, | 22 {"name": "ellipse(20px 30px 40px)"}, |
| 23 {"name": "ellipse(20% 30% 40%)"}, | 23 {"name": "ellipse(20% 30% 40%)"}, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 34 {"name": "ellipse(closest-side farthest-side 20px)"}, | 34 {"name": "ellipse(closest-side farthest-side 20px)"}, |
| 35 {"name": "ellipse(closest-side farthest-side 20%)"}, | 35 {"name": "ellipse(closest-side farthest-side 20%)"}, |
| 36 {"name": "ellipse(farthest-side closest-side closest-side)"}, | 36 {"name": "ellipse(farthest-side closest-side closest-side)"}, |
| 37 {"name": "ellipse(farthest-side, closest-side, closest-side)"} | 37 {"name": "ellipse(farthest-side, closest-side, closest-side)"} |
| 38 ]; | 38 ]; |
| 39 generate_tests( ParsingUtils.testInlineStyle, | 39 generate_tests( ParsingUtils.testInlineStyle, |
| 40 ParsingUtils.buildTestCases(invalid_ellipse_radiii_t
ests) ); | 40 ParsingUtils.buildTestCases(invalid_ellipse_radiii_t
ests) ); |
| 41 </script> | 41 </script> |
| 42 </body> | 42 </body> |
| 43 </html> | 43 </html> |
| OLD | NEW |