OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Shape Outside Circle 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-circle
"> |
| 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 circle() 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_circle_radiii_tests = [ |
| 20 {"name": "circle(foo)"}, |
| 21 {"name": "circle(10)"}, |
| 22 {"name": "circle(20px 30px)"}, |
| 23 {"name": "circle(20% 30%)"}, |
| 24 {"name": "circle(20px, 30px)"}, |
| 25 {"name": "circle(20%, 30%)"}, |
| 26 {"name": "circle(20px closest-side)"}, |
| 27 {"name": "circle(20px farthest-side)"}, |
| 28 {"name": "circle(closest-side 20px)"}, |
| 29 {"name": "circle(farthest-side 20px)"}, |
| 30 {"name": "circle(20% closest-side)"}, |
| 31 {"name": "circle(20% farthest-side)"}, |
| 32 {"name": "circle(closest-side 20%)"}, |
| 33 {"name": "circle(farthest-side 20%)"}, |
| 34 {"name": "circle(closest-side farthest-side)"}, |
| 35 {"name": "circle(farthest-side closest-side)"} |
| 36 ]; |
| 37 generate_tests(ParsingUtils.testInlineStyle, |
| 38 ParsingUtils.buildTestCases(invalid_circle_radiii_tes
ts) ); |
| 39 </script> |
| 40 </body> |
| 41 </html> |
OLD | NEW |