| 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> |
| 11 <script src="../../../../../resources/testharnessreport.js"></script> | 11 <script src="/resources/testharnessreport.js"></script> |
| 12 <script src="support/parsing-utils.js"></script> | 12 <script src="support/parsing-utils.js"></script> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <div id="log"></div> | 15 <div id="log"></div> |
| 16 <script type="text/javascript"> | 16 <script type="text/javascript"> |
| 17 | 17 |
| 18 function setUpTest(parentValue, childValue) { | 18 function setUpTest(parentValue, childValue) { |
| 19 var outer = document.createElement("div"); | 19 var outer = document.createElement("div"); |
| 20 var inner = document.createElement("div"); | 20 var inner = document.createElement("div"); |
| 21 outer.appendChild(inner); | 21 outer.appendChild(inner); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 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 |