| 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 <link id="sheet" rel="stylesheet" href="data:tex/css,#test-element{text-decorati
on:line-through}"> | 4 <link id="sheet" rel="stylesheet" href="data:tex/css,#test-element{text-decorati
on:line-through}"> |
| 5 <link id="notsheet" rel="author" href="mailto:nosuch@webkit.org"> | 5 <link id="notsheet" rel="author" href="mailto:nosuch@webkit.org"> |
| 6 <link id="alt" rel="alternate stylesheet" title="altset" href="resources/green.c
ss"> | 6 <link id="alt" rel="alternate stylesheet" title="altset" href="resources/green.c
ss"> |
| 7 <script src="../js/resources/js-test-pre.js"></script> | 7 <script src="../../resources/js-test.js"></script> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 | 10 |
| 11 <span id="test-element"></span> | 11 <span id="test-element"></span> |
| 12 | 12 |
| 13 <script> | 13 <script> |
| 14 | 14 |
| 15 description("Series of tests to validate behavior of getting/setting link.disabl
ed and link.sheet.disabled.<br>" + | 15 description("Series of tests to validate behavior of getting/setting link.disabl
ed and link.sheet.disabled.<br>" + |
| 16 'Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=61400
">61400</a>: REGRESSION(84329): Stylesheets on some pages do not load'); | 16 'Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=61400
">61400</a>: REGRESSION(84329): Stylesheets on some pages do not load'); |
| 17 | 17 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 shouldBe("getComputedStyle(testElement).backgroundColor", "originalBG"); | 92 shouldBe("getComputedStyle(testElement).backgroundColor", "originalBG"); |
| 93 | 93 |
| 94 finishJSTest(); | 94 finishJSTest(); |
| 95 } | 95 } |
| 96 | 96 |
| 97 link.disabled = false; | 97 link.disabled = false; |
| 98 onSheetLoaded(altSheetLoaded, link, 500); | 98 onSheetLoaded(altSheetLoaded, link, 500); |
| 99 | 99 |
| 100 </script> | 100 </script> |
| 101 </body></html> | 101 </body></html> |
| OLD | NEW |