OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Shape Outside Ellipse Radii - invalid args</title> |
| 5 <link rel="author" title="Adobe" href="http://html.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 --> |
| 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"> |
| 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"> |
| 12 <script src="../../../../../resources/testharness.js"></script> |
| 13 <script src="../../../../../resources/testharnessreport.js"></script> |
| 14 <script src="support/parsing-utils.js"></script> |
| 15 </head> |
| 16 <body> |
| 17 <div id="log"></div> |
| 18 <script type="text/javascript"> |
| 19 var invalid_ellipse_radiii_tests = [ |
| 20 {"name": "ellipse(foo)"}, |
| 21 {"name": "ellipse(10)"}, |
| 22 {"name": "ellipse(20px 30px 40px)"}, |
| 23 {"name": "ellipse(20% 30% 40%)"}, |
| 24 {"name": "ellipse(20px, 30px, 40px)"}, |
| 25 {"name": "ellipse(20%, 30%, 40%)"}, |
| 26 {"name": "ellipse(20px 30px closest-side)"}, |
| 27 {"name": "ellipse(20px 30px farthest-side)"}, |
| 28 {"name": "ellipse(closest-side 20px 30px)"}, |
| 29 {"name": "ellipse(farthest-side 20px 30px)"}, |
| 30 {"name": "ellipse(20% 30% closest-side)"}, |
| 31 {"name": "ellipse(20% 30% farthest-side)"}, |
| 32 {"name": "ellipse(closest-side 20% 30%)"}, |
| 33 {"name": "ellipse(farthest-side 20% 30%)"}, |
| 34 {"name": "ellipse(closest-side farthest-side 20px)"}, |
| 35 {"name": "ellipse(closest-side farthest-side 20%)"}, |
| 36 {"name": "ellipse(farthest-side closest-side closest-side)"}, |
| 37 {"name": "ellipse(farthest-side, closest-side, closest-side)"} |
| 38 ]; |
| 39 generate_tests( ParsingUtils.testInlineStyle, |
| 40 ParsingUtils.buildTestCases(invalid_ellipse_radiii_t
ests) ); |
| 41 </script> |
| 42 </body> |
| 43 </html> |
OLD | NEW |