| 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:1) |
| 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 | |
| 18 === After non-affecting selector modification === | 17 === After non-affecting selector modification === |
| 19 [expanded] | 18 [expanded] |
| 20 element.style { () | 19 element.style { () |
| 21 color: red; | 20 color: red; |
| 22 | 21 |
| 23 [expanded] | 22 [expanded] |
| 24 hr, #inspected { (commit-selector.html:4 -> commit-selector.html:4:5) | 23 hr, #inspected { (commit-selector.html:4 -> commit-selector.html:4:5) |
| 25 /-- overloaded --/ color: green; | 24 /-- overloaded --/ color: green; |
| 26 | 25 |
| 27 [expanded] | 26 [expanded] |
| 28 div { (user agent stylesheet) | 27 div { (user agent stylesheet) |
| 29 display: block; | 28 display: block; |
| 30 | 29 |
| 31 | |
| 32 === After affecting selector modification === | 30 === After affecting selector modification === |
| 33 [expanded] | 31 [expanded] |
| 34 element.style { () | 32 element.style { () |
| 35 color: red; | 33 color: red; |
| 36 | 34 |
| 37 [expanded] [no-affect] | 35 [expanded] [no-affect] |
| 38 #inspectedChanged { (commit-selector.html:4 -> commit-selector.html:4:1) | 36 #inspectedChanged { (commit-selector.html:4 -> commit-selector.html:4:1) |
| 39 color: green; | 37 color: green; |
| 40 | 38 |
| 41 [expanded] | 39 [expanded] |
| 42 div { (user agent stylesheet) | 40 div { (user agent stylesheet) |
| 43 display: block; | 41 display: block; |
| 44 | 42 |
| 45 | 43 |
| 46 | |
| OLD | NEW |