| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Outside Inset Radial Args - positive/negative, decimal/non-
decimal</title> | 4 <title>Shape Outside Inset Radial Args - positive/negative, decimal/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-inset"
> | 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-inset"
> |
| 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="These tests verify that shape-outside inset
() radial component can be numbers that are in | 10 <meta name="assert" content="These tests verify that shape-outside inset
() radial component can be numbers that are in |
| 11 signed positive and/or decimal/non-decimal
form. Negative values are not allowed"> | 11 signed positive and/or decimal/non-decimal
form. Negative values are not allowed"> |
| 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_inset_radial_args_tests = [ | 20 var valid_inset_radial_args_tests = [ |
| 21 { | 21 { |
| 22 "actual": "inset(10px round +10px +20px +30px +40px)", | 22 "actual": "inset(10px round +10px +20px +30px +40px)", |
| 23 "expected_inline": "inset(10px round 10px 20px 30px 40px)", | 23 "expected_inline": "inset(10px round 10px 20px 30px 40px)", |
| 24 "expected_computed": "inset(10px round 10px 20px 30px 40px)" | 24 "expected_computed": "inset(10px round 10px 20px 30px 40px)" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 ]; | 72 ]; |
| 73 generate_tests( ParsingUtils.testInlineStyle, | 73 generate_tests( ParsingUtils.testInlineStyle, |
| 74 ParsingUtils.buildTestCases(valid_inset_radial_args_
tests, 'inline') ); | 74 ParsingUtils.buildTestCases(valid_inset_radial_args_
tests, 'inline') ); |
| 75 generate_tests( ParsingUtils.testComputedStyle, | 75 generate_tests( ParsingUtils.testComputedStyle, |
| 76 ParsingUtils.buildTestCases(valid_inset_radial_args_
tests, 'computed') ); | 76 ParsingUtils.buildTestCases(valid_inset_radial_args_
tests, 'computed') ); |
| 77 generate_tests( ParsingUtils.testInlineStyle, | 77 generate_tests( ParsingUtils.testInlineStyle, |
| 78 ParsingUtils.buildTestCases(invalid_radial_args_test
s) ); | 78 ParsingUtils.buildTestCases(invalid_radial_args_test
s) ); |
| 79 </script> | 79 </script> |
| 80 </body> | 80 </body> |
| 81 </html> | 81 </html> |
| OLD | NEW |