| OLD | NEW |
| 1 This test checks that styles edited through inspector are correctly shown upon r
eattach. | 1 This test checks that styles edited through inspector are correctly shown upon r
eattach. |
| 2 | 2 |
| 3 Opening front-end for the first time | 3 Opening front-end for the first time |
| 4 Dump initial styles: | 4 Dump initial styles: |
| 5 [expanded] | 5 [expanded] |
| 6 element.style { () | 6 element.style { () |
| 7 | 7 |
| 8 [expanded] | 8 [expanded] |
| 9 #testDiv { (reattach-after-…-styles.html:7 -> reattach-after-editing-styles.html
:7:1) | 9 #testDiv { (reattach-after-…-styles.html:7 -> reattach-after-editing-styles.html
:7:11) |
| 10 font-family: arial; | 10 font-family: arial; |
| 11 | 11 |
| 12 [expanded] | 12 [expanded] |
| 13 #testDiv { (style.css:1 -> style.css:1:1) | 13 #testDiv { (style.css:1 -> style.css:1:11) |
| 14 color: red; | 14 color: red; |
| 15 | 15 |
| 16 [expanded] | 16 [expanded] |
| 17 div { (user agent stylesheet) | 17 div { (user agent stylesheet) |
| 18 display: block; | 18 display: block; |
| 19 | 19 |
| 20 Dump styles after editing: | 20 Dump styles after editing: |
| 21 [expanded] | 21 [expanded] |
| 22 element.style { () | 22 element.style { () |
| 23 | 23 |
| 24 [expanded] | 24 [expanded] |
| 25 #testDiv, my-custom-tag { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | 25 #testDiv, my-custom-tag { (inspector-stylesheet:1 -> inspector-stylesheet:1:26) |
| 26 | 26 |
| 27 [expanded] | 27 [expanded] |
| 28 #testDiv { (reattach-after-…-styles.html:7 -> reattach-after-editing-styles.html
:7:1) | 28 #testDiv { (reattach-after-…-styles.html:7 -> reattach-after-editing-styles.html
:7:11) |
| 29 font-family: Helvetica; | 29 font-family: Helvetica; |
| 30 | 30 |
| 31 [expanded] | 31 [expanded] |
| 32 #testDiv { (style.css:1 -> style.css:1:1) | 32 #testDiv { (style.css:1 -> style.css:1:11) |
| 33 color: green; | 33 color: green; |
| 34 | 34 |
| 35 [expanded] | 35 [expanded] |
| 36 div { (user agent stylesheet) | 36 div { (user agent stylesheet) |
| 37 display: block; | 37 display: block; |
| 38 | 38 |
| 39 Opening front-end second time | 39 Opening front-end second time |
| 40 Dump styles after inspector was reopened: | 40 Dump styles after inspector was reopened: |
| 41 [expanded] | 41 [expanded] |
| 42 element.style { () | 42 element.style { () |
| 43 | 43 |
| 44 [expanded] | 44 [expanded] |
| 45 #testDiv, my-custom-tag { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) | 45 #testDiv, my-custom-tag { (inspector-stylesheet:1 -> inspector-stylesheet:1:26) |
| 46 | 46 |
| 47 [expanded] | 47 [expanded] |
| 48 #testDiv { (reattach-after-…-styles.html:7 -> reattach-after-editing-styles.html
:7:1) | 48 #testDiv { (reattach-after-…-styles.html:7 -> reattach-after-editing-styles.html
:7:11) |
| 49 font-family: Helvetica; | 49 font-family: Helvetica; |
| 50 | 50 |
| 51 [expanded] | 51 [expanded] |
| 52 #testDiv { (style.css:1 -> style.css:1:1) | 52 #testDiv { (style.css:1 -> style.css:1:11) |
| 53 color: green; | 53 color: green; |
| 54 | 54 |
| 55 [expanded] | 55 [expanded] |
| 56 div { (user agent stylesheet) | 56 div { (user agent stylesheet) |
| 57 display: block; | 57 display: block; |
| 58 | 58 |
| 59 | 59 |
| OLD | NEW |