| OLD | NEW |
| (Empty) |
| 1 Tests that renaming a selector updates element styles. Bug 70018. | |
| 2 | |
| 3 Text | |
| 4 === Before selector modification === | |
| 5 [expanded] | |
| 6 element.style { () | |
| 7 color: red; | |
| 8 | |
| 9 [expanded] | |
| 10 #inspected { (commit-selector.html:4 -> commit-selector.html:4:1) | |
| 11 /-- overloaded --/ color: green; | |
| 12 | |
| 13 [expanded] | |
| 14 div { (user agent stylesheet) | |
| 15 display: block; | |
| 16 | |
| 17 === After non-affecting selector modification === | |
| 18 [expanded] | |
| 19 element.style { () | |
| 20 color: red; | |
| 21 | |
| 22 [expanded] | |
| 23 hr, #inspected { (commit-selector.html:4 -> commit-selector.html:4:5) | |
| 24 /-- overloaded --/ color: green; | |
| 25 | |
| 26 [expanded] | |
| 27 div { (user agent stylesheet) | |
| 28 display: block; | |
| 29 | |
| 30 === After affecting selector modification === | |
| 31 [expanded] | |
| 32 element.style { () | |
| 33 color: red; | |
| 34 | |
| 35 [expanded] [no-affect] | |
| 36 #inspectedChanged { (commit-selector.html:4 -> commit-selector.html:4:1) | |
| 37 color: green; | |
| 38 | |
| 39 [expanded] | |
| 40 div { (user agent stylesheet) | |
| 41 display: block; | |
| 42 | |
| 43 | |
| OLD | NEW |