Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Element-matches-expected.txt

Issue 2696083004: Do not commit: Remove testharness.js test results that are all-PASS, ignoring console output (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 PASS Selectors-API Level 2 Test Suite: HTML with Selectors Level 3
3 PASS Detached Element supports matches
4 PASS In-document Element supports matches
5 PASS DIV Element.matches(null)
6 PASS DIV Element.matches(undefined)
7 PASS DIV Element.matches no parameter
8 PASS NULL Element.matches(null)
9 PASS NULL Element.matches(undefined)
10 PASS NULL Element.matches no parameter
11 PASS UNDEFINED Element.matches(null)
12 PASS UNDEFINED Element.matches(undefined)
13 PASS UNDEFINED Element.matches no parameter
14 PASS Detached Element.matches: Empty String:
15 PASS Detached Element.matches: Invalid character: [
16 PASS Detached Element.matches: Invalid character: ]
17 PASS Detached Element.matches: Invalid character: (
18 PASS Detached Element.matches: Invalid character: )
19 PASS Detached Element.matches: Invalid character: {
20 PASS Detached Element.matches: Invalid character: }
21 PASS Detached Element.matches: Invalid character: <
22 PASS Detached Element.matches: Invalid character: >
23 PASS Detached Element.matches: Invalid ID: #
24 PASS Detached Element.matches: Invalid group of selectors: div,
25 PASS Detached Element.matches: Invalid class: .
26 PASS Detached Element.matches: Invalid class: .5cm
27 PASS Detached Element.matches: Invalid class: ..test
28 PASS Detached Element.matches: Invalid class: .foo..quux
29 PASS Detached Element.matches: Invalid class: .bar.
30 PASS Detached Element.matches: Invalid combinator: div & address, p
31 PASS Detached Element.matches: Invalid combinator: div ++ address, p
32 PASS Detached Element.matches: Invalid combinator: div ~~ address, p
33 PASS Detached Element.matches: Invalid [att=value] selector: [*=test]
34 PASS Detached Element.matches: Invalid [att=value] selector: [*|*=test]
35 PASS Detached Element.matches: Invalid [att=value] selector: [class= space unquo ted ]
36 PASS Detached Element.matches: Unknown pseudo-class: div:example
37 PASS Detached Element.matches: Unknown pseudo-class: :example
38 PASS Detached Element.matches: Unknown pseudo-element: div::example
39 PASS Detached Element.matches: Unknown pseudo-element: ::example
40 PASS Detached Element.matches: Invalid pseudo-element: :::before
41 PASS Detached Element.matches: Undeclared namespace: ns|div
42 PASS Detached Element.matches: Undeclared namespace: :not(ns|div)
43 PASS Detached Element.matches: Invalid namespace: ^|div
44 PASS Detached Element.matches: Invalid namespace: $|div
45 PASS In-document Element.matches: Empty String:
46 PASS In-document Element.matches: Invalid character: [
47 PASS In-document Element.matches: Invalid character: ]
48 PASS In-document Element.matches: Invalid character: (
49 PASS In-document Element.matches: Invalid character: )
50 PASS In-document Element.matches: Invalid character: {
51 PASS In-document Element.matches: Invalid character: }
52 PASS In-document Element.matches: Invalid character: <
53 PASS In-document Element.matches: Invalid character: >
54 PASS In-document Element.matches: Invalid ID: #
55 PASS In-document Element.matches: Invalid group of selectors: div,
56 PASS In-document Element.matches: Invalid class: .
57 PASS In-document Element.matches: Invalid class: .5cm
58 PASS In-document Element.matches: Invalid class: ..test
59 PASS In-document Element.matches: Invalid class: .foo..quux
60 PASS In-document Element.matches: Invalid class: .bar.
61 PASS In-document Element.matches: Invalid combinator: div & address, p
62 PASS In-document Element.matches: Invalid combinator: div ++ address, p
63 PASS In-document Element.matches: Invalid combinator: div ~~ address, p
64 PASS In-document Element.matches: Invalid [att=value] selector: [*=test]
65 PASS In-document Element.matches: Invalid [att=value] selector: [*|*=test]
66 PASS In-document Element.matches: Invalid [att=value] selector: [class= space un quoted ]
67 PASS In-document Element.matches: Unknown pseudo-class: div:example
68 PASS In-document Element.matches: Unknown pseudo-class: :example
69 PASS In-document Element.matches: Unknown pseudo-element: div::example
70 PASS In-document Element.matches: Unknown pseudo-element: ::example
71 PASS In-document Element.matches: Invalid pseudo-element: :::before
72 PASS In-document Element.matches: Undeclared namespace: ns|div
73 PASS In-document Element.matches: Undeclared namespace: :not(ns|div)
74 PASS In-document Element.matches: Invalid namespace: ^|div
75 PASS In-document Element.matches: Invalid namespace: $|div
76 PASS In-document Element.matches: Type selector, matching html element (with no refNodes): html
77 PASS In-document Element.matches: Type selector, matching body element (with no refNodes): body
78 PASS In-document Element.matches: Universal selector, matching all children of e lement with specified ID (with no refNodes): #universal>*
79 PASS In-document Element.matches: Universal selector, matching all grandchildren of element with specified ID (with no refNodes): #universal>*>*
80 PASS In-document Element.matches: Universal selector, matching all descendants o f element with specified ID (with no refNodes): #universal *
81 PASS In-document Element.matches: Attribute presence selector, matching align at tribute with value (with no refNodes): .attr-presence-div1[align]
82 PASS In-document Element.matches: Attribute presence selector, matching align at tribute with empty value (with no refNodes): .attr-presence-div2[align]
83 PASS In-document Element.matches: Attribute presence selector, matching title at tribute, case insensitivity (with no refNodes): #attr-presence [TiTlE]
84 PASS In-document Element.matches: Attribute presence selector, matching custom d ata-* attribute (with no refNodes): [data-attr-presence]
85 PASS In-document Element.matches: Attribute presence selector, matching attribut e with non-ASCII characters (with no refNodes): ul[data-中文]
86 PASS In-document Element.matches: Attribute presence selector, matching option w ith selected attribute (with no refNodes): #attr-presence-select2 option[selecte d]
87 PASS In-document Element.matches: Attribute presence selector, matching multiple options with selected attributes (with no refNodes): #attr-presence-select3 opt ion[selected]
88 PASS In-document Element.matches: Attribute value selector, matching align attri bute with value (with no refNodes): #attr-value [align="center"]
89 PASS In-document Element.matches: Attribute value selector, matching align attri bute with empty value (with no refNodes): #attr-value [align=""]
90 PASS In-document Element.matches: Attribute value selector, matching custom data -* attribute with unicode escaped value (with no refNodes): [data-attr-value="\e 9"]
91 PASS In-document Element.matches: Attribute value selector, matching custom data -* attribute with escaped character (with no refNodes): [data-attr-value_foo="\e 9"]
92 PASS In-document Element.matches: Attribute value selector with single-quoted va lue, matching multiple inputs with type attributes (with no refNodes): #attr-val ue input[type='hidden'],#attr-value input[type='radio']
93 PASS In-document Element.matches: Attribute value selector with double-quoted va lue, matching multiple inputs with type attributes (with no refNodes): #attr-val ue input[type="hidden"],#attr-value input[type='radio']
94 PASS In-document Element.matches: Attribute value selector with unquoted value, matching multiple inputs with type attributes (with no refNodes): #attr-value in put[type=hidden],#attr-value input[type=radio]
95 PASS In-document Element.matches: Attribute value selector, matching attribute w ith value using non-ASCII characters (with no refNodes): [data-attr-value=中文]
96 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching class attribute with value (with no refNodes): #attr-whitespace [class~ ="div1"]
97 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching custom data-* attribute with unicode escaped value (with no refNodes): [data-attr-whitespace~="\0000e9"]
98 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching custom data-* attribute with escaped character (with no refNodes): [dat a-attr-whitespace_foo~="\e9"]
99 PASS In-document Element.matches: Attribute whitespace-separated list selector w ith single-quoted value, matching multiple links with rel attributes (with no re fNodes): #attr-whitespace a[rel~='bookmark'], #attr-whitespace a[rel~='nofollow ']
100 PASS In-document Element.matches: Attribute whitespace-separated list selector w ith double-quoted value, matching multiple links with rel attributes (with no re fNodes): #attr-whitespace a[rel~="bookmark"],#attr-whitespace a[rel~='nofollow']
101 PASS In-document Element.matches: Attribute whitespace-separated list selector w ith unquoted value, matching multiple links with rel attributes (with no refNode s): #attr-whitespace a[rel~=bookmark], #attr-whitespace a[rel~=nofollow]
102 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching title attribute with value using non-ASCII characters (with no refNodes ): #attr-whitespace [title~=中文]
103 PASS In-document Element.matches: Attribute hyphen-separated list selector, matc hing lang attribute with exact value (with no refNodes): #attr-hyphen-div2[lang| ="fr"]
104 PASS In-document Element.matches: Attribute hyphen-separated list selector, matc hing lang attribute with partial value (with no refNodes): #attr-hyphen-div3[lan g|="en"]
105 PASS In-document Element.matches: Attribute begins with selector, matching href attributes beginning with specified substring (with no refNodes): #attr-begins a [href^="http://www"]
106 PASS In-document Element.matches: Attribute begins with selector, matching lang attributes beginning with specified substring, (with no refNodes): #attr-begins [lang^="en-"]
107 PASS In-document Element.matches: Attribute begins with selector with single-quo ted value, matching class attribute beginning with specified substring (with no refNodes): #attr-begins [class^=' apple']
108 PASS In-document Element.matches: Attribute begins with selector with double-quo ted value, matching class attribute beginning with specified substring (with no refNodes): #attr-begins [class^=" apple"]
109 PASS In-document Element.matches: Attribute ends with selector, matching href at tributes ending with specified substring (with no refNodes): #attr-ends a[href$= ".org"]
110 PASS In-document Element.matches: Attribute ends with selector, matching lang at tributes ending with specified substring, (with no refNodes): #attr-ends [lang$ ="-CH"]
111 PASS In-document Element.matches: Attribute ends with selector with single-quote d value, matching class attribute ending with specified substring (with no refNo des): #attr-ends [class$='apple ']
112 PASS In-document Element.matches: Attribute ends with selector with double-quote d value, matching class attribute ending with specified substring (with no refNo des): #attr-ends [class$="apple "]
113 PASS In-document Element.matches: Attribute contains selector, matching href att ributes beginning with specified substring (with no refNodes): #attr-contains a[ href*="http://www"]
114 PASS In-document Element.matches: Attribute contains selector, matching href att ributes ending with specified substring (with no refNodes): #attr-contains a[hre f*=".org"]
115 PASS In-document Element.matches: Attribute contains selector, matching href att ributes containing specified substring (with no refNodes): #attr-contains a[href *=".example."]
116 PASS In-document Element.matches: Attribute contains selector, matching lang att ributes beginning with specified substring, (with no refNodes): #attr-contains [lang*="en-"]
117 PASS In-document Element.matches: Attribute contains selector, matching lang att ributes ending with specified substring, (with no refNodes): #attr-contains [la ng*="-CH"]
118 PASS In-document Element.matches: Attribute contains selector with single-quoted value, matching class attribute beginning with specified substring (with no ref Nodes): #attr-contains [class*=' apple']
119 PASS In-document Element.matches: Attribute contains selector with single-quoted value, matching class attribute ending with specified substring (with no refNod es): #attr-contains [class*='orange ']
120 PASS In-document Element.matches: Attribute contains selector with single-quoted value, matching class attribute containing specified substring (with no refNode s): #attr-contains [class*='ple banana ora']
121 PASS In-document Element.matches: Attribute contains selector with double-quoted value, matching class attribute beginning with specified substring (with no ref Nodes): #attr-contains [class*=" apple"]
122 PASS In-document Element.matches: Attribute contains selector with double-quoted value, matching class attribute ending with specified substring (with no refNod es): #attr-contains [class*="orange "]
123 PASS In-document Element.matches: Attribute contains selector with double-quoted value, matching class attribute containing specified substring (with no refNode s): #attr-contains [class*="ple banana ora"]
124 PASS In-document Element.matches: Attribute contains selector with unquoted valu e, matching class attribute beginning with specified substring (with no refNodes ): #attr-contains [class*= apple]
125 PASS In-document Element.matches: Attribute contains selector with unquoted valu e, matching class attribute ending with specified substring (with no refNodes): #attr-contains [class*=orange ]
126 PASS In-document Element.matches: Attribute contains selector with unquoted valu e, matching class attribute containing specified substring (with no refNodes): # attr-contains [class*= banana ]
127 PASS In-document Element.matches: :root pseudo-class selector, matching document root element (with no refNodes): :root
128 PASS In-document Element.matches: :nth-child selector, matching the third child element (with no refNodes): #pseudo-nth-table1 :nth-child(3)
129 PASS In-document Element.matches: :nth-child selector, matching every third chil d element (with no refNodes): #pseudo-nth li:nth-child(3n)
130 PASS In-document Element.matches: :nth-child selector, matching every second chi ld element, starting from the fourth (with no refNodes): #pseudo-nth li:nth-chil d(2n+4)
131 PASS In-document Element.matches: :nth-child selector, matching every fourth chi ld element, starting from the third (with no refNodes): #pseudo-nth-p1 :nth-chil d(4n-1)
132 PASS In-document Element.matches: :nth-last-child selector, matching the third l ast child element (with no refNodes): #pseudo-nth-table1 :nth-last-child(3)
133 PASS In-document Element.matches: :nth-last-child selector, matching every third child element from the end (with no refNodes): #pseudo-nth li:nth-last-child(3n )
134 PASS In-document Element.matches: :nth-last-child selector, matching every secon d child element from the end, starting from the fourth last (with no refNodes): #pseudo-nth li:nth-last-child(2n+4)
135 PASS In-document Element.matches: :nth-last-child selector, matching every fourt h element from the end, starting from the third last (with no refNodes): #pseudo -nth-p1 :nth-last-child(4n-1)
136 PASS In-document Element.matches: :nth-of-type selector, matching the third em e lement (with no refNodes): #pseudo-nth-p1 em:nth-of-type(3)
137 PASS In-document Element.matches: :nth-of-type selector, matching every second e lement of their type (with no refNodes): #pseudo-nth-p1 :nth-of-type(2n)
138 PASS In-document Element.matches: :nth-of-type selector, matching every second e lemetn of their type, starting from the first (with no refNodes): #pseudo-nth-p1 span:nth-of-type(2n-1)
139 PASS In-document Element.matches: :nth-last-of-type selector, matching the thrid last em element (with no refNodes): #pseudo-nth-p1 em:nth-last-of-type(3)
140 PASS In-document Element.matches: :nth-last-of-type selector, matching every sec ond last element of their type (with no refNodes): #pseudo-nth-p1 :nth-last-of-t ype(2n)
141 PASS In-document Element.matches: :nth-last-of-type selector, matching every sec ond last element of their type, starting from the last (with no refNodes): #pseu do-nth-p1 span:nth-last-of-type(2n-1)
142 PASS In-document Element.matches: :first-of-type selector, matching the first em element (with no refNodes): #pseudo-nth-p1 em:first-of-type
143 PASS In-document Element.matches: :first-of-type selector, matching the first of every type of element (with no refNodes): #pseudo-nth-p1 :first-of-type
144 PASS In-document Element.matches: :first-of-type selector, matching the first td element in each table row (with no refNodes): #pseudo-nth-table1 tr :first-of-t ype
145 PASS In-document Element.matches: :last-of-type selector, matching the last em e lemnet (with no refNodes): #pseudo-nth-p1 em:last-of-type
146 PASS In-document Element.matches: :last-of-type selector, matching the last of e very type of element (with no refNodes): #pseudo-nth-p1 :last-of-type
147 PASS In-document Element.matches: :last-of-type selector, matching the last td e lement in each table row (with no refNodes): #pseudo-nth-table1 tr :last-of-type
148 PASS In-document Element.matches: :first-child pseudo-class selector, matching f irst child div element (with no refNodes): #pseudo-first-child div:first-child
149 PASS In-document Element.matches: :first-child pseudo-class selector, matching f irst-child of multiple elements (with no refNodes): #pseudo-first-child span:fir st-child
150 PASS In-document Element.matches: :last-child pseudo-class selector, matching la st child div element (with no refNodes): #pseudo-last-child div:last-child
151 PASS In-document Element.matches: :last-child pseudo-class selector, matching fi rst-child of multiple elements (with no refNodes): #pseudo-last-child span:last- child
152 PASS In-document Element.matches: :pseudo-only-child pseudo-class selector, matc hing all only-child elements (with no refNodes): #pseudo-only :only-child
153 PASS In-document Element.matches: :pseudo-only-of-type pseudo-class selector, ma tching all elements with no siblings of the same type (with no refNodes): #pseud o-only :only-of-type
154 PASS In-document Element.matches: :pseudo-only-of-type pseudo-class selector, ma tching em elements with no siblings of the same type (with no refNodes): #pseudo -only em:only-of-type
155 PASS In-document Element.matches: :empty pseudo-class selector, matching empty p elements (with no refNodes): #pseudo-empty p:empty
156 PASS In-document Element.matches: :empty pseudo-class selector, matching all emp ty elements (with no refNodes): #pseudo-empty :empty
157 PASS In-document Element.matches: :link and :visited pseudo-class selectors, mat ching a and area elements with href attributes (with no refNodes): #pseudo-link :link, #pseudo-link :visited
158 FAIL In-document Element.matches: :link and :visited pseudo-class selectors, mat ching link elements with href attributes (with no refNodes): #head :link, #head :visited assert_true: The element #pseudo-link-link1 should match the selector. expected true got false
159 PASS In-document Element.matches: :target pseudo-class selector, matching the el ement referenced by the URL fragment identifier (with no refNodes): :target
160 PASS In-document Element.matches: :lang pseudo-class selector, matching inherite d language (with no refNodes): #pseudo-lang-div1:lang(en)
161 PASS In-document Element.matches: :lang pseudo-class selector, matching specifie d language with exact value (with no refNodes): #pseudo-lang-div2:lang(fr)
162 PASS In-document Element.matches: :lang pseudo-class selector, matching specifie d language with partial value (with no refNodes): #pseudo-lang-div3:lang(en)
163 PASS In-document Element.matches: :enabled pseudo-class selector, matching all e nabled form controls (with no refNodes): #pseudo-ui :enabled
164 PASS In-document Element.matches: :enabled pseudo-class selector, matching all d isabled form controls (with no refNodes): #pseudo-ui :disabled
165 PASS In-document Element.matches: :checked pseudo-class selector, matching check ed radio buttons and checkboxes (with no refNodes): #pseudo-ui :checked
166 PASS In-document Element.matches: :not pseudo-class selector, matching (with no refNodes): #not>:not(div)
167 PASS In-document Element.matches: :not pseudo-class selector, matching (with no refNodes): #not * :not(:first-child)
168 PASS In-document Element.matches: Class selector, matching element with specifie d class (with no refNodes): .class-p
169 PASS In-document Element.matches: Class selector, chained, matching only element s with all specified classes (with no refNodes): #class .apple.orange.banana
170 PASS In-document Element.matches: Class Selector, chained, with type selector (w ith no refNodes): div.apple.banana.orange
171 PASS In-document Element.matches: Class selector, matching element with class va lue using non-ASCII characters (1) (with no refNodes): .台北Táiběi
172 PASS In-document Element.matches: Class selector, matching multiple elements wit h class value using non-ASCII characters (with no refNodes): .台北
173 PASS In-document Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (1) (with no refNodes): .台北Tá iběi.台北
174 PASS In-document Element.matches: Class selector, matching element with class wi th escaped character (with no refNodes): .foo\:bar
175 PASS In-document Element.matches: Class selector, matching element with class wi th escaped character (with no refNodes): .test\.foo\[5\]bar
176 PASS In-document Element.matches: ID selector, matching element with specified i d (with no refNodes): #id #id-div1
177 PASS In-document Element.matches: ID selector, chained, matching element with sp ecified id (with no refNodes): #id-div1, #id-div1
178 PASS In-document Element.matches: ID selector, chained, matching element with sp ecified id (with no refNodes): #id-div1, #id-div2
179 PASS In-document Element.matches: ID Selector, chained, with type selector (with no refNodes): div#id-div1, div#id-div2
180 PASS In-document Element.matches: ID selector, matching multiple elements with d uplicate id (with no refNodes): #id-li-duplicate
181 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (1) (with no refNodes): #台北Táiběi
182 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (2) (with no refNodes): #台北
183 PASS In-document Element.matches: ID selector, matching id values using non-ASCI I characters (1) (with no refNodes): #台北Táiběi, #台北
184 PASS In-document Element.matches: Descendant combinator, matching element that i s a descendant of an element with id (with no refNodes): #descendant div
185 PASS In-document Element.matches: Descendant combinator, matching element with i d that is a descendant of an element (with no refNodes): body #descendant-div1
186 PASS In-document Element.matches: Descendant combinator, matching element with i d that is a descendant of an element (with no refNodes): div #descendant-div1
187 PASS In-document Element.matches: Descendant combinator, matching element with i d that is a descendant of an element with id (with no refNodes): #descendant #de scendant-div2
188 PASS In-document Element.matches: Descendant combinator, matching element with c lass that is a descendant of an element with id (with no refNodes): #descendant .descendant-div2
189 PASS In-document Element.matches: Descendant combinator, matching element with c lass that is a descendant of an element with class (with no refNodes): .descenda nt-div1 .descendant-div3
190 PASS In-document Element.matches: Descendant combinator, whitespace characters ( with no refNodes): #descendant \r
191 #descendant-div2
192 FAIL In-document Element.matches: Descendant combinator '>>', matching element t hat is a descendant of an element with id (with no refNodes): #descendant>>div F ailed to execute 'matches' on 'Element': '#descendant>>div' is not a valid selec tor.
193 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith id that is a descendant of an element (with no refNodes): body>>#descendant- div1 Failed to execute 'matches' on 'Element': 'body>>#descendant-div1' is not a valid selector.
194 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith id that is a descendant of an element (with no refNodes): div>>#descendant-d iv1 Failed to execute 'matches' on 'Element': 'div>>#descendant-div1' is not a v alid selector.
195 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith id that is a descendant of an element with id (with no refNodes): #descendan t>>#descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>>#des cendant-div2' is not a valid selector.
196 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith class that is a descendant of an element with id (with no refNodes): #descen dant>>.descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>>. descendant-div2' is not a valid selector.
197 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith class that is a descendant of an element with class (with no refNodes): .des cendant-div1>>.descendant-div3 Failed to execute 'matches' on 'Element': '.desce ndant-div1>>.descendant-div3' is not a valid selector.
198 PASS In-document Element.matches: Child combinator, matching element that is a c hild of an element with id (with no refNodes): #child>div
199 PASS In-document Element.matches: Child combinator, matching element with id tha t is a child of an element (with no refNodes): div>#child-div1
200 PASS In-document Element.matches: Child combinator, matching element with id tha t is a child of an element with id (with no refNodes): #child>#child-div1
201 PASS In-document Element.matches: Child combinator, matching element with id tha t is a child of an element with class (with no refNodes): #child-div1>.child-div 2
202 PASS In-document Element.matches: Child combinator, matching element with class that is a child of an element with class (with no refNodes): .child-div1>.child- div2
203 PASS In-document Element.matches: Child combinator, surrounded by whitespace (wi th no refNodes): #child-div1 \r
204 > \r
205 #child-div2
206 PASS In-document Element.matches: Child combinator, whitespace after (with no re fNodes): #child-div1> \r
207 #child-div2
208 PASS In-document Element.matches: Child combinator, whitespace before (with no r efNodes): #child-div1 \r
209 >#child-div2
210 PASS In-document Element.matches: Child combinator, no whitespace (with no refNo des): #child-div1>#child-div2
211 PASS In-document Element.matches: Adjacent sibling combinator, matching element that is an adjacent sibling of an element with id (with no refNodes): #adjacent- div2+div
212 PASS In-document Element.matches: Adjacent sibling combinator, matching element with id that is an adjacent sibling of an element (with no refNodes): div+#adjac ent-div4
213 PASS In-document Element.matches: Adjacent sibling combinator, matching element with id that is an adjacent sibling of an element with id (with no refNodes): #a djacent-div2+#adjacent-div4
214 PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+.adjacent-div4
215 PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with class (with no refNode s): .adjacent-div2+.adjacent-div4
216 PASS In-document Element.matches: Adjacent sibling combinator, matching p elemen t that is an adjacent sibling of a div element (with no refNodes): #adjacent div +p
217 PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whi tespace (with no refNodes): #adjacent-p2 \r
218 + \r
219 #adjacent-p3
220 PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+ \r
221 #adjacent-p3
222 PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2 \r
223 +#adjacent-p3
224 PASS In-document Element.matches: Adjacent sibling combinator, no whitespace (wi th no refNodes): #adjacent-p2+#adjacent-p3
225 PASS In-document Element.matches: General sibling combinator, matching element t hat is a sibling of an element with id (with no refNodes): #sibling-div2~div
226 PASS In-document Element.matches: General sibling combinator, matching element w ith id that is a sibling of an element (with no refNodes): div~#sibling-div4
227 PASS In-document Element.matches: General sibling combinator, matching element w ith id that is a sibling of an element with id (with no refNodes): #sibling-div2 ~#sibling-div4
228 PASS In-document Element.matches: General sibling combinator, matching element w ith class that is a sibling of an element with id (with no refNodes): #sibling-d iv2~.sibling-div
229 PASS In-document Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
230 PASS In-document Element.matches: General sibling combinator, surrounded by whit espace (with no refNodes): #sibling-p2 \r
231 ~ \r
232 #sibling-p3
233 PASS In-document Element.matches: General sibling combinator, whitespace after ( with no refNodes): #sibling-p2~ \r
234 #sibling-p3
235 PASS In-document Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2 \r
236 ~#sibling-p3
237 PASS In-document Element.matches: General sibling combinator, no whitespace (wit h no refNodes): #sibling-p2~#sibling-p3
238 PASS In-document Element.matches: Syntax, group of selectors separator, surround ed by whitespace (with no refNodes): #group em \r
239 , \r
240 #group strong
241 PASS In-document Element.matches: Syntax, group of selectors separator, whitespa ce after (with no refNodes): #group em, \r
242 #group strong
243 PASS In-document Element.matches: Syntax, group of selectors separator, whitespa ce before (with no refNodes): #group em \r
244 ,#group strong
245 PASS In-document Element.matches: Syntax, group of selectors separator, no white space (with no refNodes): #group em,#group strong
246 PASS Detached Element.matches: Universal selector, matching all children of elem ent with specified ID (with no refNodes): #universal>*
247 PASS Detached Element.matches: Universal selector, matching all grandchildren of element with specified ID (with no refNodes): #universal>*>*
248 PASS Detached Element.matches: Universal selector, matching all descendants of e lement with specified ID (with no refNodes): #universal *
249 PASS Detached Element.matches: Attribute presence selector, matching align attri bute with value (with no refNodes): .attr-presence-div1[align]
250 PASS Detached Element.matches: Attribute presence selector, matching align attri bute with empty value (with no refNodes): .attr-presence-div2[align]
251 PASS Detached Element.matches: Attribute presence selector, matching title attri bute, case insensitivity (with no refNodes): #attr-presence [TiTlE]
252 PASS Detached Element.matches: Attribute presence selector, matching custom data -* attribute (with no refNodes): [data-attr-presence]
253 PASS Detached Element.matches: Attribute presence selector, matching attribute w ith non-ASCII characters (with no refNodes): ul[data-中文]
254 PASS Detached Element.matches: Attribute presence selector, matching option with selected attribute (with no refNodes): #attr-presence-select2 option[selected]
255 PASS Detached Element.matches: Attribute presence selector, matching multiple op tions with selected attributes (with no refNodes): #attr-presence-select3 option [selected]
256 PASS Detached Element.matches: Attribute value selector, matching align attribut e with value (with no refNodes): #attr-value [align="center"]
257 PASS Detached Element.matches: Attribute value selector, matching align attribut e with empty value (with no refNodes): #attr-value [align=""]
258 PASS Detached Element.matches: Attribute value selector, matching custom data-* attribute with unicode escaped value (with no refNodes): [data-attr-value="\e9"]
259 PASS Detached Element.matches: Attribute value selector, matching custom data-* attribute with escaped character (with no refNodes): [data-attr-value_foo="\e9"]
260 PASS Detached Element.matches: Attribute value selector with single-quoted value , matching multiple inputs with type attributes (with no refNodes): #attr-value input[type='hidden'],#attr-value input[type='radio']
261 PASS Detached Element.matches: Attribute value selector with double-quoted value , matching multiple inputs with type attributes (with no refNodes): #attr-value input[type="hidden"],#attr-value input[type='radio']
262 PASS Detached Element.matches: Attribute value selector with unquoted value, mat ching multiple inputs with type attributes (with no refNodes): #attr-value input [type=hidden],#attr-value input[type=radio]
263 PASS Detached Element.matches: Attribute value selector, matching attribute with value using non-ASCII characters (with no refNodes): [data-attr-value=中文]
264 PASS Detached Element.matches: Attribute whitespace-separated list selector, mat ching class attribute with value (with no refNodes): #attr-whitespace [class~="d iv1"]
265 PASS Detached Element.matches: Attribute whitespace-separated list selector, mat ching custom data-* attribute with unicode escaped value (with no refNodes): [da ta-attr-whitespace~="\0000e9"]
266 PASS Detached Element.matches: Attribute whitespace-separated list selector, mat ching custom data-* attribute with escaped character (with no refNodes): [data-a ttr-whitespace_foo~="\e9"]
267 PASS Detached Element.matches: Attribute whitespace-separated list selector with single-quoted value, matching multiple links with rel attributes (with no refNo des): #attr-whitespace a[rel~='bookmark'], #attr-whitespace a[rel~='nofollow']
268 PASS Detached Element.matches: Attribute whitespace-separated list selector with double-quoted value, matching multiple links with rel attributes (with no refNo des): #attr-whitespace a[rel~="bookmark"],#attr-whitespace a[rel~='nofollow']
269 PASS Detached Element.matches: Attribute whitespace-separated list selector with unquoted value, matching multiple links with rel attributes (with no refNodes): #attr-whitespace a[rel~=bookmark], #attr-whitespace a[rel~=nofollow]
270 PASS Detached Element.matches: Attribute whitespace-separated list selector, mat ching title attribute with value using non-ASCII characters (with no refNodes): #attr-whitespace [title~=中文]
271 PASS Detached Element.matches: Attribute hyphen-separated list selector, matchin g lang attribute with exact value (with no refNodes): #attr-hyphen-div2[lang|="f r"]
272 PASS Detached Element.matches: Attribute hyphen-separated list selector, matchin g lang attribute with partial value (with no refNodes): #attr-hyphen-div3[lang|= "en"]
273 PASS Detached Element.matches: Attribute begins with selector, matching href att ributes beginning with specified substring (with no refNodes): #attr-begins a[hr ef^="http://www"]
274 PASS Detached Element.matches: Attribute begins with selector, matching lang att ributes beginning with specified substring, (with no refNodes): #attr-begins [l ang^="en-"]
275 PASS Detached Element.matches: Attribute begins with selector with single-quoted value, matching class attribute beginning with specified substring (with no ref Nodes): #attr-begins [class^=' apple']
276 PASS Detached Element.matches: Attribute begins with selector with double-quoted value, matching class attribute beginning with specified substring (with no ref Nodes): #attr-begins [class^=" apple"]
277 PASS Detached Element.matches: Attribute ends with selector, matching href attri butes ending with specified substring (with no refNodes): #attr-ends a[href$=".o rg"]
278 PASS Detached Element.matches: Attribute ends with selector, matching lang attri butes ending with specified substring, (with no refNodes): #attr-ends [lang$="- CH"]
279 PASS Detached Element.matches: Attribute ends with selector with single-quoted v alue, matching class attribute ending with specified substring (with no refNodes ): #attr-ends [class$='apple ']
280 PASS Detached Element.matches: Attribute ends with selector with double-quoted v alue, matching class attribute ending with specified substring (with no refNodes ): #attr-ends [class$="apple "]
281 PASS Detached Element.matches: Attribute contains selector, matching href attrib utes beginning with specified substring (with no refNodes): #attr-contains a[hre f*="http://www"]
282 PASS Detached Element.matches: Attribute contains selector, matching href attrib utes ending with specified substring (with no refNodes): #attr-contains a[href*= ".org"]
283 PASS Detached Element.matches: Attribute contains selector, matching href attrib utes containing specified substring (with no refNodes): #attr-contains a[href*=" .example."]
284 PASS Detached Element.matches: Attribute contains selector, matching lang attrib utes beginning with specified substring, (with no refNodes): #attr-contains [la ng*="en-"]
285 PASS Detached Element.matches: Attribute contains selector, matching lang attrib utes ending with specified substring, (with no refNodes): #attr-contains [lang* ="-CH"]
286 PASS Detached Element.matches: Attribute contains selector with single-quoted va lue, matching class attribute beginning with specified substring (with no refNod es): #attr-contains [class*=' apple']
287 PASS Detached Element.matches: Attribute contains selector with single-quoted va lue, matching class attribute ending with specified substring (with no refNodes) : #attr-contains [class*='orange ']
288 PASS Detached Element.matches: Attribute contains selector with single-quoted va lue, matching class attribute containing specified substring (with no refNodes): #attr-contains [class*='ple banana ora']
289 PASS Detached Element.matches: Attribute contains selector with double-quoted va lue, matching class attribute beginning with specified substring (with no refNod es): #attr-contains [class*=" apple"]
290 PASS Detached Element.matches: Attribute contains selector with double-quoted va lue, matching class attribute ending with specified substring (with no refNodes) : #attr-contains [class*="orange "]
291 PASS Detached Element.matches: Attribute contains selector with double-quoted va lue, matching class attribute containing specified substring (with no refNodes): #attr-contains [class*="ple banana ora"]
292 PASS Detached Element.matches: Attribute contains selector with unquoted value, matching class attribute beginning with specified substring (with no refNodes): #attr-contains [class*= apple]
293 PASS Detached Element.matches: Attribute contains selector with unquoted value, matching class attribute ending with specified substring (with no refNodes): #at tr-contains [class*=orange ]
294 PASS Detached Element.matches: Attribute contains selector with unquoted value, matching class attribute containing specified substring (with no refNodes): #att r-contains [class*= banana ]
295 PASS Detached Element.matches: :nth-child selector, matching the third child ele ment (with no refNodes): #pseudo-nth-table1 :nth-child(3)
296 PASS Detached Element.matches: :nth-child selector, matching every third child e lement (with no refNodes): #pseudo-nth li:nth-child(3n)
297 PASS Detached Element.matches: :nth-child selector, matching every second child element, starting from the fourth (with no refNodes): #pseudo-nth li:nth-child(2 n+4)
298 PASS Detached Element.matches: :nth-child selector, matching every fourth child element, starting from the third (with no refNodes): #pseudo-nth-p1 :nth-child(4 n-1)
299 PASS Detached Element.matches: :nth-last-child selector, matching the third last child element (with no refNodes): #pseudo-nth-table1 :nth-last-child(3)
300 PASS Detached Element.matches: :nth-last-child selector, matching every third ch ild element from the end (with no refNodes): #pseudo-nth li:nth-last-child(3n)
301 PASS Detached Element.matches: :nth-last-child selector, matching every second c hild element from the end, starting from the fourth last (with no refNodes): #ps eudo-nth li:nth-last-child(2n+4)
302 PASS Detached Element.matches: :nth-last-child selector, matching every fourth e lement from the end, starting from the third last (with no refNodes): #pseudo-nt h-p1 :nth-last-child(4n-1)
303 PASS Detached Element.matches: :nth-of-type selector, matching the third em elem ent (with no refNodes): #pseudo-nth-p1 em:nth-of-type(3)
304 PASS Detached Element.matches: :nth-of-type selector, matching every second elem ent of their type (with no refNodes): #pseudo-nth-p1 :nth-of-type(2n)
305 PASS Detached Element.matches: :nth-of-type selector, matching every second elem etn of their type, starting from the first (with no refNodes): #pseudo-nth-p1 sp an:nth-of-type(2n-1)
306 PASS Detached Element.matches: :nth-last-of-type selector, matching the thrid la st em element (with no refNodes): #pseudo-nth-p1 em:nth-last-of-type(3)
307 PASS Detached Element.matches: :nth-last-of-type selector, matching every second last element of their type (with no refNodes): #pseudo-nth-p1 :nth-last-of-type (2n)
308 PASS Detached Element.matches: :nth-last-of-type selector, matching every second last element of their type, starting from the last (with no refNodes): #pseudo- nth-p1 span:nth-last-of-type(2n-1)
309 PASS Detached Element.matches: :first-of-type selector, matching the first em el ement (with no refNodes): #pseudo-nth-p1 em:first-of-type
310 PASS Detached Element.matches: :first-of-type selector, matching the first of ev ery type of element (with no refNodes): #pseudo-nth-p1 :first-of-type
311 PASS Detached Element.matches: :first-of-type selector, matching the first td el ement in each table row (with no refNodes): #pseudo-nth-table1 tr :first-of-type
312 PASS Detached Element.matches: :last-of-type selector, matching the last em elem net (with no refNodes): #pseudo-nth-p1 em:last-of-type
313 PASS Detached Element.matches: :last-of-type selector, matching the last of ever y type of element (with no refNodes): #pseudo-nth-p1 :last-of-type
314 PASS Detached Element.matches: :last-of-type selector, matching the last td elem ent in each table row (with no refNodes): #pseudo-nth-table1 tr :last-of-type
315 PASS Detached Element.matches: :first-child pseudo-class selector, matching firs t child div element (with no refNodes): #pseudo-first-child div:first-child
316 PASS Detached Element.matches: :first-child pseudo-class selector, matching firs t-child of multiple elements (with no refNodes): #pseudo-first-child span:first- child
317 PASS Detached Element.matches: :last-child pseudo-class selector, matching last child div element (with no refNodes): #pseudo-last-child div:last-child
318 PASS Detached Element.matches: :last-child pseudo-class selector, matching first -child of multiple elements (with no refNodes): #pseudo-last-child span:last-chi ld
319 PASS Detached Element.matches: :pseudo-only-child pseudo-class selector, matchin g all only-child elements (with no refNodes): #pseudo-only :only-child
320 PASS Detached Element.matches: :pseudo-only-of-type pseudo-class selector, match ing all elements with no siblings of the same type (with no refNodes): #pseudo-o nly :only-of-type
321 PASS Detached Element.matches: :pseudo-only-of-type pseudo-class selector, match ing em elements with no siblings of the same type (with no refNodes): #pseudo-on ly em:only-of-type
322 PASS Detached Element.matches: :empty pseudo-class selector, matching empty p el ements (with no refNodes): #pseudo-empty p:empty
323 PASS Detached Element.matches: :empty pseudo-class selector, matching all empty elements (with no refNodes): #pseudo-empty :empty
324 PASS Detached Element.matches: :link and :visited pseudo-class selectors, matchi ng a and area elements with href attributes (with no refNodes): #pseudo-link :li nk, #pseudo-link :visited
325 PASS Detached Element.matches: :lang pseudo-class selector, matching specified l anguage with exact value (with no refNodes): #pseudo-lang-div2:lang(fr)
326 PASS Detached Element.matches: :lang pseudo-class selector, matching specified l anguage with partial value (with no refNodes): #pseudo-lang-div3:lang(en)
327 PASS Detached Element.matches: :enabled pseudo-class selector, matching all enab led form controls (with no refNodes): #pseudo-ui :enabled
328 PASS Detached Element.matches: :enabled pseudo-class selector, matching all disa bled form controls (with no refNodes): #pseudo-ui :disabled
329 PASS Detached Element.matches: :checked pseudo-class selector, matching checked radio buttons and checkboxes (with no refNodes): #pseudo-ui :checked
330 PASS Detached Element.matches: :not pseudo-class selector, matching (with no re fNodes): #not>:not(div)
331 PASS Detached Element.matches: :not pseudo-class selector, matching (with no re fNodes): #not * :not(:first-child)
332 PASS Detached Element.matches: Class selector, matching element with specified c lass (with no refNodes): .class-p
333 PASS Detached Element.matches: Class selector, chained, matching only elements w ith all specified classes (with no refNodes): #class .apple.orange.banana
334 PASS Detached Element.matches: Class Selector, chained, with type selector (with no refNodes): div.apple.banana.orange
335 PASS Detached Element.matches: Class selector, matching element with class value using non-ASCII characters (1) (with no refNodes): .台北Táiběi
336 PASS Detached Element.matches: Class selector, matching multiple elements with c lass value using non-ASCII characters (with no refNodes): .台北
337 PASS Detached Element.matches: Class selector, chained, matching element with mu ltiple class values using non-ASCII characters (1) (with no refNodes): .台北Táibe ̌i.台北
338 PASS Detached Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .foo\:bar
339 PASS Detached Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .test\.foo\[5\]bar
340 PASS Detached Element.matches: ID selector, matching element with specified id ( with no refNodes): #id #id-div1
341 PASS Detached Element.matches: ID selector, chained, matching element with speci fied id (with no refNodes): #id-div1, #id-div1
342 PASS Detached Element.matches: ID selector, chained, matching element with speci fied id (with no refNodes): #id-div1, #id-div2
343 PASS Detached Element.matches: ID Selector, chained, with type selector (with no refNodes): div#id-div1, div#id-div2
344 PASS Detached Element.matches: ID selector, matching multiple elements with dupl icate id (with no refNodes): #id-li-duplicate
345 PASS Detached Element.matches: ID selector, matching id value using non-ASCII ch aracters (1) (with no refNodes): #台北Táiběi
346 PASS Detached Element.matches: ID selector, matching id value using non-ASCII ch aracters (2) (with no refNodes): #台北
347 PASS Detached Element.matches: ID selector, matching id values using non-ASCII c haracters (1) (with no refNodes): #台北Táiběi, #台北
348 PASS Detached Element.matches: Descendant combinator, matching element that is a descendant of an element with id (with no refNodes): #descendant div
349 PASS Detached Element.matches: Descendant combinator, matching element with id t hat is a descendant of an element (with no refNodes): div #descendant-div1
350 PASS Detached Element.matches: Descendant combinator, matching element with id t hat is a descendant of an element with id (with no refNodes): #descendant #desce ndant-div2
351 PASS Detached Element.matches: Descendant combinator, matching element with clas s that is a descendant of an element with id (with no refNodes): #descendant .de scendant-div2
352 PASS Detached Element.matches: Descendant combinator, matching element with clas s that is a descendant of an element with class (with no refNodes): .descendant- div1 .descendant-div3
353 PASS Detached Element.matches: Descendant combinator, whitespace characters (wit h no refNodes): #descendant \r
354 #descendant-div2
355 FAIL Detached Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div Fail ed to execute 'matches' on 'Element': '#descendant>>div' is not a valid selector .
356 FAIL Detached Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 Failed to execute 'matches' on 'Element': 'div>>#descendant-div1' is not a vali d selector.
357 FAIL Detached Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>> #descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>>#descen dant-div2' is not a valid selector.
358 FAIL Detached Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendan t>>.descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>>.des cendant-div2' is not a valid selector.
359 FAIL Detached Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descen dant-div1>>.descendant-div3 Failed to execute 'matches' on 'Element': '.descenda nt-div1>>.descendant-div3' is not a valid selector.
360 PASS Detached Element.matches: Child combinator, matching element that is a chil d of an element with id (with no refNodes): #child>div
361 PASS Detached Element.matches: Child combinator, matching element with id that i s a child of an element (with no refNodes): div>#child-div1
362 PASS Detached Element.matches: Child combinator, matching element with id that i s a child of an element with id (with no refNodes): #child>#child-div1
363 PASS Detached Element.matches: Child combinator, matching element with id that i s a child of an element with class (with no refNodes): #child-div1>.child-div2
364 PASS Detached Element.matches: Child combinator, matching element with class tha t is a child of an element with class (with no refNodes): .child-div1>.child-div 2
365 PASS Detached Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1 \r
366 > \r
367 #child-div2
368 PASS Detached Element.matches: Child combinator, whitespace after (with no refNo des): #child-div1> \r
369 #child-div2
370 PASS Detached Element.matches: Child combinator, whitespace before (with no refN odes): #child-div1 \r
371 >#child-div2
372 PASS Detached Element.matches: Child combinator, no whitespace (with no refNodes ): #child-div1>#child-div2
373 PASS Detached Element.matches: Adjacent sibling combinator, matching element tha t is an adjacent sibling of an element with id (with no refNodes): #adjacent-div 2+div
374 PASS Detached Element.matches: Adjacent sibling combinator, matching element wit h id that is an adjacent sibling of an element (with no refNodes): div+#adjacent -div4
375 PASS Detached Element.matches: Adjacent sibling combinator, matching element wit h id that is an adjacent sibling of an element with id (with no refNodes): #adja cent-div2+#adjacent-div4
376 PASS Detached Element.matches: Adjacent sibling combinator, matching element wit h class that is an adjacent sibling of an element with id (with no refNodes): #a djacent-div2+.adjacent-div4
377 PASS Detached Element.matches: Adjacent sibling combinator, matching element wit h class that is an adjacent sibling of an element with class (with no refNodes): .adjacent-div2+.adjacent-div4
378 PASS Detached Element.matches: Adjacent sibling combinator, matching p element t hat is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
379 PASS Detached Element.matches: Adjacent sibling combinator, surrounded by whites pace (with no refNodes): #adjacent-p2 \r
380 + \r
381 #adjacent-p3
382 PASS Detached Element.matches: Adjacent sibling combinator, whitespace after (wi th no refNodes): #adjacent-p2+ \r
383 #adjacent-p3
384 PASS Detached Element.matches: Adjacent sibling combinator, whitespace before (w ith no refNodes): #adjacent-p2 \r
385 +#adjacent-p3
386 PASS Detached Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
387 PASS Detached Element.matches: General sibling combinator, matching element that is a sibling of an element with id (with no refNodes): #sibling-div2~div
388 PASS Detached Element.matches: General sibling combinator, matching element with id that is a sibling of an element (with no refNodes): div~#sibling-div4
389 PASS Detached Element.matches: General sibling combinator, matching element with id that is a sibling of an element with id (with no refNodes): #sibling-div2~#s ibling-div4
390 PASS Detached Element.matches: General sibling combinator, matching element with class that is a sibling of an element with id (with no refNodes): #sibling-div2 ~.sibling-div
391 PASS Detached Element.matches: General sibling combinator, matching p element th at is a sibling of a div element (with no refNodes): #sibling div~p
392 PASS Detached Element.matches: General sibling combinator, surrounded by whitesp ace (with no refNodes): #sibling-p2 \r
393 ~ \r
394 #sibling-p3
395 PASS Detached Element.matches: General sibling combinator, whitespace after (wit h no refNodes): #sibling-p2~ \r
396 #sibling-p3
397 PASS Detached Element.matches: General sibling combinator, whitespace before (wi th no refNodes): #sibling-p2 \r
398 ~#sibling-p3
399 PASS Detached Element.matches: General sibling combinator, no whitespace (with n o refNodes): #sibling-p2~#sibling-p3
400 PASS Detached Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em \r
401 , \r
402 #group strong
403 PASS Detached Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em, \r
404 #group strong
405 PASS Detached Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em \r
406 ,#group strong
407 PASS Detached Element.matches: Syntax, group of selectors separator, no whitespa ce (with no refNodes): #group em,#group strong
408 PASS Fragment Element.matches: Universal selector, matching all children of elem ent with specified ID (with no refNodes): #universal>*
409 PASS Fragment Element.matches: Universal selector, matching all grandchildren of element with specified ID (with no refNodes): #universal>*>*
410 PASS Fragment Element.matches: Universal selector, matching all descendants of e lement with specified ID (with no refNodes): #universal *
411 PASS Fragment Element.matches: Attribute presence selector, matching align attri bute with value (with no refNodes): .attr-presence-div1[align]
412 PASS Fragment Element.matches: Attribute presence selector, matching align attri bute with empty value (with no refNodes): .attr-presence-div2[align]
413 PASS Fragment Element.matches: Attribute presence selector, matching title attri bute, case insensitivity (with no refNodes): #attr-presence [TiTlE]
414 PASS Fragment Element.matches: Attribute presence selector, matching custom data -* attribute (with no refNodes): [data-attr-presence]
415 PASS Fragment Element.matches: Attribute presence selector, matching attribute w ith non-ASCII characters (with no refNodes): ul[data-中文]
416 PASS Fragment Element.matches: Attribute presence selector, matching option with selected attribute (with no refNodes): #attr-presence-select2 option[selected]
417 PASS Fragment Element.matches: Attribute presence selector, matching multiple op tions with selected attributes (with no refNodes): #attr-presence-select3 option [selected]
418 PASS Fragment Element.matches: Attribute value selector, matching align attribut e with value (with no refNodes): #attr-value [align="center"]
419 PASS Fragment Element.matches: Attribute value selector, matching align attribut e with empty value (with no refNodes): #attr-value [align=""]
420 PASS Fragment Element.matches: Attribute value selector, matching custom data-* attribute with unicode escaped value (with no refNodes): [data-attr-value="\e9"]
421 PASS Fragment Element.matches: Attribute value selector, matching custom data-* attribute with escaped character (with no refNodes): [data-attr-value_foo="\e9"]
422 PASS Fragment Element.matches: Attribute value selector with single-quoted value , matching multiple inputs with type attributes (with no refNodes): #attr-value input[type='hidden'],#attr-value input[type='radio']
423 PASS Fragment Element.matches: Attribute value selector with double-quoted value , matching multiple inputs with type attributes (with no refNodes): #attr-value input[type="hidden"],#attr-value input[type='radio']
424 PASS Fragment Element.matches: Attribute value selector with unquoted value, mat ching multiple inputs with type attributes (with no refNodes): #attr-value input [type=hidden],#attr-value input[type=radio]
425 PASS Fragment Element.matches: Attribute value selector, matching attribute with value using non-ASCII characters (with no refNodes): [data-attr-value=中文]
426 PASS Fragment Element.matches: Attribute whitespace-separated list selector, mat ching class attribute with value (with no refNodes): #attr-whitespace [class~="d iv1"]
427 PASS Fragment Element.matches: Attribute whitespace-separated list selector, mat ching custom data-* attribute with unicode escaped value (with no refNodes): [da ta-attr-whitespace~="\0000e9"]
428 PASS Fragment Element.matches: Attribute whitespace-separated list selector, mat ching custom data-* attribute with escaped character (with no refNodes): [data-a ttr-whitespace_foo~="\e9"]
429 PASS Fragment Element.matches: Attribute whitespace-separated list selector with single-quoted value, matching multiple links with rel attributes (with no refNo des): #attr-whitespace a[rel~='bookmark'], #attr-whitespace a[rel~='nofollow']
430 PASS Fragment Element.matches: Attribute whitespace-separated list selector with double-quoted value, matching multiple links with rel attributes (with no refNo des): #attr-whitespace a[rel~="bookmark"],#attr-whitespace a[rel~='nofollow']
431 PASS Fragment Element.matches: Attribute whitespace-separated list selector with unquoted value, matching multiple links with rel attributes (with no refNodes): #attr-whitespace a[rel~=bookmark], #attr-whitespace a[rel~=nofollow]
432 PASS Fragment Element.matches: Attribute whitespace-separated list selector, mat ching title attribute with value using non-ASCII characters (with no refNodes): #attr-whitespace [title~=中文]
433 PASS Fragment Element.matches: Attribute hyphen-separated list selector, matchin g lang attribute with exact value (with no refNodes): #attr-hyphen-div2[lang|="f r"]
434 PASS Fragment Element.matches: Attribute hyphen-separated list selector, matchin g lang attribute with partial value (with no refNodes): #attr-hyphen-div3[lang|= "en"]
435 PASS Fragment Element.matches: Attribute begins with selector, matching href att ributes beginning with specified substring (with no refNodes): #attr-begins a[hr ef^="http://www"]
436 PASS Fragment Element.matches: Attribute begins with selector, matching lang att ributes beginning with specified substring, (with no refNodes): #attr-begins [l ang^="en-"]
437 PASS Fragment Element.matches: Attribute begins with selector with single-quoted value, matching class attribute beginning with specified substring (with no ref Nodes): #attr-begins [class^=' apple']
438 PASS Fragment Element.matches: Attribute begins with selector with double-quoted value, matching class attribute beginning with specified substring (with no ref Nodes): #attr-begins [class^=" apple"]
439 PASS Fragment Element.matches: Attribute ends with selector, matching href attri butes ending with specified substring (with no refNodes): #attr-ends a[href$=".o rg"]
440 PASS Fragment Element.matches: Attribute ends with selector, matching lang attri butes ending with specified substring, (with no refNodes): #attr-ends [lang$="- CH"]
441 PASS Fragment Element.matches: Attribute ends with selector with single-quoted v alue, matching class attribute ending with specified substring (with no refNodes ): #attr-ends [class$='apple ']
442 PASS Fragment Element.matches: Attribute ends with selector with double-quoted v alue, matching class attribute ending with specified substring (with no refNodes ): #attr-ends [class$="apple "]
443 PASS Fragment Element.matches: Attribute contains selector, matching href attrib utes beginning with specified substring (with no refNodes): #attr-contains a[hre f*="http://www"]
444 PASS Fragment Element.matches: Attribute contains selector, matching href attrib utes ending with specified substring (with no refNodes): #attr-contains a[href*= ".org"]
445 PASS Fragment Element.matches: Attribute contains selector, matching href attrib utes containing specified substring (with no refNodes): #attr-contains a[href*=" .example."]
446 PASS Fragment Element.matches: Attribute contains selector, matching lang attrib utes beginning with specified substring, (with no refNodes): #attr-contains [la ng*="en-"]
447 PASS Fragment Element.matches: Attribute contains selector, matching lang attrib utes ending with specified substring, (with no refNodes): #attr-contains [lang* ="-CH"]
448 PASS Fragment Element.matches: Attribute contains selector with single-quoted va lue, matching class attribute beginning with specified substring (with no refNod es): #attr-contains [class*=' apple']
449 PASS Fragment Element.matches: Attribute contains selector with single-quoted va lue, matching class attribute ending with specified substring (with no refNodes) : #attr-contains [class*='orange ']
450 PASS Fragment Element.matches: Attribute contains selector with single-quoted va lue, matching class attribute containing specified substring (with no refNodes): #attr-contains [class*='ple banana ora']
451 PASS Fragment Element.matches: Attribute contains selector with double-quoted va lue, matching class attribute beginning with specified substring (with no refNod es): #attr-contains [class*=" apple"]
452 PASS Fragment Element.matches: Attribute contains selector with double-quoted va lue, matching class attribute ending with specified substring (with no refNodes) : #attr-contains [class*="orange "]
453 PASS Fragment Element.matches: Attribute contains selector with double-quoted va lue, matching class attribute containing specified substring (with no refNodes): #attr-contains [class*="ple banana ora"]
454 PASS Fragment Element.matches: Attribute contains selector with unquoted value, matching class attribute beginning with specified substring (with no refNodes): #attr-contains [class*= apple]
455 PASS Fragment Element.matches: Attribute contains selector with unquoted value, matching class attribute ending with specified substring (with no refNodes): #at tr-contains [class*=orange ]
456 PASS Fragment Element.matches: Attribute contains selector with unquoted value, matching class attribute containing specified substring (with no refNodes): #att r-contains [class*= banana ]
457 PASS Fragment Element.matches: :nth-child selector, matching the third child ele ment (with no refNodes): #pseudo-nth-table1 :nth-child(3)
458 PASS Fragment Element.matches: :nth-child selector, matching every third child e lement (with no refNodes): #pseudo-nth li:nth-child(3n)
459 PASS Fragment Element.matches: :nth-child selector, matching every second child element, starting from the fourth (with no refNodes): #pseudo-nth li:nth-child(2 n+4)
460 PASS Fragment Element.matches: :nth-child selector, matching every fourth child element, starting from the third (with no refNodes): #pseudo-nth-p1 :nth-child(4 n-1)
461 PASS Fragment Element.matches: :nth-last-child selector, matching the third last child element (with no refNodes): #pseudo-nth-table1 :nth-last-child(3)
462 PASS Fragment Element.matches: :nth-last-child selector, matching every third ch ild element from the end (with no refNodes): #pseudo-nth li:nth-last-child(3n)
463 PASS Fragment Element.matches: :nth-last-child selector, matching every second c hild element from the end, starting from the fourth last (with no refNodes): #ps eudo-nth li:nth-last-child(2n+4)
464 PASS Fragment Element.matches: :nth-last-child selector, matching every fourth e lement from the end, starting from the third last (with no refNodes): #pseudo-nt h-p1 :nth-last-child(4n-1)
465 PASS Fragment Element.matches: :nth-of-type selector, matching the third em elem ent (with no refNodes): #pseudo-nth-p1 em:nth-of-type(3)
466 PASS Fragment Element.matches: :nth-of-type selector, matching every second elem ent of their type (with no refNodes): #pseudo-nth-p1 :nth-of-type(2n)
467 PASS Fragment Element.matches: :nth-of-type selector, matching every second elem etn of their type, starting from the first (with no refNodes): #pseudo-nth-p1 sp an:nth-of-type(2n-1)
468 PASS Fragment Element.matches: :nth-last-of-type selector, matching the thrid la st em element (with no refNodes): #pseudo-nth-p1 em:nth-last-of-type(3)
469 PASS Fragment Element.matches: :nth-last-of-type selector, matching every second last element of their type (with no refNodes): #pseudo-nth-p1 :nth-last-of-type (2n)
470 PASS Fragment Element.matches: :nth-last-of-type selector, matching every second last element of their type, starting from the last (with no refNodes): #pseudo- nth-p1 span:nth-last-of-type(2n-1)
471 PASS Fragment Element.matches: :first-of-type selector, matching the first em el ement (with no refNodes): #pseudo-nth-p1 em:first-of-type
472 PASS Fragment Element.matches: :first-of-type selector, matching the first of ev ery type of element (with no refNodes): #pseudo-nth-p1 :first-of-type
473 PASS Fragment Element.matches: :first-of-type selector, matching the first td el ement in each table row (with no refNodes): #pseudo-nth-table1 tr :first-of-type
474 PASS Fragment Element.matches: :last-of-type selector, matching the last em elem net (with no refNodes): #pseudo-nth-p1 em:last-of-type
475 PASS Fragment Element.matches: :last-of-type selector, matching the last of ever y type of element (with no refNodes): #pseudo-nth-p1 :last-of-type
476 PASS Fragment Element.matches: :last-of-type selector, matching the last td elem ent in each table row (with no refNodes): #pseudo-nth-table1 tr :last-of-type
477 PASS Fragment Element.matches: :first-child pseudo-class selector, matching firs t child div element (with no refNodes): #pseudo-first-child div:first-child
478 PASS Fragment Element.matches: :first-child pseudo-class selector, matching firs t-child of multiple elements (with no refNodes): #pseudo-first-child span:first- child
479 PASS Fragment Element.matches: :last-child pseudo-class selector, matching last child div element (with no refNodes): #pseudo-last-child div:last-child
480 PASS Fragment Element.matches: :last-child pseudo-class selector, matching first -child of multiple elements (with no refNodes): #pseudo-last-child span:last-chi ld
481 PASS Fragment Element.matches: :pseudo-only-child pseudo-class selector, matchin g all only-child elements (with no refNodes): #pseudo-only :only-child
482 PASS Fragment Element.matches: :pseudo-only-of-type pseudo-class selector, match ing all elements with no siblings of the same type (with no refNodes): #pseudo-o nly :only-of-type
483 PASS Fragment Element.matches: :pseudo-only-of-type pseudo-class selector, match ing em elements with no siblings of the same type (with no refNodes): #pseudo-on ly em:only-of-type
484 PASS Fragment Element.matches: :empty pseudo-class selector, matching empty p el ements (with no refNodes): #pseudo-empty p:empty
485 PASS Fragment Element.matches: :empty pseudo-class selector, matching all empty elements (with no refNodes): #pseudo-empty :empty
486 PASS Fragment Element.matches: :link and :visited pseudo-class selectors, matchi ng a and area elements with href attributes (with no refNodes): #pseudo-link :li nk, #pseudo-link :visited
487 PASS Fragment Element.matches: :lang pseudo-class selector, matching specified l anguage with exact value (with no refNodes): #pseudo-lang-div2:lang(fr)
488 PASS Fragment Element.matches: :lang pseudo-class selector, matching specified l anguage with partial value (with no refNodes): #pseudo-lang-div3:lang(en)
489 PASS Fragment Element.matches: :enabled pseudo-class selector, matching all enab led form controls (with no refNodes): #pseudo-ui :enabled
490 PASS Fragment Element.matches: :enabled pseudo-class selector, matching all disa bled form controls (with no refNodes): #pseudo-ui :disabled
491 PASS Fragment Element.matches: :checked pseudo-class selector, matching checked radio buttons and checkboxes (with no refNodes): #pseudo-ui :checked
492 PASS Fragment Element.matches: :not pseudo-class selector, matching (with no re fNodes): #not>:not(div)
493 PASS Fragment Element.matches: :not pseudo-class selector, matching (with no re fNodes): #not * :not(:first-child)
494 PASS Fragment Element.matches: Class selector, matching element with specified c lass (with no refNodes): .class-p
495 PASS Fragment Element.matches: Class selector, chained, matching only elements w ith all specified classes (with no refNodes): #class .apple.orange.banana
496 PASS Fragment Element.matches: Class Selector, chained, with type selector (with no refNodes): div.apple.banana.orange
497 PASS Fragment Element.matches: Class selector, matching element with class value using non-ASCII characters (1) (with no refNodes): .台北Táiběi
498 PASS Fragment Element.matches: Class selector, matching multiple elements with c lass value using non-ASCII characters (with no refNodes): .台北
499 PASS Fragment Element.matches: Class selector, chained, matching element with mu ltiple class values using non-ASCII characters (1) (with no refNodes): .台北Táibe ̌i.台北
500 PASS Fragment Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .foo\:bar
501 PASS Fragment Element.matches: Class selector, matching element with class with escaped character (with no refNodes): .test\.foo\[5\]bar
502 PASS Fragment Element.matches: ID selector, matching element with specified id ( with no refNodes): #id #id-div1
503 PASS Fragment Element.matches: ID selector, chained, matching element with speci fied id (with no refNodes): #id-div1, #id-div1
504 PASS Fragment Element.matches: ID selector, chained, matching element with speci fied id (with no refNodes): #id-div1, #id-div2
505 PASS Fragment Element.matches: ID Selector, chained, with type selector (with no refNodes): div#id-div1, div#id-div2
506 PASS Fragment Element.matches: ID selector, matching multiple elements with dupl icate id (with no refNodes): #id-li-duplicate
507 PASS Fragment Element.matches: ID selector, matching id value using non-ASCII ch aracters (1) (with no refNodes): #台北Táiběi
508 PASS Fragment Element.matches: ID selector, matching id value using non-ASCII ch aracters (2) (with no refNodes): #台北
509 PASS Fragment Element.matches: ID selector, matching id values using non-ASCII c haracters (1) (with no refNodes): #台北Táiběi, #台北
510 PASS Fragment Element.matches: Descendant combinator, matching element that is a descendant of an element with id (with no refNodes): #descendant div
511 PASS Fragment Element.matches: Descendant combinator, matching element with id t hat is a descendant of an element (with no refNodes): div #descendant-div1
512 PASS Fragment Element.matches: Descendant combinator, matching element with id t hat is a descendant of an element with id (with no refNodes): #descendant #desce ndant-div2
513 PASS Fragment Element.matches: Descendant combinator, matching element with clas s that is a descendant of an element with id (with no refNodes): #descendant .de scendant-div2
514 PASS Fragment Element.matches: Descendant combinator, matching element with clas s that is a descendant of an element with class (with no refNodes): .descendant- div1 .descendant-div3
515 PASS Fragment Element.matches: Descendant combinator, whitespace characters (wit h no refNodes): #descendant \r
516 #descendant-div2
517 FAIL Fragment Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div Fail ed to execute 'matches' on 'Element': '#descendant>>div' is not a valid selector .
518 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 Failed to execute 'matches' on 'Element': 'div>>#descendant-div1' is not a vali d selector.
519 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>> #descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>>#descen dant-div2' is not a valid selector.
520 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendan t>>.descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>>.des cendant-div2' is not a valid selector.
521 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descen dant-div1>>.descendant-div3 Failed to execute 'matches' on 'Element': '.descenda nt-div1>>.descendant-div3' is not a valid selector.
522 PASS Fragment Element.matches: Child combinator, matching element that is a chil d of an element with id (with no refNodes): #child>div
523 PASS Fragment Element.matches: Child combinator, matching element with id that i s a child of an element (with no refNodes): div>#child-div1
524 PASS Fragment Element.matches: Child combinator, matching element with id that i s a child of an element with id (with no refNodes): #child>#child-div1
525 PASS Fragment Element.matches: Child combinator, matching element with id that i s a child of an element with class (with no refNodes): #child-div1>.child-div2
526 PASS Fragment Element.matches: Child combinator, matching element with class tha t is a child of an element with class (with no refNodes): .child-div1>.child-div 2
527 PASS Fragment Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1 \r
528 > \r
529 #child-div2
530 PASS Fragment Element.matches: Child combinator, whitespace after (with no refNo des): #child-div1> \r
531 #child-div2
532 PASS Fragment Element.matches: Child combinator, whitespace before (with no refN odes): #child-div1 \r
533 >#child-div2
534 PASS Fragment Element.matches: Child combinator, no whitespace (with no refNodes ): #child-div1>#child-div2
535 PASS Fragment Element.matches: Adjacent sibling combinator, matching element tha t is an adjacent sibling of an element with id (with no refNodes): #adjacent-div 2+div
536 PASS Fragment Element.matches: Adjacent sibling combinator, matching element wit h id that is an adjacent sibling of an element (with no refNodes): div+#adjacent -div4
537 PASS Fragment Element.matches: Adjacent sibling combinator, matching element wit h id that is an adjacent sibling of an element with id (with no refNodes): #adja cent-div2+#adjacent-div4
538 PASS Fragment Element.matches: Adjacent sibling combinator, matching element wit h class that is an adjacent sibling of an element with id (with no refNodes): #a djacent-div2+.adjacent-div4
539 PASS Fragment Element.matches: Adjacent sibling combinator, matching element wit h class that is an adjacent sibling of an element with class (with no refNodes): .adjacent-div2+.adjacent-div4
540 PASS Fragment Element.matches: Adjacent sibling combinator, matching p element t hat is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
541 PASS Fragment Element.matches: Adjacent sibling combinator, surrounded by whites pace (with no refNodes): #adjacent-p2 \r
542 + \r
543 #adjacent-p3
544 PASS Fragment Element.matches: Adjacent sibling combinator, whitespace after (wi th no refNodes): #adjacent-p2+ \r
545 #adjacent-p3
546 PASS Fragment Element.matches: Adjacent sibling combinator, whitespace before (w ith no refNodes): #adjacent-p2 \r
547 +#adjacent-p3
548 PASS Fragment Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
549 PASS Fragment Element.matches: General sibling combinator, matching element that is a sibling of an element with id (with no refNodes): #sibling-div2~div
550 PASS Fragment Element.matches: General sibling combinator, matching element with id that is a sibling of an element (with no refNodes): div~#sibling-div4
551 PASS Fragment Element.matches: General sibling combinator, matching element with id that is a sibling of an element with id (with no refNodes): #sibling-div2~#s ibling-div4
552 PASS Fragment Element.matches: General sibling combinator, matching element with class that is a sibling of an element with id (with no refNodes): #sibling-div2 ~.sibling-div
553 PASS Fragment Element.matches: General sibling combinator, matching p element th at is a sibling of a div element (with no refNodes): #sibling div~p
554 PASS Fragment Element.matches: General sibling combinator, surrounded by whitesp ace (with no refNodes): #sibling-p2 \r
555 ~ \r
556 #sibling-p3
557 PASS Fragment Element.matches: General sibling combinator, whitespace after (wit h no refNodes): #sibling-p2~ \r
558 #sibling-p3
559 PASS Fragment Element.matches: General sibling combinator, whitespace before (wi th no refNodes): #sibling-p2 \r
560 ~#sibling-p3
561 PASS Fragment Element.matches: General sibling combinator, no whitespace (with n o refNodes): #sibling-p2~#sibling-p3
562 PASS Fragment Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em \r
563 , \r
564 #group strong
565 PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em, \r
566 #group strong
567 PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em \r
568 ,#group strong
569 PASS Fragment Element.matches: Syntax, group of selectors separator, no whitespa ce (with no refNodes): #group em,#group strong
570 FAIL In-document Element.matches: Universal selector, matching all children of t he specified reference element (with refNode Element): >* Failed to execute 'mat ches' on 'Element': '>*' is not a valid selector.
571 FAIL In-document Element.matches: Universal selector, matching all grandchildren of the specified reference element (with refNode Element): >*>* Failed to execu te 'matches' on 'Element': '>*>*' is not a valid selector.
572 FAIL In-document Element.matches: Universal selector, matching all descendants o f the specified reference element (with refNode Element): * assert_false: The el ement #universal should not match the selector. expected false got true
573 PASS In-document Element.matches: Attribute presence selector, matching align at tribute with value (with refNode Element): .attr-presence-div1[align]
574 PASS In-document Element.matches: Attribute presence selector, matching align at tribute with empty value (with refNode Element): .attr-presence-div2[align]
575 PASS In-document Element.matches: Attribute presence selector, matching title at tribute, case insensitivity (with refNode Element): [TiTlE]
576 PASS In-document Element.matches: Attribute presence selector, matching custom d ata-* attribute (with refNode Element): [data-attr-presence]
577 PASS In-document Element.matches: Attribute presence selector, matching attribut e with non-ASCII characters (with refNode Element): ul[data-中文]
578 PASS In-document Element.matches: Attribute presence selector, matching option w ith selected attribute (with refNode Element): #attr-presence-select2 option[sel ected]
579 PASS In-document Element.matches: Attribute presence selector, matching multiple options with selected attributes (with refNode Element): #attr-presence-select3 option[selected]
580 PASS In-document Element.matches: Attribute value selector, matching align attri bute with value (with refNode Element): [align="center"]
581 PASS In-document Element.matches: Attribute value selector, matching align attri bute with empty value (with refNode Element): [align=""]
582 PASS In-document Element.matches: Attribute value selector, matching custom data -* attribute with unicode escaped value (with refNode Element): [data-attr-value ="\e9"]
583 PASS In-document Element.matches: Attribute value selector, matching custom data -* attribute with escaped character (with refNode Element): [data-attr-value_foo ="\e9"]
584 PASS In-document Element.matches: Attribute value selector with single-quoted va lue, matching multiple inputs with type attributes (with refNode Element): input [type='hidden'],#attr-value input[type='radio']
585 PASS In-document Element.matches: Attribute value selector with double-quoted va lue, matching multiple inputs with type attributes (with refNode Element): input [type="hidden"],#attr-value input[type='radio']
586 PASS In-document Element.matches: Attribute value selector with unquoted value, matching multiple inputs with type attributes (with refNode Element): input[type =hidden],#attr-value input[type=radio]
587 PASS In-document Element.matches: Attribute value selector, matching attribute w ith value using non-ASCII characters (with refNode Element): [data-attr-value=中文 ]
588 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching class attribute with value (with refNode Element): [class~="div1"]
589 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching custom data-* attribute with unicode escaped value (with refNode Elemen t): [data-attr-whitespace~="\0000e9"]
590 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching custom data-* attribute with escaped character (with refNode Element): [data-attr-whitespace_foo~="\e9"]
591 PASS In-document Element.matches: Attribute whitespace-separated list selector w ith single-quoted value, matching multiple links with rel attributes (with refNo de Element): a[rel~='bookmark'], #attr-whitespace a[rel~='nofollow']
592 PASS In-document Element.matches: Attribute whitespace-separated list selector w ith double-quoted value, matching multiple links with rel attributes (with refNo de Element): a[rel~="bookmark"],#attr-whitespace a[rel~='nofollow']
593 PASS In-document Element.matches: Attribute whitespace-separated list selector w ith unquoted value, matching multiple links with rel attributes (with refNode El ement): a[rel~=bookmark], #attr-whitespace a[rel~=nofollow]
594 PASS In-document Element.matches: Attribute whitespace-separated list selector, matching title attribute with value using non-ASCII characters (with refNode Ele ment): [title~=中文]
595 PASS In-document Element.matches: Attribute hyphen-separated list selector, matc hing lang attribute with exact value (with refNode Element): #attr-hyphen-div2[l ang|="fr"]
596 PASS In-document Element.matches: Attribute hyphen-separated list selector, matc hing lang attribute with partial value (with refNode Element): #attr-hyphen-div3 [lang|="en"]
597 PASS In-document Element.matches: Attribute begins with selector, matching href attributes beginning with specified substring (with refNode Element): a[href^="h ttp://www"]
598 PASS In-document Element.matches: Attribute begins with selector, matching lang attributes beginning with specified substring, (with refNode Element): [lang^=" en-"]
599 PASS In-document Element.matches: Attribute begins with selector with single-quo ted value, matching class attribute beginning with specified substring (with ref Node Element): [class^=' apple']
600 PASS In-document Element.matches: Attribute begins with selector with double-quo ted value, matching class attribute beginning with specified substring (with ref Node Element): [class^=" apple"]
601 PASS In-document Element.matches: Attribute ends with selector, matching href at tributes ending with specified substring (with refNode Element): a[href$=".org"]
602 PASS In-document Element.matches: Attribute ends with selector, matching lang at tributes ending with specified substring, (with refNode Element): [lang$="-CH"]
603 PASS In-document Element.matches: Attribute ends with selector with single-quote d value, matching class attribute ending with specified substring (with refNode Element): [class$='apple ']
604 PASS In-document Element.matches: Attribute ends with selector with double-quote d value, matching class attribute ending with specified substring (with refNode Element): [class$="apple "]
605 PASS In-document Element.matches: Attribute contains selector, matching href att ributes beginning with specified substring (with refNode Element): a[href*="http ://www"]
606 PASS In-document Element.matches: Attribute contains selector, matching href att ributes ending with specified substring (with refNode Element): a[href*=".org"]
607 PASS In-document Element.matches: Attribute contains selector, matching href att ributes containing specified substring (with refNode Element): a[href*=".example ."]
608 PASS In-document Element.matches: Attribute contains selector, matching lang att ributes beginning with specified substring, (with refNode Element): [lang*="en- "]
609 PASS In-document Element.matches: Attribute contains selector, matching lang att ributes ending with specified substring, (with refNode Element): [lang*="-CH"]
610 PASS In-document Element.matches: Attribute contains selector with single-quoted value, matching class attribute beginning with specified substring (with refNod e Element): [class*=' apple']
611 PASS In-document Element.matches: Attribute contains selector with single-quoted value, matching class attribute ending with specified substring (with refNode E lement): [class*='orange ']
612 PASS In-document Element.matches: Attribute contains selector with single-quoted value, matching class attribute containing specified substring (with refNode El ement): [class*='ple banana ora']
613 PASS In-document Element.matches: Attribute contains selector with double-quoted value, matching class attribute beginning with specified substring (with refNod e Element): [class*=" apple"]
614 PASS In-document Element.matches: Attribute contains selector with double-quoted value, matching class attribute ending with specified substring (with refNode E lement): [class*="orange "]
615 PASS In-document Element.matches: Attribute contains selector with double-quoted value, matching class attribute containing specified substring (with refNode El ement): [class*="ple banana ora"]
616 PASS In-document Element.matches: Attribute contains selector with unquoted valu e, matching class attribute beginning with specified substring (with refNode Ele ment): [class*= apple]
617 PASS In-document Element.matches: Attribute contains selector with unquoted valu e, matching class attribute ending with specified substring (with refNode Elemen t): [class*=orange ]
618 PASS In-document Element.matches: Attribute contains selector with unquoted valu e, matching class attribute containing specified substring (with refNode Element ): [class*= banana ]
619 PASS In-document Element.matches: :nth-child selector, matching the third child element (with refNode Element): :nth-child(3)
620 PASS In-document Element.matches: :nth-child selector, matching every third chil d element (with refNode Element): li:nth-child(3n)
621 PASS In-document Element.matches: :nth-child selector, matching every second chi ld element, starting from the fourth (with refNode Element): li:nth-child(2n+4)
622 PASS In-document Element.matches: :nth-child selector, matching every fourth chi ld element, starting from the third (with refNode Element): :nth-child(4n-1)
623 PASS In-document Element.matches: :nth-last-child selector, matching the third l ast child element (with refNode Element): :nth-last-child(3)
624 PASS In-document Element.matches: :nth-last-child selector, matching every third child element from the end (with refNode Element): li:nth-last-child(3n)
625 PASS In-document Element.matches: :nth-last-child selector, matching every secon d child element from the end, starting from the fourth last (with refNode Elemen t): li:nth-last-child(2n+4)
626 PASS In-document Element.matches: :nth-last-child selector, matching every fourt h element from the end, starting from the third last (with refNode Element): :nt h-last-child(4n-1)
627 PASS In-document Element.matches: :nth-of-type selector, matching the third em e lement (with refNode Element): em:nth-of-type(3)
628 PASS In-document Element.matches: :nth-of-type selector, matching every second e lement of their type (with refNode Element): :nth-of-type(2n)
629 PASS In-document Element.matches: :nth-of-type selector, matching every second e lemetn of their type, starting from the first (with refNode Element): span:nth-o f-type(2n-1)
630 PASS In-document Element.matches: :nth-last-of-type selector, matching the thrid last em element (with refNode Element): em:nth-last-of-type(3)
631 PASS In-document Element.matches: :nth-last-of-type selector, matching every sec ond last element of their type (with refNode Element): :nth-last-of-type(2n)
632 PASS In-document Element.matches: :nth-last-of-type selector, matching every sec ond last element of their type, starting from the last (with refNode Element): s pan:nth-last-of-type(2n-1)
633 PASS In-document Element.matches: :first-of-type selector, matching the first em element (with refNode Element): em:first-of-type
634 PASS In-document Element.matches: :first-of-type selector, matching the first of every type of element (with refNode Element): :first-of-type
635 PASS In-document Element.matches: :first-of-type selector, matching the first td element in each table row (with refNode Element): tr :first-of-type
636 PASS In-document Element.matches: :last-of-type selector, matching the last em e lemnet (with refNode Element): em:last-of-type
637 PASS In-document Element.matches: :last-of-type selector, matching the last of e very type of element (with refNode Element): :last-of-type
638 PASS In-document Element.matches: :last-of-type selector, matching the last td e lement in each table row (with refNode Element): tr :last-of-type
639 PASS In-document Element.matches: :first-child pseudo-class selector, matching f irst child div element (with refNode Element): div:first-child
640 PASS In-document Element.matches: :first-child pseudo-class selector, matching f irst-child of multiple elements (with refNode Element): span:first-child
641 PASS In-document Element.matches: :last-child pseudo-class selector, matching la st child div element (with refNode Element): div:last-child
642 PASS In-document Element.matches: :last-child pseudo-class selector, matching fi rst-child of multiple elements (with refNode Element): span:last-child
643 PASS In-document Element.matches: :pseudo-only-child pseudo-class selector, matc hing all only-child elements (with refNode Element): :only-child
644 PASS In-document Element.matches: :pseudo-only-of-type pseudo-class selector, ma tching all elements with no siblings of the same type (with refNode Element): : only-of-type
645 PASS In-document Element.matches: :pseudo-only-of-type pseudo-class selector, ma tching em elements with no siblings of the same type (with refNode Element): em :only-of-type
646 PASS In-document Element.matches: :empty pseudo-class selector, matching empty p elements (with refNode Element): p:empty
647 PASS In-document Element.matches: :empty pseudo-class selector, matching all emp ty elements (with refNode Element): :empty
648 PASS In-document Element.matches: :link and :visited pseudo-class selectors, mat ching a and area elements with href attributes (with refNode Element): :link, # pseudo-link :visited
649 FAIL In-document Element.matches: :link and :visited pseudo-class selectors, mat ching link elements with href attributes (with refNode Element): :link, #head : visited assert_true: The element #pseudo-link-link1 should match the selector. e xpected true got false
650 PASS In-document Element.matches: :lang pseudo-class selector, matching inherite d language (1) (with no refNodes): #pseudo-lang-div1:lang(en)
651 PASS In-document Element.matches: :lang pseudo-class selector, matching specifie d language with exact value (1) (with no refNodes): #pseudo-lang-div2:lang(fr)
652 PASS In-document Element.matches: :lang pseudo-class selector, matching specifie d language with partial value (1) (with no refNodes): #pseudo-lang-div3:lang(en)
653 PASS In-document Element.matches: :enabled pseudo-class selector, matching all e nabled form controls (1) (with no refNodes): #pseudo-ui :enabled
654 PASS In-document Element.matches: :enabled pseudo-class selector, matching all d isabled form controls (1) (with no refNodes): #pseudo-ui :disabled
655 PASS In-document Element.matches: :checked pseudo-class selector, matching check ed radio buttons and checkboxes (1) (with no refNodes): #pseudo-ui :checked
656 PASS In-document Element.matches: :not pseudo-class selector, matching (1) (with no refNodes): #not>:not(div)
657 PASS In-document Element.matches: :not pseudo-class selector, matching (1) (with no refNodes): #not * :not(:first-child)
658 PASS In-document Element.matches: Class selector, matching element with specifie d class (1) (with no refNodes): .class-p
659 PASS In-document Element.matches: Class selector, chained, matching only element s with all specified classes (1) (with no refNodes): #class .apple.orange.banana
660 PASS In-document Element.matches: Class Selector, chained, with type selector (1 ) (with no refNodes): div.apple.banana.orange
661 PASS In-document Element.matches: Class selector, matching element with class va lue using non-ASCII characters (2) (with no refNodes): .台北Táiběi
662 PASS In-document Element.matches: Class selector, matching multiple elements wit h class value using non-ASCII characters (1) (with no refNodes): .台北
663 PASS In-document Element.matches: Class selector, chained, matching element with multiple class values using non-ASCII characters (2) (with no refNodes): .台北Tá iběi.台北
664 PASS In-document Element.matches: Class selector, matching element with class wi th escaped character (1) (with no refNodes): .foo\:bar
665 PASS In-document Element.matches: Class selector, matching element with class wi th escaped character (1) (with no refNodes): .test\.foo\[5\]bar
666 PASS In-document Element.matches: ID selector, matching element with specified i d (1) (with no refNodes): #id #id-div1
667 PASS In-document Element.matches: ID selector, chained, matching element with sp ecified id (1) (with no refNodes): #id-div1, #id-div1
668 PASS In-document Element.matches: ID selector, chained, matching element with sp ecified id (1) (with no refNodes): #id-div1, #id-div2
669 PASS In-document Element.matches: ID Selector, chained, with type selector (1) ( with no refNodes): div#id-div1, div#id-div2
670 PASS In-document Element.matches: ID selector, matching multiple elements with d uplicate id (1) (with no refNodes): #id-li-duplicate
671 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (3) (with no refNodes): #台北Táiběi
672 PASS In-document Element.matches: ID selector, matching id value using non-ASCII characters (4) (with no refNodes): #台北
673 PASS In-document Element.matches: ID selector, matching id values using non-ASCI I characters (2) (with no refNodes): #台北Táiběi, #台北
674 PASS In-document Element.matches: Descendant combinator, matching element that i s a descendant of an element with id (1) (with no refNodes): #descendant div
675 PASS In-document Element.matches: Descendant combinator, matching element with i d that is a descendant of an element (1) (with no refNodes): body #descendant-di v1
676 PASS In-document Element.matches: Descendant combinator, matching element with i d that is a descendant of an element (1) (with no refNodes): div #descendant-div 1
677 PASS In-document Element.matches: Descendant combinator, matching element with i d that is a descendant of an element with id (1) (with no refNodes): #descendant #descendant-div2
678 PASS In-document Element.matches: Descendant combinator, matching element with c lass that is a descendant of an element with id (1) (with no refNodes): #descend ant .descendant-div2
679 PASS In-document Element.matches: Descendant combinator, matching element with c lass that is a descendant of an element with class (1) (with no refNodes): .desc endant-div1 .descendant-div3
680 PASS In-document Element.matches: Descendant combinator, whitespace characters ( 1) (with no refNodes): #descendant \r
681 #descendant-div2
682 FAIL In-document Element.matches: Descendant combinator '>>', matching element t hat is a descendant of an element with id (1) (with no refNodes): #descendant>>d iv Failed to execute 'matches' on 'Element': '#descendant>>div' is not a valid s elector.
683 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith id that is a descendant of an element (1) (with no refNodes): body>>#descend ant-div1 Failed to execute 'matches' on 'Element': 'body>>#descendant-div1' is n ot a valid selector.
684 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith id that is a descendant of an element (1) (with no refNodes): div>>#descenda nt-div1 Failed to execute 'matches' on 'Element': 'div>>#descendant-div1' is not a valid selector.
685 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith id that is a descendant of an element with id (1) (with no refNodes): #desce ndant>>#descendant-div2 Failed to execute 'matches' on 'Element': '#descendant>> #descendant-div2' is not a valid selector.
686 FAIL In-document Element.matches: Descendant combinator '>>', matching element w ith class that is a descendant of an element with id (1) (with no refNodes): #de scendant>>.descendant-div2 Failed to execute 'matches' on 'Element': '#descendan t>>.descendant-div2' is not a valid selector.
687 FAIL In-document Element.matches: Descendant combinator, '>>', matching element with class that is a descendant of an element with class (1) (with no refNodes): .descendant-div1>>.descendant-div3 Failed to execute 'matches' on 'Element': '. descendant-div1>>.descendant-div3' is not a valid selector.
688 PASS In-document Element.matches: Child combinator, matching element that is a c hild of an element with id (1) (with no refNodes): #child>div
689 PASS In-document Element.matches: Child combinator, matching element with id tha t is a child of an element (1) (with no refNodes): div>#child-div1
690 PASS In-document Element.matches: Child combinator, matching element with id tha t is a child of an element with id (1) (with no refNodes): #child>#child-div1
691 PASS In-document Element.matches: Child combinator, matching element with id tha t is a child of an element with class (1) (with no refNodes): #child-div1>.child -div2
692 PASS In-document Element.matches: Child combinator, matching element with class that is a child of an element with class (1) (with no refNodes): .child-div1>.ch ild-div2
693 PASS In-document Element.matches: Child combinator, surrounded by whitespace (1) (with no refNodes): #child-div1 \r
694 > \r
695 #child-div2
696 PASS In-document Element.matches: Child combinator, whitespace after (1) (with n o refNodes): #child-div1> \r
697 #child-div2
698 PASS In-document Element.matches: Child combinator, whitespace before (1) (with no refNodes): #child-div1 \r
699 >#child-div2
700 PASS In-document Element.matches: Child combinator, no whitespace (1) (with no r efNodes): #child-div1>#child-div2
701 PASS In-document Element.matches: Adjacent sibling combinator, matching element that is an adjacent sibling of an element with id (1) (with no refNodes): #adjac ent-div2+div
702 PASS In-document Element.matches: Adjacent sibling combinator, matching element with id that is an adjacent sibling of an element (1) (with no refNodes): div+#a djacent-div4
703 PASS In-document Element.matches: Adjacent sibling combinator, matching element with id that is an adjacent sibling of an element with id (1) (with no refNodes) : #adjacent-div2+#adjacent-div4
704 PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with id (1) (with no refNod es): #adjacent-div2+.adjacent-div4
705 PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with class (1) (with no ref Nodes): .adjacent-div2+.adjacent-div4
706 PASS In-document Element.matches: Adjacent sibling combinator, matching p elemen t that is an adjacent sibling of a div element (1) (with no refNodes): #adjacent div+p
707 PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whi tespace (1) (with no refNodes): #adjacent-p2 \r
708 + \r
709 #adjacent-p3
710 PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (1) (with no refNodes): #adjacent-p2+ \r
711 #adjacent-p3
712 PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (1) (with no refNodes): #adjacent-p2 \r
713 +#adjacent-p3
714 PASS In-document Element.matches: Adjacent sibling combinator, no whitespace (1) (with no refNodes): #adjacent-p2+#adjacent-p3
715 PASS In-document Element.matches: General sibling combinator, matching element t hat is a sibling of an element with id (1) (with no refNodes): #sibling-div2~div
716 PASS In-document Element.matches: General sibling combinator, matching element w ith id that is a sibling of an element (1) (with no refNodes): div~#sibling-div4
717 PASS In-document Element.matches: General sibling combinator, matching element w ith id that is a sibling of an element with id (1) (with no refNodes): #sibling- div2~#sibling-div4
718 PASS In-document Element.matches: General sibling combinator, matching element w ith class that is a sibling of an element with id (1) (with no refNodes): #sibli ng-div2~.sibling-div
719 PASS In-document Element.matches: General sibling combinator, matching p element that is a sibling of a div element (1) (with no refNodes): #sibling div~p
720 PASS In-document Element.matches: General sibling combinator, surrounded by whit espace (1) (with no refNodes): #sibling-p2 \r
721 ~ \r
722 #sibling-p3
723 PASS In-document Element.matches: General sibling combinator, whitespace after ( 1) (with no refNodes): #sibling-p2~ \r
724 #sibling-p3
725 PASS In-document Element.matches: General sibling combinator, whitespace before (1) (with no refNodes): #sibling-p2 \r
726 ~#sibling-p3
727 PASS In-document Element.matches: General sibling combinator, no whitespace (1) (with no refNodes): #sibling-p2~#sibling-p3
728 PASS In-document Element.matches: Syntax, group of selectors separator, surround ed by whitespace (1) (with no refNodes): #group em \r
729 , \r
730 #group strong
731 PASS In-document Element.matches: Syntax, group of selectors separator, whitespa ce after (1) (with no refNodes): #group em, \r
732 #group strong
733 PASS In-document Element.matches: Syntax, group of selectors separator, whitespa ce before (1) (with no refNodes): #group em \r
734 ,#group strong
735 PASS In-document Element.matches: Syntax, group of selectors separator, no white space (1) (with no refNodes): #group em,#group strong
736 Harness: the test ran to completion.
737
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698