| 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="../js/resources/js-test-pre.js"></script> | 
|    8 </head> |    8 </head> | 
|    9 <body> |    9 <body> | 
|   10  |   10  | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   44 // work, and be consistent with each other. |   44 // work, and be consistent with each other. | 
|   45  |   45  | 
|   46 debug("sheet"); |   46 debug("sheet"); | 
|   47  |   47  | 
|   48 link = document.getElementById("sheet"); |   48 link = document.getElementById("sheet"); | 
|   49 shouldBeNonNull("link.sheet"); |   49 shouldBeNonNull("link.sheet"); | 
|   50  |   50  | 
|   51 link.sheet.disabled = true; |   51 link.sheet.disabled = true; | 
|   52 shouldBeTrue("link.disabled"); |   52 shouldBeTrue("link.disabled"); | 
|   53 shouldBeTrue("link.sheet.disabled"); |   53 shouldBeTrue("link.sheet.disabled"); | 
|   54 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "none"); |   54 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "none soli
     d rgb(0, 0, 0)"); | 
|   55  |   55  | 
|   56 link.disabled = false; |   56 link.disabled = false; | 
|   57 shouldBeFalse("link.disabled"); |   57 shouldBeFalse("link.disabled"); | 
|   58 shouldBeFalse("link.sheet.disabled"); |   58 shouldBeFalse("link.sheet.disabled"); | 
|   59 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "line-thro
     ugh"); |   59 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "line-thro
     ugh"); | 
|   60  |   60  | 
|   61 link.sheet.disabled = false; |   61 link.sheet.disabled = false; | 
|   62  |   62  | 
|   63  |   63  | 
|   64 // An alternate stylesheet defaults to disabled when its title does not |   64 // An alternate stylesheet defaults to disabled when its title does not | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|   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 <script src="../js/resources/js-test-post.js"></script> |  101 <script src="../js/resources/js-test-post.js"></script> | 
|  102 </body></html> |  102 </body></html> | 
| OLD | NEW |