OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <link id="test" type="text/css" rel="stylesheet" href="resources/htmllink-disabl
e.css"/> | 5 <link id="test" type="text/css" rel="stylesheet" href="resources/htmllink-disabl
e.css"/> |
6 <link id="test_nostyle" type="text/css" rel="stylesheet" /> | 6 <link id="test_nostyle" type="text/css" rel="stylesheet" /> |
7 | 7 |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <script> | 10 <script> |
11 description('This test checks HTMLLinkElement disabled conforms to HTML5 spec fo
r the bug id #<a href="https://bugs.webkit.org/show_bug.cgi?id=45425">45425</a>
.'); | 11 description('This test checks HTMLLinkElement disabled conforms to HTML5 spec fo
r the bug id #<a href="https://bugs.webkit.org/show_bug.cgi?id=45425">45425</a>
.'); |
12 | 12 |
13 | 13 |
14 var test = document.getElementById('test'); | 14 var test = document.getElementById('test'); |
(...skipping 17 matching lines...) Expand all Loading... |
32 shouldBe('test_nostyle.disabled', 'false'); | 32 shouldBe('test_nostyle.disabled', 'false'); |
33 // setting it to true | 33 // setting it to true |
34 test_nostyle.disabled = true; | 34 test_nostyle.disabled = true; |
35 // should do nothing on setting. | 35 // should do nothing on setting. |
36 shouldBe('test_nostyle.disabled', 'false'); | 36 shouldBe('test_nostyle.disabled', 'false'); |
37 | 37 |
38 | 38 |
39 </script> | 39 </script> |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |