OLD | NEW |
| (Empty) |
1 Test the disabled property on a style element. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS styleElement.disabled is false | |
7 PASS window.getComputedStyle(testElement).color is "rgb(0, 128, 0)" | |
8 PASS styleElement.disabled is true | |
9 PASS window.getComputedStyle(testElement).color is "rgb(255, 0, 0)" | |
10 PASS styleElement.sheet.disabled is true | |
11 PASS styleElement.sheet.disabled is false | |
12 PASS styleElement.disabled is false | |
13 PASS window.getComputedStyle(testElement).color is "rgb(0, 128, 0)" | |
14 PASS newStyleElement.disabled is false | |
15 PASS newStyleElement.disabled is false | |
16 PASS otherStyle.disabled is false | |
17 PASS otherStyle.disabled is false | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |