| OLD | NEW |
| (Empty) |
| 1 Tests that <style scoped> is correctly applied after DOM operations, i.e. insert
Before, appendChild, and removeChild. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Insert a new scoped style before an existing scoped style. | |
| 7 PASS window.getComputedStyle(target).backgroundColor is "rgb(255, 0, 0)" | |
| 8 Move an inserted scoped style after an existing scoped style. | |
| 9 PASS window.getComputedStyle(target).backgroundColor is "rgb(0, 0, 255)" | |
| 10 Move an inserted scoped style into grandparent of an existing scoped style. | |
| 11 PASS window.getComputedStyle(target).backgroundColor is "rgb(255, 0, 0)" | |
| 12 Remove an inserted scoped style. | |
| 13 PASS window.getComputedStyle(target).backgroundColor is "rgb(255, 0, 0)" | |
| 14 Remove an existing scoped style. | |
| 15 PASS window.getComputedStyle(target).backgroundColor is "rgb(0, 128, 0)" | |
| 16 PASS successfullyParsed is true | |
| 17 | |
| 18 TEST COMPLETE | |
| 19 Hello, World! | |
| OLD | NEW |