OLD | NEW |
| (Empty) |
1 This tests the WebKitCSSRegionRule interface. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS WebKitCSSRegionRule exists on Window object | |
7 PASS WEBKIT_REGION_RULE exists on Window.CSSRule object | |
8 PASS window.CSSRule.WEBKIT_REGION_RULE is 16 | |
9 PASS regionRule1.type is window.CSSRule.WEBKIT_REGION_RULE | |
10 PASS regionRule1CSSRules.length is 2 | |
11 PASS regionRule1CSSRules.item(0).type is window.CSSRule.STYLE_RULE | |
12 PASS regionRule1CSSRules.item(0).cssText is '#p1 { background-color: green; }' | |
13 PASS regionRule1CSSRules.item(1).cssText is '#p2 { background-color: lime; }' | |
14 PASS regionRule2.type is window.CSSRule.WEBKIT_REGION_RULE | |
15 PASS regionRule2CSSRules.length is 1 | |
16 PASS regionRule2CSSRules.item(0).type is window.CSSRule.STYLE_RULE | |
17 PASS regionRule2CSSRules.item(0).cssText is 'p { background-color: blue; }' | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |