OLD | NEW |
1 This page tests CSSRule, NodeFilter, and Event. It tests: | 1 This page tests CSSRule, NodeFilter, and Event. It tests: |
2 | 2 |
3 Whether their global constructors have the correct constant values | 3 Whether their global constructors have the correct constant values |
4 Whether their objects have the correct constant values | 4 Whether their objects have the correct constant values, except NodeFilter |
5 PASS: cssRule.STYLE_RULE should be 1 and is. | 5 PASS: cssRule.STYLE_RULE should be 1 and is. |
6 PASS: cssRule.CHARSET_RULE should be 2 and is. | 6 PASS: cssRule.CHARSET_RULE should be 2 and is. |
7 PASS: cssRule.IMPORT_RULE should be 3 and is. | 7 PASS: cssRule.IMPORT_RULE should be 3 and is. |
8 PASS: cssRule.MEDIA_RULE should be 4 and is. | 8 PASS: cssRule.MEDIA_RULE should be 4 and is. |
9 PASS: cssRule.FONT_FACE_RULE should be 5 and is. | 9 PASS: cssRule.FONT_FACE_RULE should be 5 and is. |
10 PASS: cssRule.PAGE_RULE should be 6 and is. | 10 PASS: cssRule.PAGE_RULE should be 6 and is. |
11 PASS: window.CSSRule.STYLE_RULE should be 1 and is. | 11 PASS: window.CSSRule.STYLE_RULE should be 1 and is. |
12 PASS: window.CSSRule.CHARSET_RULE should be 2 and is. | 12 PASS: window.CSSRule.CHARSET_RULE should be 2 and is. |
13 PASS: window.CSSRule.IMPORT_RULE should be 3 and is. | 13 PASS: window.CSSRule.IMPORT_RULE should be 3 and is. |
14 PASS: window.CSSRule.MEDIA_RULE should be 4 and is. | 14 PASS: window.CSSRule.MEDIA_RULE should be 4 and is. |
15 PASS: window.CSSRule.FONT_FACE_RULE should be 5 and is. | 15 PASS: window.CSSRule.FONT_FACE_RULE should be 5 and is. |
16 PASS: window.CSSRule.PAGE_RULE should be 6 and is. | 16 PASS: window.CSSRule.PAGE_RULE should be 6 and is. |
17 PASS: nodeFilter.FILTER_ACCEPT should be 1 and is. | |
18 PASS: nodeFilter.FILTER_REJECT should be 2 and is. | |
19 PASS: nodeFilter.FILTER_SKIP should be 3 and is. | |
20 PASS: nodeFilter.SHOW_ALL should be 4294967295 and is. | |
21 PASS: nodeFilter.SHOW_ELEMENT should be 1 and is. | |
22 PASS: nodeFilter.SHOW_ATTRIBUTE should be 2 and is. | |
23 PASS: nodeFilter.SHOW_TEXT should be 4 and is. | |
24 PASS: nodeFilter.SHOW_CDATA_SECTION should be 8 and is. | |
25 PASS: nodeFilter.SHOW_ENTITY_REFERENCE should be 16 and is. | |
26 PASS: nodeFilter.SHOW_ENTITY should be 32 and is. | |
27 PASS: nodeFilter.SHOW_PROCESSING_INSTRUCTION should be 64 and is. | |
28 PASS: nodeFilter.SHOW_COMMENT should be 128 and is. | |
29 PASS: nodeFilter.SHOW_DOCUMENT should be 256 and is. | |
30 PASS: nodeFilter.SHOW_DOCUMENT_TYPE should be 512 and is. | |
31 PASS: nodeFilter.SHOW_DOCUMENT_FRAGMENT should be 1024 and is. | |
32 PASS: nodeFilter.SHOW_NOTATION should be 2048 and is. | |
33 PASS: window.NodeFilter.FILTER_ACCEPT should be 1 and is. | 17 PASS: window.NodeFilter.FILTER_ACCEPT should be 1 and is. |
34 PASS: window.NodeFilter.FILTER_REJECT should be 2 and is. | 18 PASS: window.NodeFilter.FILTER_REJECT should be 2 and is. |
35 PASS: window.NodeFilter.FILTER_SKIP should be 3 and is. | 19 PASS: window.NodeFilter.FILTER_SKIP should be 3 and is. |
36 PASS: window.NodeFilter.SHOW_ALL should be 4294967295 and is. | 20 PASS: window.NodeFilter.SHOW_ALL should be 4294967295 and is. |
37 PASS: window.NodeFilter.SHOW_ELEMENT should be 1 and is. | 21 PASS: window.NodeFilter.SHOW_ELEMENT should be 1 and is. |
38 PASS: window.NodeFilter.SHOW_ATTRIBUTE should be 2 and is. | 22 PASS: window.NodeFilter.SHOW_ATTRIBUTE should be 2 and is. |
39 PASS: window.NodeFilter.SHOW_TEXT should be 4 and is. | 23 PASS: window.NodeFilter.SHOW_TEXT should be 4 and is. |
40 PASS: window.NodeFilter.SHOW_CDATA_SECTION should be 8 and is. | 24 PASS: window.NodeFilter.SHOW_CDATA_SECTION should be 8 and is. |
41 PASS: window.NodeFilter.SHOW_ENTITY_REFERENCE should be 16 and is. | 25 PASS: window.NodeFilter.SHOW_ENTITY_REFERENCE should be 16 and is. |
42 PASS: window.NodeFilter.SHOW_ENTITY should be 32 and is. | 26 PASS: window.NodeFilter.SHOW_ENTITY should be 32 and is. |
43 PASS: window.NodeFilter.SHOW_PROCESSING_INSTRUCTION should be 64 and is. | 27 PASS: window.NodeFilter.SHOW_PROCESSING_INSTRUCTION should be 64 and is. |
44 PASS: window.NodeFilter.SHOW_COMMENT should be 128 and is. | 28 PASS: window.NodeFilter.SHOW_COMMENT should be 128 and is. |
45 PASS: window.NodeFilter.SHOW_DOCUMENT should be 256 and is. | 29 PASS: window.NodeFilter.SHOW_DOCUMENT should be 256 and is. |
46 PASS: window.NodeFilter.SHOW_DOCUMENT_TYPE should be 512 and is. | 30 PASS: window.NodeFilter.SHOW_DOCUMENT_TYPE should be 512 and is. |
47 PASS: window.NodeFilter.SHOW_DOCUMENT_FRAGMENT should be 1024 and is. | 31 PASS: window.NodeFilter.SHOW_DOCUMENT_FRAGMENT should be 1024 and is. |
48 PASS: window.NodeFilter.SHOW_NOTATION should be 2048 and is. | 32 PASS: window.NodeFilter.SHOW_NOTATION should be 2048 and is. |
49 PASS: event.NONE should be 0 and is. | 33 PASS: event.NONE should be 0 and is. |
50 PASS: event.CAPTURING_PHASE should be 1 and is. | 34 PASS: event.CAPTURING_PHASE should be 1 and is. |
51 PASS: event.AT_TARGET should be 2 and is. | 35 PASS: event.AT_TARGET should be 2 and is. |
52 PASS: event.BUBBLING_PHASE should be 3 and is. | 36 PASS: event.BUBBLING_PHASE should be 3 and is. |
53 PASS: window.Event.NONE should be 0 and is. | 37 PASS: window.Event.NONE should be 0 and is. |
54 PASS: window.Event.CAPTURING_PHASE should be 1 and is. | 38 PASS: window.Event.CAPTURING_PHASE should be 1 and is. |
55 PASS: window.Event.AT_TARGET should be 2 and is. | 39 PASS: window.Event.AT_TARGET should be 2 and is. |
56 PASS: window.Event.BUBBLING_PHASE should be 3 and is. | 40 PASS: window.Event.BUBBLING_PHASE should be 3 and is. |
OLD | NEW |