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="../../resources/js-test.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 |
11 </script> | 11 </script> |
12 | 12 |
13 <style> | 13 <style> |
14 div.class { background-color: red; } | 14 div.class { background-color: red; } |
(...skipping 26 matching lines...) Expand all Loading... |
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(255, 0, 0)'"); | 45 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('back
ground-color')", "'rgb(255, 0, 0)'"); |
46 finishJSTest(); | 46 finishJSTest(); |
47 } | 47 } |
48 </script> | 48 </script> |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |