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