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 <pre id="console"></pre> | |
rune
2014/06/13 13:32:53
This element is not required.
tasak
2014/06/16 07:07:28
Done.
| |
16 <script> | |
17 description('Test calling getPropertyValue on computed styles for all shorthand property.'); | |
18 | |
19 shouldBeEqualToString('getComputedStyle(document.getElementById("initial")).all' , ""); | |
20 shouldBeEqualToString('getComputedStyle(document.getElementById("inherit")).all' , ""); | |
21 shouldBeEqualToString('getComputedStyle(document.getElementById("invalid")).all' , ""); | |
22 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInitial" )).all', ""); | |
23 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInherit" )).all', ""); | |
24 </script> | |
OLD | NEW |