2 <script src=
"../../../resources/js-test.js"></script>
4 #initial { all: initial; }
5 #inherit { all: inherit; }
6 #invalid { all: green; }
7 #notOnlyInitial { all: initial; color: green; }
8 #notOnlyInherit { all: inherit; color: green; }
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>
16 description('Test calling getPropertyValue on computed styles for all shorthand property.');
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', "");