OLD | NEW |
1 Tests that adding a new rule works after sitching nodes. | 1 Tests that adding a new rule works after switching nodes. |
2 | 2 |
3 Text | 3 Text |
4 After adding new rule (inspected): | 4 After adding new rule (inspected): |
5 [expanded] element.style { () | 5 [expanded] element.style { () |
6 font-size: 12px; | 6 font-size: 12px; |
7 | 7 |
8 ======== Matched CSS Rules ======== | 8 ======== Matched CSS Rules ======== |
9 [expanded] #inspected { (via inspector) | 9 [expanded] #inspected { (via inspector) |
| 10 color: maroon; |
10 | 11 |
11 [expanded] div { (user agent stylesheet) | 12 [expanded] div { (user agent stylesheet) |
12 display: block; | 13 display: block; |
13 | 14 |
14 | 15 |
15 After adding new rule (other): | 16 After adding new rule (other): |
16 [expanded] element.style { () | 17 [expanded] element.style { () |
17 color: red; | 18 color: red; |
18 | 19 |
19 ======== Matched CSS Rules ======== | 20 ======== Matched CSS Rules ======== |
20 [expanded] #other { (via inspector) | 21 [expanded] #other { (via inspector) |
21 | 22 |
22 [expanded] div { (user agent stylesheet) | 23 [expanded] div { (user agent stylesheet) |
23 display: block; | 24 display: block; |
24 | 25 |
25 | 26 |
26 | 27 |
OLD | NEW |