| OLD | NEW |
| (Empty) |
| 1 Test a case whether order of scoping nodes is different from order of style elem
ents. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS document.styleSheets.length is 4 | |
| 7 PASS document.styleSheets[1].cssRules[0].cssText is "span { color: green; }" | |
| 8 PASS document.styleSheets[2].cssRules[0].cssText is "span { color: grey; }" | |
| 9 PASS document.styleSheets[3].cssRules[0].cssText is "span { border: 1px solid gr
een; }" | |
| 10 FAIL borderColor("target") should be rgb(0, 128, 0). Was rgb(128, 128, 128). | |
| 11 PASS successfullyParsed is true | |
| 12 | |
| 13 TEST COMPLETE | |
| 14 | |
| OLD | NEW |