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