OLD | NEW |
1 Test at-rule parsing for @-webkit-filter. | 1 Test at-rule parsing for @-webkit-filter. |
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 | 6 |
7 ======================================== | 7 ======================================== |
8 Filter at-rule tests. | 8 Filter at-rule tests. |
9 ======================================== | 9 ======================================== |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 Empty rule, missing closing brace. | 49 Empty rule, missing closing brace. |
50 @-webkit-filter my-filter { | 50 @-webkit-filter my-filter { |
51 PASS cssRule.cssText is "@-webkit-filter my-filter { }" | 51 PASS cssRule.cssText is "@-webkit-filter my-filter { }" |
52 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE | 52 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE |
53 PASS cssRule instanceof WebKitCSSFilterRule is true | 53 PASS cssRule instanceof WebKitCSSFilterRule is true |
54 PASS cssRule.constructor === WebKitCSSFilterRule is true | 54 PASS cssRule.constructor === WebKitCSSFilterRule is true |
55 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true | 55 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true |
56 PASS declaration.length is 0 | 56 PASS declaration.length is 0 |
57 | 57 |
| 58 Empty rule, comment separators |
| 59 @-webkit-filter/**/my-filter/**/{ } |
| 60 PASS cssRule.cssText is "@-webkit-filter my-filter { }" |
| 61 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE |
| 62 PASS cssRule instanceof WebKitCSSFilterRule is true |
| 63 PASS cssRule.constructor === WebKitCSSFilterRule is true |
| 64 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true |
| 65 PASS declaration.length is 0 |
| 66 |
| 67 Empty rule, comment+space separators |
| 68 @-webkit-filter/**/ my-filter/**/ { } |
| 69 PASS cssRule.cssText is "@-webkit-filter my-filter { }" |
| 70 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE |
| 71 PASS cssRule instanceof WebKitCSSFilterRule is true |
| 72 PASS cssRule.constructor === WebKitCSSFilterRule is true |
| 73 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true |
| 74 PASS declaration.length is 0 |
| 75 |
| 76 Empty rule, space+comment separators |
| 77 @-webkit-filter /**/my-filter /**/{ } |
| 78 PASS cssRule.cssText is "@-webkit-filter my-filter { }" |
| 79 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE |
| 80 PASS cssRule instanceof WebKitCSSFilterRule is true |
| 81 PASS cssRule.constructor === WebKitCSSFilterRule is true |
| 82 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true |
| 83 PASS declaration.length is 0 |
| 84 |
| 85 Empty rule, space+comment+space separators |
| 86 @-webkit-filter /**/ my-filter /**/ { } |
| 87 PASS cssRule.cssText is "@-webkit-filter my-filter { }" |
| 88 PASS cssRule.type is CSSRule.WEBKIT_FILTER_RULE |
| 89 PASS cssRule instanceof WebKitCSSFilterRule is true |
| 90 PASS cssRule.constructor === WebKitCSSFilterRule is true |
| 91 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true |
| 92 PASS declaration.length is 0 |
| 93 |
58 ======================================== | 94 ======================================== |
59 Nested filter at-rule tests. | 95 Nested filter at-rule tests. |
60 ======================================== | 96 ======================================== |
61 | 97 |
62 Nested rule. | 98 Nested rule. |
63 @-webkit-filter parent-filter { @-webkit-filter child-filter { } } | 99 @-webkit-filter parent-filter { @-webkit-filter child-filter { } } |
64 PASS cssRule.cssText is "@-webkit-filter parent-filter { }" | 100 PASS cssRule.cssText is "@-webkit-filter parent-filter { }" |
65 PASS cssRule.type is 17 | 101 PASS cssRule.type is 17 |
66 PASS cssRule instanceof WebKitCSSFilterRule is true | 102 PASS cssRule instanceof WebKitCSSFilterRule is true |
67 PASS cssRule.constructor === WebKitCSSFilterRule is true | 103 PASS cssRule.constructor === WebKitCSSFilterRule is true |
(...skipping 24 matching lines...) Expand all Loading... |
92 PASS cssRule.__proto__ === CSSMediaRule.prototype is true | 128 PASS cssRule.__proto__ === CSSMediaRule.prototype is true |
93 PASS cssRule.cssText is "@-webkit-filter child-filter { }" | 129 PASS cssRule.cssText is "@-webkit-filter child-filter { }" |
94 PASS cssRule.type is 17 | 130 PASS cssRule.type is 17 |
95 PASS cssRule instanceof WebKitCSSFilterRule is true | 131 PASS cssRule instanceof WebKitCSSFilterRule is true |
96 PASS cssRule.constructor === WebKitCSSFilterRule is true | 132 PASS cssRule.constructor === WebKitCSSFilterRule is true |
97 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true | 133 PASS cssRule.__proto__ === WebKitCSSFilterRule.prototype is true |
98 PASS successfullyParsed is true | 134 PASS successfullyParsed is true |
99 | 135 |
100 TEST COMPLETE | 136 TEST COMPLETE |
101 | 137 |
OLD | NEW |