OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <script> | 5 <script> |
6 if (window.testRunner) | 6 if (window.testRunner) |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 | 8 |
9 window.jsTestIsAsync = true; | 9 window.jsTestIsAsync = true; |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); | 39 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); |
40 | 40 |
41 el = document.getElementById("third"); | 41 el = document.getElementById("third"); |
42 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); | 42 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); |
43 | 43 |
44 el = document.getElementById("fourth"); | 44 el = document.getElementById("fourth"); |
45 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); | 45 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(0, 128, 0)'"); |
46 finishJSTest(); | 46 finishJSTest(); |
47 } | 47 } |
48 </script> | 48 </script> |
49 <script src="../js/resources/js-test-post.js"></script> | |
50 </body> | 49 </body> |
51 </html> | 50 </html> |
OLD | NEW |