| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Circle Radii - positive/negative, decimal/non-decim
al</title> | 4 <title>Shape Outside Circle Radii - positive/negative, decimal/non-decim
al</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 radius may be in signed positive
or decimal/non-decimal format. Negative | 10 <meta name="assert" content="A circle's radius may be in signed positive
or decimal/non-decimal format. Negative |
| 11 radii are invalid."> | 11 radii are invalid."> |
| 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(+10px)", | 22 "actual": "circle(+10px)", |
| 23 "expected_inline": "circle(10px at 50% 50%)", | 23 "expected_inline": "circle(10px at 50% 50%)", |
| 24 "expected_computed": "circle(10px at 50% 50%)" | 24 "expected_computed": "circle(10px at 50% 50%)" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 ]; | 65 ]; |
| 66 generate_tests( ParsingUtils.testInlineStyle, | 66 generate_tests( ParsingUtils.testInlineStyle, |
| 67 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'inline') ); | 67 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'inline') ); |
| 68 generate_tests( ParsingUtils.testComputedStyle, | 68 generate_tests( ParsingUtils.testComputedStyle, |
| 69 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'computed') ); | 69 ParsingUtils.buildTestCases(valid_circle_radii_tests
, 'computed') ); |
| 70 generate_tests( ParsingUtils.testInlineStyle, | 70 generate_tests( ParsingUtils.testInlineStyle, |
| 71 ParsingUtils.buildTestCases(invalid_circle_radii_tes
ts) ); | 71 ParsingUtils.buildTestCases(invalid_circle_radii_tes
ts) ); |
| 72 </script> | 72 </script> |
| 73 </body> | 73 </body> |
| 74 </html> | 74 </html> |
| OLD | NEW |