| 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:1) |
| 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:1) |
| 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 | |
| 20 ===== Style sheet text: ===== | 19 ===== Style sheet text: ===== |
| 21 div.foo {} | 20 div.foo {} |
| 22 | 21 |
| 23 div.foo {} | 22 div.foo {} |
| 24 ============================= | 23 ============================= |
| 25 After undo: | 24 After undo: |
| 26 [expanded] | 25 [expanded] |
| 27 element.style { () | 26 element.style { () |
| 28 color: red; | 27 color: red; |
| 29 | 28 |
| 30 [expanded] | 29 [expanded] |
| 31 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | 30 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) |
| 32 | 31 |
| 33 [expanded] | 32 [expanded] |
| 34 div { (user agent stylesheet) | 33 div { (user agent stylesheet) |
| 35 display: block; | 34 display: block; |
| 36 | 35 |
| 37 | |
| 38 ===== Style sheet text: ===== | 36 ===== Style sheet text: ===== |
| 39 div.foo {} | 37 div.foo {} |
| 40 ============================= | 38 ============================= |
| 41 After redo: | 39 After redo: |
| 42 [expanded] | 40 [expanded] |
| 43 element.style { () | 41 element.style { () |
| 44 font-size: 12px; | 42 font-size: 12px; |
| 45 | 43 |
| 46 [expanded] | 44 [expanded] |
| 47 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1) | 45 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1) |
| 48 | 46 |
| 49 [expanded] | 47 [expanded] |
| 50 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | 48 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) |
| 51 | 49 |
| 52 [expanded] | 50 [expanded] |
| 53 div { (user agent stylesheet) | 51 div { (user agent stylesheet) |
| 54 display: block; | 52 display: block; |
| 55 | 53 |
| 56 | |
| 57 ===== Style sheet text: ===== | 54 ===== Style sheet text: ===== |
| 58 div.foo {} | 55 div.foo {} |
| 59 | 56 |
| 60 div.foo {} | 57 div.foo {} |
| 61 ============================= | 58 ============================= |
| 62 | 59 |
| OLD | NEW |