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