| OLD | NEW |
| 1 Tests that different types of inline styles are correctly disambiguated and thei
r sourceURL is correct. | 1 Tests that different types of inline styles are correctly disambiguated and thei
r sourceURL is correct. |
| 2 | 2 |
| 3 Stylesheet added: | 3 Stylesheet added: |
| 4 - isInline: true | 4 - isInline: true |
| 5 - sourceURL: dynamic-style-tag.html | 5 - sourceURL: dynamic-style-tag.html |
| 6 - hasSourceURL: false | 6 - hasSourceURL: false |
| 7 - contents: | 7 - contents: |
| 8 /* comment */.inline-style-added-by-parser { | 8 /* comment */.inline-style-added-by-parser { |
| 9 color: red; | 9 color: red; |
| 10 } | 10 } |
| 11 | 11 |
| 12 Stylesheet added: | 12 Stylesheet added: |
| 13 - isInline: true | 13 - isInline: true |
| 14 - sourceURL: inlineStyleAddedByParser.css | 14 - sourceURL: inlineStyleAddedByParser.css |
| 15 - hasSourceURL: true | 15 - hasSourceURL: true |
| 16 - contents: | 16 - contents: |
| 17 .inline-style-added-by-parser-with-source-url { | 17 .inline-style-added-by-parser-with-source-url { |
| 18 color: green; | 18 color: green; |
| 19 } | 19 } |
| 20 /*@ sourceURL=inlineStyleAddedByParser.css*/ | 20 /*# sourceURL=inlineStyleAddedByParser.css*/ |
| 21 | 21 |
| 22 Stylesheet added: | 22 Stylesheet added: |
| 23 - isInline: false | 23 - isInline: false |
| 24 - sourceURL: | 24 - sourceURL: |
| 25 - hasSourceURL: false | 25 - hasSourceURL: false |
| 26 - contents: | 26 - contents: |
| 27 .inline-style-added-by-parser-in-document-write { | 27 .inline-style-added-by-parser-in-document-write { |
| 28 color: blue; | 28 color: blue; |
| 29 } | 29 } |
| 30 | 30 |
| 31 Stylesheet added: | 31 Stylesheet added: |
| 32 - isInline: false | 32 - isInline: false |
| 33 - sourceURL: inlineStyleAddedByDocumentWrite.css | 33 - sourceURL: inlineStyleAddedByDocumentWrite.css |
| 34 - hasSourceURL: true | 34 - hasSourceURL: true |
| 35 - contents: | 35 - contents: |
| 36 .inline-style-added-by-document-write-with-source-url { | 36 .inline-style-added-by-document-write-with-source-url { |
| 37 color: yellow; | 37 color: yellow; |
| 38 } | 38 } |
| 39 /*@ sourceURL=inlineStyleAddedByDocumentWrite.css*/ | 39 /*# sourceURL=inlineStyleAddedByDocumentWrite.css*/ |
| 40 | 40 |
| 41 Stylesheet added: | 41 Stylesheet added: |
| 42 - isInline: false | 42 - isInline: false |
| 43 - sourceURL: | 43 - sourceURL: |
| 44 - hasSourceURL: false | 44 - hasSourceURL: false |
| 45 - contents: .inline-style-created-by-script { | 45 - contents: .inline-style-created-by-script { |
| 46 color: orange; | 46 color: orange; |
| 47 } | 47 } |
| 48 Stylesheet added: | 48 Stylesheet added: |
| 49 - isInline: false | 49 - isInline: false |
| 50 - sourceURL: inlineStyleCreatedByScript.css | 50 - sourceURL: inlineStyleCreatedByScript.css |
| 51 - hasSourceURL: true | 51 - hasSourceURL: true |
| 52 - contents: .inline-style-created-by-script-with-source-url { | 52 - contents: .inline-style-created-by-script-with-source-url { |
| 53 color: grey; | 53 color: grey; |
| 54 } | 54 } |
| 55 /*@ sourceURL=inlineStyleCreatedByScript.css*/ | 55 /*# sourceURL=inlineStyleCreatedByScript.css*/ |
| 56 Page reloaded. | 56 Page reloaded. |
| 57 [expanded] | 57 [expanded] |
| 58 element.style { () | 58 element.style { () |
| 59 color: red; | 59 color: red; |
| 60 | 60 |
| 61 ======== Matched CSS Rules ======== | 61 ======== Matched CSS Rules ======== |
| 62 [expanded] | 62 [expanded] |
| 63 .inline-style-created-by-script-with-source-url { (inlineStyleCreatedByScript.c
ss:1 -> inlineStyleCreatedByScript.css:1:1) | 63 .inline-style-created-by-script-with-source-url { (inlineStyleCreatedByScript.c
ss:1 -> inlineStyleCreatedByScript.css:1:1) |
| 64 /-- overloaded --/ color: grey; | 64 /-- overloaded --/ color: grey; |
| 65 | 65 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 82 [expanded] | 82 [expanded] |
| 83 .inline-style-added-by-parser { (dynamic-style-tag.html:6 -> dynamic-style-tag.
html:6:14) | 83 .inline-style-added-by-parser { (dynamic-style-tag.html:6 -> dynamic-style-tag.
html:6:14) |
| 84 /-- overloaded --/ color: red; | 84 /-- overloaded --/ color: red; |
| 85 | 85 |
| 86 [expanded] | 86 [expanded] |
| 87 div { (user agent stylesheet) | 87 div { (user agent stylesheet) |
| 88 display: block; | 88 display: block; |
| 89 | 89 |
| 90 | 90 |
| 91 | 91 |
| OLD | NEW |