OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <script src="../../../resources/js-test.js"></script> | |
3 <script> | |
4 | |
5 function checkResult() { | |
6 testPassed("Fired Load event."); | |
7 testStyle = window.getComputedStyle(document.getElementById("test"), null); | |
8 shouldBe('testStyle.color', '"rgb(0, 0, 0)"' /* black */); | |
9 finishJSTest(); | |
10 } | |
11 | |
12 description('This test checks that transition-existing-stylesheet link resources
are initially disabled.'); | |
13 | |
14 if (window.testRunner) { | |
15 testRunner.waitUntilDone(); | |
16 testRunner.dumpAsText(); | |
17 testRunner.dumpResourceResponseMIMETypes(); | |
18 } | |
19 | |
20 window.successfullyParsed = true; | |
21 window.jsTestIsAsync = true; | |
22 </script> | |
23 | |
24 <link id="testlink" rel="transition-exiting-stylesheet" href="resources/styleshe
et.css" onload="checkResult()"> | |
25 <h1 id="test"><!-- Test element --></h1> | |
OLD | NEW |