OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/js-test.js"></script> |
| 3 <style> |
| 4 #initial { all: initial; } |
| 5 #inherit { all: inherit; } |
| 6 #invalid { all: green; } |
| 7 #notOnlyInitial { all: initial; color: green; } |
| 8 #notOnlyInherit { all: inherit; color: green; } |
| 9 </style> |
| 10 <div id="initial"></div> |
| 11 <div id="inherit"></div> |
| 12 <div id="invalid"></div> |
| 13 <div id="notOnlyInitial"></div> |
| 14 <div id="notOnlyInherit"></div> |
| 15 <script> |
| 16 description('Test calling getPropertyValue on computed styles for all shorthand
property.'); |
| 17 |
| 18 shouldBeEqualToString('getComputedStyle(document.getElementById("initial")).all'
, ""); |
| 19 shouldBeEqualToString('getComputedStyle(document.getElementById("inherit")).all'
, ""); |
| 20 shouldBeEqualToString('getComputedStyle(document.getElementById("invalid")).all'
, ""); |
| 21 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInitial"
)).all', ""); |
| 22 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInherit"
)).all', ""); |
| 23 </script> |
OLD | NEW |