| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Circle Position Arguments - positive/negative, deci
mal/non-decimal</title> | 4 <title>Shape Outside Circle Position Arguments - positive/negative, deci
mal/non-decimal</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-circle
"> | 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"> | 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-
property"> |
| 10 <meta name="assert" content="A circle's position arguments may be in sig
ned positive/negative or | 10 <meta name="assert" content="A circle's position arguments may be in sig
ned positive/negative or |
| 11 decimal/non-decimal format."> | 11 decimal/non-decimal format."> |
| 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_circle_radii_tests = [ | 20 var valid_circle_radii_tests = [ |
| 21 { | 21 { |
| 22 "actual": "circle(at +50px)", | 22 "actual": "circle(at +50px)", |
| 23 "expected_inline": "circle(at 50px 50%)", | 23 "expected_inline": "circle(at 50px 50%)", |
| 24 "expected_computed": "circle(at 50px 50%)" | 24 "expected_computed": "circle(at 50px 50%)" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 "expected_computed": "circle(at -50% 50%)" | 114 "expected_computed": "circle(at -50% 50%)" |
| 115 } | 115 } |
| 116 ]; | 116 ]; |
| 117 generate_tests( ParsingUtils.testInlineStyle, | 117 generate_tests( ParsingUtils.testInlineStyle, |
| 118 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'inline') ); | 118 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'inline') ); |
| 119 generate_tests( ParsingUtils.testComputedStyle, | 119 generate_tests( ParsingUtils.testComputedStyle, |
| 120 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'computed') ); | 120 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'computed') ); |
| 121 </script> | 121 </script> |
| 122 </body> | 122 </body> |
| 123 </html> | 123 </html> |
| OLD | NEW |