| OLD | NEW |
| (Empty) |
| 1 Tests that adding a new rule can be undone. | |
| 2 | |
| 3 Text | |
| 4 After adding new rule: | |
| 5 [expanded] | |
| 6 element.style { () | |
| 7 font-size: 12px; | |
| 8 | |
| 9 [expanded] | |
| 10 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1) | |
| 11 | |
| 12 [expanded] | |
| 13 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | |
| 14 | |
| 15 [expanded] | |
| 16 div { (user agent stylesheet) | |
| 17 display: block; | |
| 18 | |
| 19 ===== Style sheet text: ===== | |
| 20 div.foo {} | |
| 21 | |
| 22 div.foo {} | |
| 23 ============================= | |
| 24 After undo: | |
| 25 [expanded] | |
| 26 element.style { () | |
| 27 color: red; | |
| 28 | |
| 29 [expanded] | |
| 30 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | |
| 31 | |
| 32 [expanded] | |
| 33 div { (user agent stylesheet) | |
| 34 display: block; | |
| 35 | |
| 36 ===== Style sheet text: ===== | |
| 37 div.foo {} | |
| 38 ============================= | |
| 39 After redo: | |
| 40 [expanded] | |
| 41 element.style { () | |
| 42 font-size: 12px; | |
| 43 | |
| 44 [expanded] | |
| 45 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1) | |
| 46 | |
| 47 [expanded] | |
| 48 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | |
| 49 | |
| 50 [expanded] | |
| 51 div { (user agent stylesheet) | |
| 52 display: block; | |
| 53 | |
| 54 ===== Style sheet text: ===== | |
| 55 div.foo {} | |
| 56 | |
| 57 div.foo {} | |
| 58 ============================= | |
| 59 | |
| OLD | NEW |