| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Ellipse Valid Formats</title> | 4 <title>Shape Outside Ellipse Valid Formats</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="Bear Travis" href="mailto:betravis@adobe.com"> | 6 <link rel="author" title="Bear Travis" href="mailto:betravis@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 elliptical basic shape has two optional
components, radii (2) and a position."> | 10 <meta name="assert" content="An elliptical basic shape has two optional
components, radii (2) and a position."> |
| 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 valid_ellipse_tests = [ | 19 var valid_ellipse_tests = [ |
| 20 { | 20 { |
| 21 "name": "No arguments", | 21 "name": "No arguments", |
| 22 "actual": "ellipse()", | 22 "actual": "ellipse()", |
| 23 "expected_inline": "ellipse(at 50% 50%)", | 23 "expected_inline": "ellipse(at 50% 50%)", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 42 "expected_computed": "ellipse(50px 50px at 50px 50px)" | 42 "expected_computed": "ellipse(50px 50px at 50px 50px)" |
| 43 } | 43 } |
| 44 ]; | 44 ]; |
| 45 generate_tests( ParsingUtils.testInlineStyle, | 45 generate_tests( ParsingUtils.testInlineStyle, |
| 46 ParsingUtils.buildTestCases(valid_ellipse_tests, "in
line") ); | 46 ParsingUtils.buildTestCases(valid_ellipse_tests, "in
line") ); |
| 47 generate_tests( ParsingUtils.testComputedStyle, | 47 generate_tests( ParsingUtils.testComputedStyle, |
| 48 ParsingUtils.buildTestCases(valid_ellipse_tests, "co
mputed") ); | 48 ParsingUtils.buildTestCases(valid_ellipse_tests, "co
mputed") ); |
| 49 </script> | 49 </script> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |