OLD | NEW |
1 Test that custom properties on rule style declarations are not lost after GC | 1 Test that custom properties on rule style declarations are not lost after GC |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE | 6 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE |
7 FAIL document.styleSheets[0].cssRules[0].media.foo should be bar (of type string
). Was undefined (of type undefined). | 7 FAIL document.styleSheets[0].cssRules[0].media.foo should be bar (of type string
). Was undefined (of type undefined). |
8 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE | 8 PASS document.styleSheets[0].cssRules[0].type is CSSRule.IMPORT_RULE |
9 FAIL document.styleSheets[0].cssRules[0].styleSheet.foo should be bar (of type s
tring). Was undefined (of type undefined). | 9 FAIL document.styleSheets[0].cssRules[0].styleSheet.foo should be bar (of type s
tring). Was undefined (of type undefined). |
10 PASS document.styleSheets[0].cssRules[1].type is CSSRule.STYLE_RULE | 10 PASS document.styleSheets[0].cssRules[1].type is CSSRule.STYLE_RULE |
11 FAIL document.styleSheets[0].cssRules[1].style.foo should be bar (of type string
). Was undefined (of type undefined). | 11 FAIL document.styleSheets[0].cssRules[1].style.foo should be bar (of type string
). Was undefined (of type undefined). |
12 PASS document.styleSheets[0].cssRules[2].type is CSSRule.FONT_FACE_RULE | 12 PASS document.styleSheets[0].cssRules[2].type is CSSRule.FONT_FACE_RULE |
13 FAIL document.styleSheets[0].cssRules[2].style.foo should be bar (of type string
). Was undefined (of type undefined). | 13 FAIL document.styleSheets[0].cssRules[2].style.foo should be bar (of type string
). Was undefined (of type undefined). |
14 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE | 14 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE |
15 FAIL document.styleSheets[0].cssRules[3].cssRules.foo should be bar (of type str
ing). Was undefined (of type undefined). | 15 FAIL document.styleSheets[0].cssRules[3].cssRules.foo should be bar (of type str
ing). Was undefined (of type undefined). |
16 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE | 16 PASS document.styleSheets[0].cssRules[3].type is CSSRule.MEDIA_RULE |
17 FAIL document.styleSheets[0].cssRules[3].media.foo should be bar (of type string
). Was undefined (of type undefined). | 17 FAIL document.styleSheets[0].cssRules[3].media.foo should be bar (of type string
). Was undefined (of type undefined). |
18 PASS document.styleSheets[0].cssRules[4].type is CSSRule.WEBKIT_KEYFRAMES_RULE | 18 PASS document.styleSheets[0].cssRules[4].type is CSSRule.KEYFRAMES_RULE |
19 FAIL document.styleSheets[0].cssRules[4].cssRules.foo should be bar (of type str
ing). Was undefined (of type undefined). | 19 FAIL document.styleSheets[0].cssRules[4].cssRules.foo should be bar (of type str
ing). Was undefined (of type undefined). |
20 PASS document.styleSheets[0].cssRules[4].cssRules[0].type is CSSRule.WEBKIT_KEYF
RAME_RULE | 20 PASS document.styleSheets[0].cssRules[4].cssRules[0].type is CSSRule.KEYFRAME_RU
LE |
21 FAIL document.styleSheets[0].cssRules[4].cssRules[0].style.foo should be bar (of
type string). Was undefined (of type undefined). | 21 FAIL document.styleSheets[0].cssRules[4].cssRules[0].style.foo should be bar (of
type string). Was undefined (of type undefined). |
22 PASS document.styleSheets[0].cssRules[5].type is CSSRule.PAGE_RULE | 22 PASS document.styleSheets[0].cssRules[5].type is CSSRule.PAGE_RULE |
23 FAIL document.styleSheets[0].cssRules[5].style.foo should be bar (of type string
). Was undefined (of type undefined). | 23 FAIL document.styleSheets[0].cssRules[5].style.foo should be bar (of type string
). Was undefined (of type undefined). |
24 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
25 | 25 |
26 TEST COMPLETE | 26 TEST COMPLETE |
27 | 27 |
OLD | NEW |