Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
|
esprehn
2014/06/12 00:36:44
ditto
| |
| 4 <script src="../../../resources/js-test.js"></script> | |
| 5 <style> | |
| 6 #initial { all: initial; } | |
| 7 #inherit { all: inherit; } | |
| 8 #invalid { all: green; } | |
| 9 #notOnlyInitial { all: initial; color: green; } | |
| 10 #notOnlyInherit { all: inherit; color: green; } | |
| 11 </style> | |
| 12 </head> | |
| 13 <body> | |
| 14 <div id="initial"></div> | |
| 15 <div id="inherit"></div> | |
| 16 <div id="invalid"></div> | |
| 17 <div id="notOnlyInitial"></div> | |
| 18 <div id="notOnlyInherit"></div> | |
| 19 <pre id="console"></pre> | |
| 20 </body> | |
| 21 <script> | |
| 22 description('Test calling getPropertyValue on computed styles for all shorthand property.'); | |
| 23 | |
| 24 shouldBeEqualToString('getComputedStyle(document.getElementById("initial")).all' , ""); | |
| 25 shouldBeEqualToString('getComputedStyle(document.getElementById("inherit")).all' , ""); | |
| 26 shouldBeEqualToString('getComputedStyle(document.getElementById("invalid")).all' , ""); | |
| 27 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInitial" )).all', ""); | |
| 28 shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInherit" )).all', ""); | |
| 29 </script> | |
| 30 </html> | |
| OLD | NEW |