| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Shape Margin - inherit</title> | 4 <title>Shape Margin - inherit</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="help" href="http://www.w3.org/TR/css-shapes-1/#shape-margin-p
roperty"> | 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-margin-p
roperty"> |
| 8 <meta name="assert" content="The shape-margin value is not inherited and
can be assigned the 'inherit' value."> | 8 <meta name="assert" content="The shape-margin value is not inherited and
can be assigned the 'inherit' value."> |
| 9 <meta name="flags" content="dom"> | 9 <meta name="flags" content="dom"> |
| 10 <script src="../../../../../resources/testharness.js"></script> | 10 <script src="../../../../../resources/testharness.js"></script> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 } | 36 } |
| 37 | 37 |
| 38 test(function() { | 38 test(function() { |
| 39 var results = setUpTest("10px", "inherit"); | 39 var results = setUpTest("10px", "inherit"); |
| 40 assert_equals(results[0], "inherit"); | 40 assert_equals(results[0], "inherit"); |
| 41 assert_equals(results[1], "10px"); | 41 assert_equals(results[1], "10px"); |
| 42 }, "shape-margin can be assigned 'inherit' value"); | 42 }, "shape-margin can be assigned 'inherit' value"); |
| 43 | 43 |
| 44 test(function() { | 44 test(function() { |
| 45 var results = setUpTest("5px", null); | 45 var results = setUpTest("5px", null); |
| 46 assert_equals(results[0], null); | 46 assert_equals(results[0], ""); |
| 47 assert_equals(results[1], "0px"); | 47 assert_equals(results[1], "0px"); |
| 48 }, "shape-margin is not inherited and defaults to 0px"); | 48 }, "shape-margin is not inherited and defaults to 0px"); |
| 49 | 49 |
| 50 test(function() { | 50 test(function() { |
| 51 var results = setUpTest("15px", "10px"); | 51 var results = setUpTest("15px", "10px"); |
| 52 assert_equals(results[0], "10px"); | 52 assert_equals(results[0], "10px"); |
| 53 assert_equals(results[1], "10px"); | 53 assert_equals(results[1], "10px"); |
| 54 }, "shape-margin is not inherited"); | 54 }, "shape-margin is not inherited"); |
| 55 | 55 |
| 56 </script> | 56 </script> |
| 57 </body> | 57 </body> |
| 58 </html> | 58 </html> |
| OLD | NEW |