1 This page tests CSSRule, NodeFilter, and Event. It tests:
3 Whether their global constructors have the correct constant values
4 Whether their objects have the correct constant values
5 PASS: cssRule.STYLE_RULE should be 1 and is.
6 PASS: cssRule.CHARSET_RULE should be 2 and is.
7 PASS: cssRule.IMPORT_RULE should be 3 and is.
8 PASS: cssRule.MEDIA_RULE should be 4 and is.
9 PASS: cssRule.FONT_FACE_RULE should be 5 and is.
10 PASS: cssRule.PAGE_RULE should be 6 and is.
11 PASS: window.CSSRule.STYLE_RULE should be 1 and is.
12 PASS: window.CSSRule.CHARSET_RULE should be 2 and is.
13 PASS: window.CSSRule.IMPORT_RULE should be 3 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.
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.
34 PASS: window.NodeFilter.FILTER_REJECT should be 2 and is.
35 PASS: window.NodeFilter.FILTER_SKIP should be 3 and is.
36 PASS: window.NodeFilter.SHOW_ALL should be 4294967295 and is.
37 PASS: window.NodeFilter.SHOW_ELEMENT should be 1 and is.
38 PASS: window.NodeFilter.SHOW_ATTRIBUTE should be 2 and is.
39 PASS: window.NodeFilter.SHOW_TEXT should be 4 and is.
40 PASS: window.NodeFilter.SHOW_CDATA_SECTION should be 8 and is.
41 PASS: window.NodeFilter.SHOW_ENTITY_REFERENCE should be 16 and is.
42 PASS: window.NodeFilter.SHOW_ENTITY should be 32 and is.
43 PASS: window.NodeFilter.SHOW_PROCESSING_INSTRUCTION should be 64 and is.
44 PASS: window.NodeFilter.SHOW_COMMENT should be 128 and is.
45 PASS: window.NodeFilter.SHOW_DOCUMENT should be 256 and is.
46 PASS: window.NodeFilter.SHOW_DOCUMENT_TYPE should be 512 and is.
47 PASS: window.NodeFilter.SHOW_DOCUMENT_FRAGMENT should be 1024 and is.
48 PASS: window.NodeFilter.SHOW_NOTATION should be 2048 and is.
49 PASS: event.NONE should be 0 and is.
50 PASS: event.CAPTURING_PHASE should be 1 and is.
51 PASS: event.AT_TARGET should be 2 and is.
52 PASS: event.BUBBLING_PHASE should be 3 and is.
53 PASS: event.MOUSEDOWN should be 1 and is.
54 PASS: event.MOUSEUP should be 2 and is.
55 PASS: event.MOUSEOVER should be 4 and is.
56 PASS: event.MOUSEOUT should be 8 and is.
57 PASS: event.MOUSEMOVE should be 16 and is.
58 PASS: event.MOUSEDRAG should be 32 and is.
59 PASS: event.CLICK should be 64 and is.
60 PASS: event.DBLCLICK should be 128 and is.
61 PASS: event.KEYDOWN should be 256 and is.
62 PASS: event.KEYUP should be 512 and is.
63 PASS: event.KEYPRESS should be 1024 and is.
64 PASS: event.DRAGDROP should be 2048 and is.
65 PASS: event.FOCUS should be 4096 and is.
66 PASS: event.BLUR should be 8192 and is.
67 PASS: event.SELECT should be 16384 and is.
68 PASS: event.CHANGE should be 32768 and is.
69 PASS: window.Event.NONE should be 0 and is.
70 PASS: window.Event.CAPTURING_PHASE should be 1 and is.
71 PASS: window.Event.AT_TARGET should be 2 and is.
72 PASS: window.Event.BUBBLING_PHASE should be 3 and is.
73 PASS: window.Event.MOUSEDOWN should be 1 and is.
74 PASS: window.Event.MOUSEUP should be 2 and is.
75 PASS: window.Event.MOUSEOVER should be 4 and is.
76 PASS: window.Event.MOUSEOUT should be 8 and is.
77 PASS: window.Event.MOUSEMOVE should be 16 and is.
78 PASS: window.Event.MOUSEDRAG should be 32 and is.
79 PASS: window.Event.CLICK should be 64 and is.
80 PASS: window.Event.DBLCLICK should be 128 and is.
81 PASS: window.Event.KEYDOWN should be 256 and is.
82 PASS: window.Event.KEYUP should be 512 and is.
83 PASS: window.Event.KEYPRESS should be 1024 and is.
84 PASS: window.Event.DRAGDROP should be 2048 and is.
85 PASS: window.Event.FOCUS should be 4096 and is.
86 PASS: window.Event.BLUR should be 8192 and is.
87 PASS: window.Event.SELECT should be 16384 and is.
88 PASS: window.Event.CHANGE should be 32768 and is.