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