| This test checks that styles edited through inspector are correctly shown upon reattach. |
| |
| ==== Original: Matching rules for #test ==== |
| Dumping matched rules: |
| *#test* { regular |
| background-color: blue; |
| } |
| Dumping inherited rules: |
| |
| CSS.setStyleTexts(...) to existing stylesheet |
| ==== Style sheet text ==== |
| #test { |
| content: 'EDITED'; |
| } |
| |
| CSS.addRule(...) to new stylesheet |
| ==== Style sheet text ==== |
| #inspected, #test { height: 1 } |
| |
| |
| ==== Modified: Matching rules for #test ==== |
| Dumping matched rules: |
| *#test* { regular |
| content: 'EDITED'; |
| } |
| #inspected, *#test* { inspector |
| height: 1; |
| } |
| Dumping inherited rules: |
| |
| Disconnecting devtools |
| |
| Reattaching devtools |
| |
| ==== Reattached: Matching rules for #test ==== |
| Dumping matched rules: |
| *#test* { regular |
| content: 'EDITED'; |
| } |
| #inspected, *#test* { inspector |
| height: 1; |
| } |
| Dumping inherited rules: |
| |