Changeset 221788 in webkit
- Timestamp:
- Sep 8, 2017, 9:35:45 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 10 deleted
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r221786 r221788 1 2017-09-08 Antti Koivisto <antti@apple.com> 2 3 Remove support for >> descendant combinator syntax 4 https://bugs.webkit.org/show_bug.cgi?id=175765 5 6 Reviewed by Sam Weinig. 7 8 * fast/css/ancestor-of-hovered-element-removed.html: 9 * fast/css/css-selector-text-expected.txt: 10 * fast/css/css-selector-text.html: 11 * fast/css/css-set-selector-text-expected.txt: 12 * fast/css/css-set-selector-text.html: 13 * fast/css/currentColor-value-style-update.html: 14 * fast/css/descendant-combinator-doubled-child-syntax-styling-expected.html: Removed. 15 * fast/css/descendant-combinator-doubled-child-syntax-styling.html: Removed. 16 * fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt: 17 * fast/css/parsing-css-attribute-case-insensitive-value-1.html: 18 * fast/css/parsing-css-attribute-case-insensitive-value-4-expected.txt: 19 * fast/css/parsing-css-attribute-case-insensitive-value-4.html: 20 * fast/css/parsing-css-descendant-combinator-doubled-child-syntax-expected.txt: Removed. 21 * fast/css/parsing-css-descendant-combinator-doubled-child-syntax.html: Removed. 22 * fast/selectors/case-insensitive-attribute-register-requirement-2.html: 23 * fast/selectors/element-closest-descendant-combinator-doubled-child-syntax-expected.txt: Removed. 24 * fast/selectors/element-closest-descendant-combinator-doubled-child-syntax.html: Removed. 25 * fast/selectors/element-matches-attribute-ascii-case-insensitive-html.html: 26 * fast/selectors/element-matches-descendant-combinator-doubled-child-syntax-expected.txt: Removed. 27 * fast/selectors/element-matches-descendant-combinator-doubled-child-syntax.html: Removed. 28 * fast/selectors/id-attribute-querySelector-used-as-id-selector-quirks.html: 29 * fast/selectors/id-attribute-querySelector-used-as-id-selector.html: 30 * fast/selectors/nth-child-matching-first.html: 31 * fast/selectors/nth-last-child-matching-first.html: 32 * fast/selectors/querySelector-attribute-ascii-case-insensitive-html.html: 33 * fast/selectors/querySelector-descendant-combinator-doubled-child-syntax-expected.txt: Removed. 34 * fast/selectors/querySelector-descendant-combinator-doubled-child-syntax.html: Removed. 35 1 36 2017-09-08 Per Arne Vollan <pvollan@apple.com> 2 37 -
trunk/LayoutTests/fast/css/ancestor-of-hovered-element-removed.html
r203321 r221788 11 11 background-color: rgb(50, 100, 150) !important; 12 12 } 13 #prime-ancestor >>div {13 #prime-ancestor div { 14 14 width: 100px; 15 15 height: 100px; -
trunk/LayoutTests/fast/css/css-selector-text-expected.txt
r209547 r221788 32 32 PASS parseThenSerializeRule('a:active { }') is 'a:active { }' 33 33 PASS parseThenSerializeRule('a b { }') is 'a b { }' 34 PASS parseThenSerializeRule('a >> b { }') is 'a >> b { }'35 34 PASS parseThenSerializeRule('a + b { }') is 'a + b { }' 36 35 PASS parseThenSerializeRule('a ~ b { }') is 'a ~ b { }' … … 257 256 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"]:focus { }' 258 257 259 PASS parseThenSerializeRule('a>>b { }') is 'a >> b { }'260 PASS parseThenSerializeRule('a >>b { }') is 'a >> b { }'261 PASS parseThenSerializeRule('a >>b { }') is 'a >> b { }'262 PASS parseThenSerializeRule('a>> b { }') is 'a >> b { }'263 PASS parseThenSerializeRule('a>> b { }') is 'a >> b { }'264 PASS parseThenSerializeRule('a >> b { }') is 'a >> b { }'265 258 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' 266 259 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' -
trunk/LayoutTests/fast/css/css-selector-text.html
r209547 r221788 85 85 testSelectorRoundTrip('a:active'); 86 86 testSelectorRoundTrip('a b'); 87 testSelectorRoundTrip('a >> b');88 87 testSelectorRoundTrip('a + b'); 89 88 testSelectorRoundTrip('a ~ b'); … … 362 361 debug(''); 363 362 364 shouldBe("parseThenSerializeRule('a>>b { }')", "'a >> b { }'");365 shouldBe("parseThenSerializeRule('a >>b { }')", "'a >> b { }'");366 shouldBe("parseThenSerializeRule('a >>b { }')", "'a >> b { }'");367 shouldBe("parseThenSerializeRule('a>> b { }')", "'a >> b { }'");368 shouldBe("parseThenSerializeRule('a>> b { }')", "'a >> b { }'");369 shouldBe("parseThenSerializeRule('a >> b { }')", "'a >> b { }'");370 363 shouldBe("parseThenSerializeRule('a+b { }')", "'a + b { }'"); 371 364 shouldBe("parseThenSerializeRule('a~b { }')", "'a ~ b { }'"); -
trunk/LayoutTests/fast/css/css-set-selector-text-expected.txt
r209547 r221788 42 42 PASS setThenReadSelectorText('a:active') is 'a:active' 43 43 PASS setThenReadSelectorText('a b') is 'a b' 44 PASS setThenReadSelectorText('a >> b') is 'a >> b'45 44 PASS setThenReadSelectorText('a + b') is 'a + b' 46 45 PASS setThenReadSelectorText('a ~ b') is 'a ~ b' … … 252 251 PASS setThenReadSelectorText('input[type=file]:focus') is 'input[type="file"]:focus' 253 252 254 PASS setThenReadSelectorText('a>>b') is 'a >> b'255 PASS setThenReadSelectorText('a >>b') is 'a >> b'256 PASS setThenReadSelectorText('a >>b') is 'a >> b'257 PASS setThenReadSelectorText('a>> b') is 'a >> b'258 PASS setThenReadSelectorText('a>> b') is 'a >> b'259 PASS setThenReadSelectorText('a >> b') is 'a >> b'260 253 PASS setThenReadSelectorText('a+b') is 'a + b' 261 254 PASS setThenReadSelectorText('a~b') is 'a ~ b' -
trunk/LayoutTests/fast/css/css-set-selector-text.html
r209547 r221788 102 102 testSelectorRoundTrip('a:active'); 103 103 testSelectorRoundTrip('a b'); 104 testSelectorRoundTrip('a >> b');105 104 testSelectorRoundTrip('a + b'); 106 105 testSelectorRoundTrip('a ~ b'); … … 359 358 debug(''); 360 359 361 shouldBe("setThenReadSelectorText('a>>b')", "'a >> b'");362 shouldBe("setThenReadSelectorText('a >>b')", "'a >> b'");363 shouldBe("setThenReadSelectorText('a >>b')", "'a >> b'");364 shouldBe("setThenReadSelectorText('a>> b')", "'a >> b'");365 shouldBe("setThenReadSelectorText('a>> b')", "'a >> b'");366 shouldBe("setThenReadSelectorText('a >> b')", "'a >> b'");367 360 shouldBe("setThenReadSelectorText('a+b')", "'a + b'"); 368 361 shouldBe("setThenReadSelectorText('a~b')", "'a ~ b'"); -
trunk/LayoutTests/fast/css/currentColor-value-style-update-expected.txt
r182130 r221788 6 6 7 7 Initial state. 8 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).borderColor is "rgb(4, 5, 6)"9 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).backgroundColor is "rgb(4, 5, 6)"10 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).borderColor is "rgb(4, 5, 6)"11 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).backgroundColor is "rgb(4, 5, 6)"12 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).borderColor is "rgb(4, 5, 6)"13 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).backgroundColor is "rgb(4, 5, 6)"14 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).borderColor is "rgb(4, 5, 6)"15 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).backgroundColor is "rgb(4, 5, 6)"8 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).borderColor is "rgb(4, 5, 6)" 9 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).backgroundColor is "rgb(4, 5, 6)" 10 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).borderColor is "rgb(4, 5, 6)" 11 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).backgroundColor is "rgb(4, 5, 6)" 12 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).borderColor is "rgb(4, 5, 6)" 13 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).backgroundColor is "rgb(4, 5, 6)" 14 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).borderColor is "rgb(4, 5, 6)" 15 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).backgroundColor is "rgb(4, 5, 6)" 16 16 17 17 Let's override the style of the wrapper through their style object. 18 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).borderColor is "rgb(7, 8, 9)"19 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).backgroundColor is "rgb(7, 8, 9)"20 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).borderColor is "rgb(7, 8, 9)"21 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).backgroundColor is "rgb(7, 8, 9)"22 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).borderColor is "rgb(7, 8, 9)"23 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).backgroundColor is "rgb(7, 8, 9)"24 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).borderColor is "rgb(7, 8, 9)"25 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).backgroundColor is "rgb(7, 8, 9)"18 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).borderColor is "rgb(7, 8, 9)" 19 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).backgroundColor is "rgb(7, 8, 9)" 20 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).borderColor is "rgb(7, 8, 9)" 21 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).backgroundColor is "rgb(7, 8, 9)" 22 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).borderColor is "rgb(7, 8, 9)" 23 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).backgroundColor is "rgb(7, 8, 9)" 24 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).borderColor is "rgb(7, 8, 9)" 25 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).backgroundColor is "rgb(7, 8, 9)" 26 26 27 27 Let's remove the style attribute on the wrapper. 28 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).borderColor is "rgb(4, 5, 6)"29 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).backgroundColor is "rgb(4, 5, 6)"30 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).borderColor is "rgb(4, 5, 6)"31 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).backgroundColor is "rgb(4, 5, 6)"32 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).borderColor is "rgb(4, 5, 6)"33 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).backgroundColor is "rgb(4, 5, 6)"34 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).borderColor is "rgb(4, 5, 6)"35 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).backgroundColor is "rgb(4, 5, 6)"28 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).borderColor is "rgb(4, 5, 6)" 29 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).backgroundColor is "rgb(4, 5, 6)" 30 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).borderColor is "rgb(4, 5, 6)" 31 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).backgroundColor is "rgb(4, 5, 6)" 32 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).borderColor is "rgb(4, 5, 6)" 33 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).backgroundColor is "rgb(4, 5, 6)" 34 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).borderColor is "rgb(4, 5, 6)" 35 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).backgroundColor is "rgb(4, 5, 6)" 36 36 37 37 Let's remove class on the wrappers. 38 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).borderColor is "rgb(1, 2, 3)"39 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).backgroundColor is "rgb(1, 2, 3)"40 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).borderColor is "rgb(1, 2, 3)"41 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).backgroundColor is "rgb(1, 2, 3)"42 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).borderColor is "rgb(1, 2, 3)"43 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).backgroundColor is "rgb(1, 2, 3)"44 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).borderColor is "rgb(1, 2, 3)"45 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).backgroundColor is "rgb(1, 2, 3)"38 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).borderColor is "rgb(1, 2, 3)" 39 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).backgroundColor is "rgb(1, 2, 3)" 40 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).borderColor is "rgb(1, 2, 3)" 41 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).backgroundColor is "rgb(1, 2, 3)" 42 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).borderColor is "rgb(1, 2, 3)" 43 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).backgroundColor is "rgb(1, 2, 3)" 44 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).borderColor is "rgb(1, 2, 3)" 45 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).backgroundColor is "rgb(1, 2, 3)" 46 46 47 47 Then add it back. 48 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).borderColor is "rgb(4, 5, 6)"49 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[0]).backgroundColor is "rgb(4, 5, 6)"50 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).borderColor is "rgb(4, 5, 6)"51 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[1]).backgroundColor is "rgb(4, 5, 6)"52 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).borderColor is "rgb(4, 5, 6)"53 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[2]).backgroundColor is "rgb(4, 5, 6)"54 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).borderColor is "rgb(4, 5, 6)"55 PASS getComputedStyle(document.querySelectorAll(".test-case >>target")[3]).backgroundColor is "rgb(4, 5, 6)"48 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).borderColor is "rgb(4, 5, 6)" 49 PASS getComputedStyle(document.querySelectorAll(".test-case target")[0]).backgroundColor is "rgb(4, 5, 6)" 50 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).borderColor is "rgb(4, 5, 6)" 51 PASS getComputedStyle(document.querySelectorAll(".test-case target")[1]).backgroundColor is "rgb(4, 5, 6)" 52 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).borderColor is "rgb(4, 5, 6)" 53 PASS getComputedStyle(document.querySelectorAll(".test-case target")[2]).backgroundColor is "rgb(4, 5, 6)" 54 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).borderColor is "rgb(4, 5, 6)" 55 PASS getComputedStyle(document.querySelectorAll(".test-case target")[3]).backgroundColor is "rgb(4, 5, 6)" 56 56 PASS successfullyParsed is true 57 57 -
trunk/LayoutTests/fast/css/currentColor-value-style-update.html
r182130 r221788 18 18 jsTestIsAsync = true; 19 19 function testColor(expectedColor) { 20 var allTargets = document.querySelectorAll(".test-case >>target");20 var allTargets = document.querySelectorAll(".test-case target"); 21 21 for (var i = 0; i < allTargets.length; ++i) { 22 shouldBeEqualToString('getComputedStyle(document.querySelectorAll(".test-case >>target")[' + i + ']).borderColor', expectedColor);23 shouldBeEqualToString('getComputedStyle(document.querySelectorAll(".test-case >>target")[' + i + ']).backgroundColor', expectedColor);22 shouldBeEqualToString('getComputedStyle(document.querySelectorAll(".test-case target")[' + i + ']).borderColor', expectedColor); 23 shouldBeEqualToString('getComputedStyle(document.querySelectorAll(".test-case target")[' + i + ']).backgroundColor', expectedColor); 24 24 } 25 25 } -
trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt
r209545 r221788 14 14 PASS document.getElementById('style-container').sheet.cssRules.length is 1 15 15 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo=\"bar\" i]" 16 PASS document.querySelector("foo >>bar [foo=bar i]") did not throw exception.17 PASS document.querySelector("foo >>bar [*|foo=bar i]") did not throw exception.18 PASS document.querySelector("foo >>bar [|foo=bar i]") did not throw exception.19 PASS document.getElementById('style-container').sheet.cssRules.length is 1 20 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo=\"bar\" i]"21 PASS document.getElementById('style-container').sheet.cssRules.length is 1 22 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo=\"bar\" i]"23 PASS document.getElementById('style-container').sheet.cssRules.length is 1 24 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo=\"bar\" i]"16 PASS document.querySelector("foo bar [foo=bar i]") did not throw exception. 17 PASS document.querySelector("foo bar [*|foo=bar i]") did not throw exception. 18 PASS document.querySelector("foo bar [|foo=bar i]") did not throw exception. 19 PASS document.getElementById('style-container').sheet.cssRules.length is 1 20 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo=\"bar\" i]" 21 PASS document.getElementById('style-container').sheet.cssRules.length is 1 22 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo=\"bar\" i]" 23 PASS document.getElementById('style-container').sheet.cssRules.length is 1 24 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo=\"bar\" i]" 25 25 PASS document.querySelector(":nth-child(2n+1 of [foo=bar i])") did not throw exception. 26 26 PASS document.querySelector(":nth-child(2n+1 of [*|foo=bar i])") did not throw exception. … … 68 68 PASS document.getElementById('style-container').sheet.cssRules.length is 1 69 69 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo=\"bar\" i]" 70 PASS document.querySelector("foo >>bar [foo=\"bar\" i]") did not throw exception.71 PASS document.querySelector("foo >>bar [*|foo=\"bar\" i]") did not throw exception.72 PASS document.querySelector("foo >>bar [|foo=\"bar\" i]") did not throw exception.73 PASS document.getElementById('style-container').sheet.cssRules.length is 1 74 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo=\"bar\" i]"75 PASS document.getElementById('style-container').sheet.cssRules.length is 1 76 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo=\"bar\" i]"77 PASS document.getElementById('style-container').sheet.cssRules.length is 1 78 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo=\"bar\" i]"70 PASS document.querySelector("foo bar [foo=\"bar\" i]") did not throw exception. 71 PASS document.querySelector("foo bar [*|foo=\"bar\" i]") did not throw exception. 72 PASS document.querySelector("foo bar [|foo=\"bar\" i]") did not throw exception. 73 PASS document.getElementById('style-container').sheet.cssRules.length is 1 74 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo=\"bar\" i]" 75 PASS document.getElementById('style-container').sheet.cssRules.length is 1 76 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo=\"bar\" i]" 77 PASS document.getElementById('style-container').sheet.cssRules.length is 1 78 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo=\"bar\" i]" 79 79 PASS document.querySelector(":nth-child(2n+1 of [foo=\"bar\" i])") did not throw exception. 80 80 PASS document.querySelector(":nth-child(2n+1 of [*|foo=\"bar\" i])") did not throw exception. … … 122 122 PASS document.getElementById('style-container').sheet.cssRules.length is 1 123 123 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo~=\"bar\" i]" 124 PASS document.querySelector("foo >>bar [foo~=bar i]") did not throw exception.125 PASS document.querySelector("foo >>bar [*|foo~=bar i]") did not throw exception.126 PASS document.querySelector("foo >>bar [|foo~=bar i]") did not throw exception.127 PASS document.getElementById('style-container').sheet.cssRules.length is 1 128 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo~=\"bar\" i]"129 PASS document.getElementById('style-container').sheet.cssRules.length is 1 130 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo~=\"bar\" i]"131 PASS document.getElementById('style-container').sheet.cssRules.length is 1 132 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo~=\"bar\" i]"124 PASS document.querySelector("foo bar [foo~=bar i]") did not throw exception. 125 PASS document.querySelector("foo bar [*|foo~=bar i]") did not throw exception. 126 PASS document.querySelector("foo bar [|foo~=bar i]") did not throw exception. 127 PASS document.getElementById('style-container').sheet.cssRules.length is 1 128 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo~=\"bar\" i]" 129 PASS document.getElementById('style-container').sheet.cssRules.length is 1 130 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo~=\"bar\" i]" 131 PASS document.getElementById('style-container').sheet.cssRules.length is 1 132 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo~=\"bar\" i]" 133 133 PASS document.querySelector(":nth-child(2n+1 of [foo~=bar i])") did not throw exception. 134 134 PASS document.querySelector(":nth-child(2n+1 of [*|foo~=bar i])") did not throw exception. … … 176 176 PASS document.getElementById('style-container').sheet.cssRules.length is 1 177 177 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo~=\"bar\" i]" 178 PASS document.querySelector("foo >>bar [foo~=\"bar\" i]") did not throw exception.179 PASS document.querySelector("foo >>bar [*|foo~=\"bar\" i]") did not throw exception.180 PASS document.querySelector("foo >>bar [|foo~=\"bar\" i]") did not throw exception.181 PASS document.getElementById('style-container').sheet.cssRules.length is 1 182 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo~=\"bar\" i]"183 PASS document.getElementById('style-container').sheet.cssRules.length is 1 184 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo~=\"bar\" i]"185 PASS document.getElementById('style-container').sheet.cssRules.length is 1 186 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo~=\"bar\" i]"178 PASS document.querySelector("foo bar [foo~=\"bar\" i]") did not throw exception. 179 PASS document.querySelector("foo bar [*|foo~=\"bar\" i]") did not throw exception. 180 PASS document.querySelector("foo bar [|foo~=\"bar\" i]") did not throw exception. 181 PASS document.getElementById('style-container').sheet.cssRules.length is 1 182 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo~=\"bar\" i]" 183 PASS document.getElementById('style-container').sheet.cssRules.length is 1 184 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo~=\"bar\" i]" 185 PASS document.getElementById('style-container').sheet.cssRules.length is 1 186 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo~=\"bar\" i]" 187 187 PASS document.querySelector(":nth-child(2n+1 of [foo~=\"bar\" i])") did not throw exception. 188 188 PASS document.querySelector(":nth-child(2n+1 of [*|foo~=\"bar\" i])") did not throw exception. … … 230 230 PASS document.getElementById('style-container').sheet.cssRules.length is 1 231 231 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo|=\"bar\" i]" 232 PASS document.querySelector("foo >>bar [foo|=bar i]") did not throw exception.233 PASS document.querySelector("foo >>bar [*|foo|=bar i]") did not throw exception.234 PASS document.querySelector("foo >>bar [|foo|=bar i]") did not throw exception.235 PASS document.getElementById('style-container').sheet.cssRules.length is 1 236 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo|=\"bar\" i]"237 PASS document.getElementById('style-container').sheet.cssRules.length is 1 238 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo|=\"bar\" i]"239 PASS document.getElementById('style-container').sheet.cssRules.length is 1 240 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo|=\"bar\" i]"232 PASS document.querySelector("foo bar [foo|=bar i]") did not throw exception. 233 PASS document.querySelector("foo bar [*|foo|=bar i]") did not throw exception. 234 PASS document.querySelector("foo bar [|foo|=bar i]") did not throw exception. 235 PASS document.getElementById('style-container').sheet.cssRules.length is 1 236 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo|=\"bar\" i]" 237 PASS document.getElementById('style-container').sheet.cssRules.length is 1 238 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo|=\"bar\" i]" 239 PASS document.getElementById('style-container').sheet.cssRules.length is 1 240 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo|=\"bar\" i]" 241 241 PASS document.querySelector(":nth-child(2n+1 of [foo|=bar i])") did not throw exception. 242 242 PASS document.querySelector(":nth-child(2n+1 of [*|foo|=bar i])") did not throw exception. … … 284 284 PASS document.getElementById('style-container').sheet.cssRules.length is 1 285 285 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo|=\"bar\" i]" 286 PASS document.querySelector("foo >>bar [foo|=\"bar\" i]") did not throw exception.287 PASS document.querySelector("foo >>bar [*|foo|=\"bar\" i]") did not throw exception.288 PASS document.querySelector("foo >>bar [|foo|=\"bar\" i]") did not throw exception.289 PASS document.getElementById('style-container').sheet.cssRules.length is 1 290 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo|=\"bar\" i]"291 PASS document.getElementById('style-container').sheet.cssRules.length is 1 292 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo|=\"bar\" i]"293 PASS document.getElementById('style-container').sheet.cssRules.length is 1 294 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo|=\"bar\" i]"286 PASS document.querySelector("foo bar [foo|=\"bar\" i]") did not throw exception. 287 PASS document.querySelector("foo bar [*|foo|=\"bar\" i]") did not throw exception. 288 PASS document.querySelector("foo bar [|foo|=\"bar\" i]") did not throw exception. 289 PASS document.getElementById('style-container').sheet.cssRules.length is 1 290 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo|=\"bar\" i]" 291 PASS document.getElementById('style-container').sheet.cssRules.length is 1 292 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo|=\"bar\" i]" 293 PASS document.getElementById('style-container').sheet.cssRules.length is 1 294 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo|=\"bar\" i]" 295 295 PASS document.querySelector(":nth-child(2n+1 of [foo|=\"bar\" i])") did not throw exception. 296 296 PASS document.querySelector(":nth-child(2n+1 of [*|foo|=\"bar\" i])") did not throw exception. … … 338 338 PASS document.getElementById('style-container').sheet.cssRules.length is 1 339 339 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo^=\"bar\" i]" 340 PASS document.querySelector("foo >>bar [foo^=bar i]") did not throw exception.341 PASS document.querySelector("foo >>bar [*|foo^=bar i]") did not throw exception.342 PASS document.querySelector("foo >>bar [|foo^=bar i]") did not throw exception.343 PASS document.getElementById('style-container').sheet.cssRules.length is 1 344 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo^=\"bar\" i]"345 PASS document.getElementById('style-container').sheet.cssRules.length is 1 346 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo^=\"bar\" i]"347 PASS document.getElementById('style-container').sheet.cssRules.length is 1 348 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo^=\"bar\" i]"340 PASS document.querySelector("foo bar [foo^=bar i]") did not throw exception. 341 PASS document.querySelector("foo bar [*|foo^=bar i]") did not throw exception. 342 PASS document.querySelector("foo bar [|foo^=bar i]") did not throw exception. 343 PASS document.getElementById('style-container').sheet.cssRules.length is 1 344 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo^=\"bar\" i]" 345 PASS document.getElementById('style-container').sheet.cssRules.length is 1 346 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo^=\"bar\" i]" 347 PASS document.getElementById('style-container').sheet.cssRules.length is 1 348 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo^=\"bar\" i]" 349 349 PASS document.querySelector(":nth-child(2n+1 of [foo^=bar i])") did not throw exception. 350 350 PASS document.querySelector(":nth-child(2n+1 of [*|foo^=bar i])") did not throw exception. … … 392 392 PASS document.getElementById('style-container').sheet.cssRules.length is 1 393 393 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo^=\"bar\" i]" 394 PASS document.querySelector("foo >>bar [foo^=\"bar\" i]") did not throw exception.395 PASS document.querySelector("foo >>bar [*|foo^=\"bar\" i]") did not throw exception.396 PASS document.querySelector("foo >>bar [|foo^=\"bar\" i]") did not throw exception.397 PASS document.getElementById('style-container').sheet.cssRules.length is 1 398 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo^=\"bar\" i]"399 PASS document.getElementById('style-container').sheet.cssRules.length is 1 400 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo^=\"bar\" i]"401 PASS document.getElementById('style-container').sheet.cssRules.length is 1 402 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo^=\"bar\" i]"394 PASS document.querySelector("foo bar [foo^=\"bar\" i]") did not throw exception. 395 PASS document.querySelector("foo bar [*|foo^=\"bar\" i]") did not throw exception. 396 PASS document.querySelector("foo bar [|foo^=\"bar\" i]") did not throw exception. 397 PASS document.getElementById('style-container').sheet.cssRules.length is 1 398 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo^=\"bar\" i]" 399 PASS document.getElementById('style-container').sheet.cssRules.length is 1 400 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo^=\"bar\" i]" 401 PASS document.getElementById('style-container').sheet.cssRules.length is 1 402 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo^=\"bar\" i]" 403 403 PASS document.querySelector(":nth-child(2n+1 of [foo^=\"bar\" i])") did not throw exception. 404 404 PASS document.querySelector(":nth-child(2n+1 of [*|foo^=\"bar\" i])") did not throw exception. … … 446 446 PASS document.getElementById('style-container').sheet.cssRules.length is 1 447 447 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo$=\"bar\" i]" 448 PASS document.querySelector("foo >>bar [foo$=bar i]") did not throw exception.449 PASS document.querySelector("foo >>bar [*|foo$=bar i]") did not throw exception.450 PASS document.querySelector("foo >>bar [|foo$=bar i]") did not throw exception.451 PASS document.getElementById('style-container').sheet.cssRules.length is 1 452 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo$=\"bar\" i]"453 PASS document.getElementById('style-container').sheet.cssRules.length is 1 454 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo$=\"bar\" i]"455 PASS document.getElementById('style-container').sheet.cssRules.length is 1 456 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo$=\"bar\" i]"448 PASS document.querySelector("foo bar [foo$=bar i]") did not throw exception. 449 PASS document.querySelector("foo bar [*|foo$=bar i]") did not throw exception. 450 PASS document.querySelector("foo bar [|foo$=bar i]") did not throw exception. 451 PASS document.getElementById('style-container').sheet.cssRules.length is 1 452 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo$=\"bar\" i]" 453 PASS document.getElementById('style-container').sheet.cssRules.length is 1 454 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo$=\"bar\" i]" 455 PASS document.getElementById('style-container').sheet.cssRules.length is 1 456 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo$=\"bar\" i]" 457 457 PASS document.querySelector(":nth-child(2n+1 of [foo$=bar i])") did not throw exception. 458 458 PASS document.querySelector(":nth-child(2n+1 of [*|foo$=bar i])") did not throw exception. … … 500 500 PASS document.getElementById('style-container').sheet.cssRules.length is 1 501 501 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo$=\"bar\" i]" 502 PASS document.querySelector("foo >>bar [foo$=\"bar\" i]") did not throw exception.503 PASS document.querySelector("foo >>bar [*|foo$=\"bar\" i]") did not throw exception.504 PASS document.querySelector("foo >>bar [|foo$=\"bar\" i]") did not throw exception.505 PASS document.getElementById('style-container').sheet.cssRules.length is 1 506 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo$=\"bar\" i]"507 PASS document.getElementById('style-container').sheet.cssRules.length is 1 508 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo$=\"bar\" i]"509 PASS document.getElementById('style-container').sheet.cssRules.length is 1 510 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo$=\"bar\" i]"502 PASS document.querySelector("foo bar [foo$=\"bar\" i]") did not throw exception. 503 PASS document.querySelector("foo bar [*|foo$=\"bar\" i]") did not throw exception. 504 PASS document.querySelector("foo bar [|foo$=\"bar\" i]") did not throw exception. 505 PASS document.getElementById('style-container').sheet.cssRules.length is 1 506 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo$=\"bar\" i]" 507 PASS document.getElementById('style-container').sheet.cssRules.length is 1 508 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo$=\"bar\" i]" 509 PASS document.getElementById('style-container').sheet.cssRules.length is 1 510 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo$=\"bar\" i]" 511 511 PASS document.querySelector(":nth-child(2n+1 of [foo$=\"bar\" i])") did not throw exception. 512 512 PASS document.querySelector(":nth-child(2n+1 of [*|foo$=\"bar\" i])") did not throw exception. … … 554 554 PASS document.getElementById('style-container').sheet.cssRules.length is 1 555 555 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo*=\"bar\" i]" 556 PASS document.querySelector("foo >>bar [foo*=bar i]") did not throw exception.557 PASS document.querySelector("foo >>bar [*|foo*=bar i]") did not throw exception.558 PASS document.querySelector("foo >>bar [|foo*=bar i]") did not throw exception.559 PASS document.getElementById('style-container').sheet.cssRules.length is 1 560 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo*=\"bar\" i]"561 PASS document.getElementById('style-container').sheet.cssRules.length is 1 562 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo*=\"bar\" i]"563 PASS document.getElementById('style-container').sheet.cssRules.length is 1 564 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo*=\"bar\" i]"556 PASS document.querySelector("foo bar [foo*=bar i]") did not throw exception. 557 PASS document.querySelector("foo bar [*|foo*=bar i]") did not throw exception. 558 PASS document.querySelector("foo bar [|foo*=bar i]") did not throw exception. 559 PASS document.getElementById('style-container').sheet.cssRules.length is 1 560 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo*=\"bar\" i]" 561 PASS document.getElementById('style-container').sheet.cssRules.length is 1 562 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo*=\"bar\" i]" 563 PASS document.getElementById('style-container').sheet.cssRules.length is 1 564 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo*=\"bar\" i]" 565 565 PASS document.querySelector(":nth-child(2n+1 of [foo*=bar i])") did not throw exception. 566 566 PASS document.querySelector(":nth-child(2n+1 of [*|foo*=bar i])") did not throw exception. … … 608 608 PASS document.getElementById('style-container').sheet.cssRules.length is 1 609 609 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "[*|foo*=\"bar\" i]" 610 PASS document.querySelector("foo >>bar [foo*=\"bar\" i]") did not throw exception.611 PASS document.querySelector("foo >>bar [*|foo*=\"bar\" i]") did not throw exception.612 PASS document.querySelector("foo >>bar [|foo*=\"bar\" i]") did not throw exception.613 PASS document.getElementById('style-container').sheet.cssRules.length is 1 614 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo*=\"bar\" i]"615 PASS document.getElementById('style-container').sheet.cssRules.length is 1 616 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [foo*=\"bar\" i]"617 PASS document.getElementById('style-container').sheet.cssRules.length is 1 618 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo >>bar [*|foo*=\"bar\" i]"610 PASS document.querySelector("foo bar [foo*=\"bar\" i]") did not throw exception. 611 PASS document.querySelector("foo bar [*|foo*=\"bar\" i]") did not throw exception. 612 PASS document.querySelector("foo bar [|foo*=\"bar\" i]") did not throw exception. 613 PASS document.getElementById('style-container').sheet.cssRules.length is 1 614 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo*=\"bar\" i]" 615 PASS document.getElementById('style-container').sheet.cssRules.length is 1 616 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [foo*=\"bar\" i]" 617 PASS document.getElementById('style-container').sheet.cssRules.length is 1 618 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is "foo bar [*|foo*=\"bar\" i]" 619 619 PASS document.querySelector(":nth-child(2n+1 of [foo*=\"bar\" i])") did not throw exception. 620 620 PASS document.querySelector(":nth-child(2n+1 of [*|foo*=\"bar\" i])") did not throw exception. -
trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-1.html
r209545 r221788 51 51 52 52 // Used in function pseudo classes. 53 testValidSelector("foo >> bar " + testCase[0], "foo >>bar " + testCase[1]);53 testValidSelector("foo bar " + testCase[0], "foo bar " + testCase[1]); 54 54 testValidSelector(":nth-child(2n+1 of " + testCase[0] + ")", ":nth-child(2n+1 of " + testCase[1] + ")"); 55 55 testValidSelector(":nth-last-child(2n+1 of " + testCase[0] + ")", ":nth-last-child(2n+1 of " + testCase[1] + ")"); -
trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-4-expected.txt
r179819 r221788 7 7 PASS getComputedStyle(document.getElementById('target')).backgroundColor is "rgb(255, 0, 0)" 8 8 PASS document.getElementById('style-container').sheet.cssRules.length is 2 9 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is ":matches(#notthere >>div, #target)"10 PASS document.getElementById('style-container').sheet.cssRules[0].cssText is ":matches(#notthere >>div, #target) { background-color: red; }"11 PASS document.getElementById('style-container').sheet.cssRules[1].selectorText is ":matches(#notthere >>foobar, #target)"12 PASS document.getElementById('style-container').sheet.cssRules[1].cssText is ":matches(#notthere >>foobar, #target) { color: lime; }"9 PASS document.getElementById('style-container').sheet.cssRules[0].selectorText is ":matches(#notthere div, #target)" 10 PASS document.getElementById('style-container').sheet.cssRules[0].cssText is ":matches(#notthere div, #target) { background-color: red; }" 11 PASS document.getElementById('style-container').sheet.cssRules[1].selectorText is ":matches(#notthere foobar, #target)" 12 PASS document.getElementById('style-container').sheet.cssRules[1].cssText is ":matches(#notthere foobar, #target) { color: lime; }" 13 13 PASS successfullyParsed is true 14 14 -
trunk/LayoutTests/fast/css/parsing-css-attribute-case-insensitive-value-4.html
r179819 r221788 4 4 <script src="../../resources/js-test-pre.js"></script> 5 5 <style id="style-container"> 6 :matches(#notthere >>div, #target) {6 :matches(#notthere div, #target) { 7 7 background-color: red; 8 8 } 9 9 10 10 /* This selector list is invalid because the attribute flag "invalid" is invalid. */ 11 :matches(#nothere >> valid, #notthere >>[invalid="yep" invalid], #target) {11 :matches(#nothere valid, #notthere [invalid="yep" invalid], #target) { 12 12 background-color: blue; 13 13 } 14 14 15 :matches(#notthere >>foobar, #target) {15 :matches(#notthere foobar, #target) { 16 16 color: lime; 17 17 } 18 18 19 19 /* This selector list is invalid because the attribute flag "u" is invalid. */ 20 :matches(#nothere >> valid, #notthere >>[invalid="yep" u], #target) {20 :matches(#nothere valid, #notthere [invalid="yep" u], #target) { 21 21 color: blue; 22 22 } … … 33 33 shouldBeEqualToString("getComputedStyle(document.getElementById('target')).backgroundColor", "rgb(255, 0, 0)"); 34 34 shouldBe("document.getElementById('style-container').sheet.cssRules.length", "2"); 35 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[0].selectorText", ":matches(#notthere >>div, #target)");36 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[0].cssText", ":matches(#notthere >>div, #target) { background-color: red; }");37 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[1].selectorText", ":matches(#notthere >>foobar, #target)");38 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[1].cssText", ":matches(#notthere >>foobar, #target) { color: lime; }");35 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[0].selectorText", ":matches(#notthere div, #target)"); 36 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[0].cssText", ":matches(#notthere div, #target) { background-color: red; }"); 37 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[1].selectorText", ":matches(#notthere foobar, #target)"); 38 shouldBeEqualToString("document.getElementById('style-container').sheet.cssRules[1].cssText", ":matches(#notthere foobar, #target) { color: lime; }"); 39 39 </script> 40 40 <script src="../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/selectors/case-insensitive-attribute-register-requirement-2-expected.txt
r180544 r221788 4 4 5 5 6 Testing "[type=foobar i] > * > * >>innerTestCase"7 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase').length is 88 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[0].id is "innertestcase1"9 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[1].id is "innertestcase2"10 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[2].id is "innertestcase3"11 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[3].id is "innertestcase4"12 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[4].id is "innertestcase5"13 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[5].id is "innertestcase6"14 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[6].id is "innertestcase7"15 PASS document.querySelectorAll('[type=foobar i] > * > * >>innerTestCase')[7].id is "innertestcase8"16 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 17 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 18 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 19 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 20 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 21 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 22 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 23 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 24 25 Testing "[attribute1=VALUE1 i] > * > * >>innerTestCase"26 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase').length is 727 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[0].id is "innertestcase1"28 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[1].id is "innertestcase2"29 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[2].id is "innertestcase3"30 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[3].id is "innertestcase5"31 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[4].id is "innertestcase6"32 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[5].id is "innertestcase7"33 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * >>innerTestCase')[6].id is "innertestcase8"6 Testing "[type=foobar i] > * > * innerTestCase" 7 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase').length is 8 8 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[0].id is "innertestcase1" 9 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[1].id is "innertestcase2" 10 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[2].id is "innertestcase3" 11 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[3].id is "innertestcase4" 12 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[4].id is "innertestcase5" 13 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[5].id is "innertestcase6" 14 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[6].id is "innertestcase7" 15 PASS document.querySelectorAll('[type=foobar i] > * > * innerTestCase')[7].id is "innertestcase8" 16 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 17 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 18 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 19 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 20 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 21 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 22 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 23 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 24 25 Testing "[attribute1=VALUE1 i] > * > * innerTestCase" 26 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase').length is 7 27 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[0].id is "innertestcase1" 28 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[1].id is "innertestcase2" 29 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[2].id is "innertestcase3" 30 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[3].id is "innertestcase5" 31 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[4].id is "innertestcase6" 32 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[5].id is "innertestcase7" 33 PASS document.querySelectorAll('[attribute1=VALUE1 i] > * > * innerTestCase')[6].id is "innertestcase8" 34 34 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 35 35 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" … … 41 41 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 42 42 43 Testing "[type=foobar i] ~ * ~ * >>innerTestCase"44 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase').length is 745 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"46 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"47 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"48 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"49 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"50 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"51 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"52 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 53 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 54 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 55 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 56 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 57 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 58 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 59 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 60 61 Testing "[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase"62 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase').length is 763 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"64 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"65 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"66 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"67 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"68 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"69 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"70 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 71 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 72 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 73 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 74 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 75 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 76 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 77 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 78 79 Testing "[type=foobar i] ~ * ~ * > * > * >>innerTestCase"80 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase').length is 781 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"82 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"83 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"84 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"85 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"86 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"87 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"88 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 89 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 90 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 91 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 92 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 93 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 94 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 95 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 96 97 Testing "[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase"98 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase').length is 799 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"100 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"101 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"102 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"103 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"104 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"105 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"106 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 107 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 108 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 109 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 110 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 111 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 112 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 113 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 114 115 Testing "[type~=fOobar i] > * > * >>innerTestCase"116 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase').length is 8117 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[0].id is "innertestcase1"118 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[1].id is "innertestcase2"119 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[2].id is "innertestcase3"120 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[3].id is "innertestcase4"121 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[4].id is "innertestcase5"122 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[5].id is "innertestcase6"123 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[6].id is "innertestcase7"124 PASS document.querySelectorAll('[type~=fOobar i] > * > * >>innerTestCase')[7].id is "innertestcase8"125 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 126 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 127 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 128 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 129 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 130 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 131 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 132 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 133 134 Testing "[type~=foObar i] ~ * ~ * >>innerTestCase"135 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase').length is 7136 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"137 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"138 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"139 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"140 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"141 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"142 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"143 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 144 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 145 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 146 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 147 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 148 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 149 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 150 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 151 152 Testing "[type~=foobar i] ~ * ~ * > * > * >>innerTestCase"153 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase').length is 7154 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"155 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"156 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"157 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"158 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"159 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"160 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"161 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 162 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 163 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 164 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 165 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 166 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 167 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 168 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 169 170 Testing "[type|=foObar i] > * > * >>innerTestCase"171 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase').length is 8172 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[0].id is "innertestcase1"173 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[1].id is "innertestcase2"174 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[2].id is "innertestcase3"175 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[3].id is "innertestcase4"176 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[4].id is "innertestcase5"177 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[5].id is "innertestcase6"178 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[6].id is "innertestcase7"179 PASS document.querySelectorAll('[type|=foObar i] > * > * >>innerTestCase')[7].id is "innertestcase8"180 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 181 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 182 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 183 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 184 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 185 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 186 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 187 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 188 189 Testing "[type|=fooBar i] ~ * ~ * >>innerTestCase"190 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase').length is 7191 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"192 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"193 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"194 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"195 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"196 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"197 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"198 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 199 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 200 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 201 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 202 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 203 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 204 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 205 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 206 207 Testing "[type|=foobar i] ~ * ~ * > * > * >>innerTestCase"208 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase').length is 7209 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"210 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"211 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"212 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"213 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"214 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"215 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"216 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 217 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 218 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 219 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 220 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 221 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 222 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 223 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 224 225 Testing "[type^=fooBa i] > * > * >>innerTestCase"226 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase').length is 8227 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[0].id is "innertestcase1"228 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[1].id is "innertestcase2"229 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[2].id is "innertestcase3"230 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[3].id is "innertestcase4"231 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[4].id is "innertestcase5"232 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[5].id is "innertestcase6"233 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[6].id is "innertestcase7"234 PASS document.querySelectorAll('[type^=fooBa i] > * > * >>innerTestCase')[7].id is "innertestcase8"235 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 236 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 237 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 238 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 239 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 240 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 241 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 242 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 243 244 Testing "[type^=fOoba i] ~ * ~ * >>innerTestCase"245 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase').length is 7246 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"247 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"248 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"249 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"250 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"251 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"252 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"253 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 254 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 255 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 256 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 257 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 258 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 259 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 260 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 261 262 Testing "[type^=fooba i] ~ * ~ * > * > * >>innerTestCase"263 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase').length is 7264 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"265 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"266 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"267 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"268 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"269 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"270 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"271 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 272 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 273 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 274 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 275 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 276 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 277 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 278 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 279 280 Testing "[type$=oobAr i] > * > * >>innerTestCase"281 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase').length is 8282 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[0].id is "innertestcase1"283 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[1].id is "innertestcase2"284 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[2].id is "innertestcase3"285 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[3].id is "innertestcase4"286 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[4].id is "innertestcase5"287 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[5].id is "innertestcase6"288 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[6].id is "innertestcase7"289 PASS document.querySelectorAll('[type$=oobAr i] > * > * >>innerTestCase')[7].id is "innertestcase8"290 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 291 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 292 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 293 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 294 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 295 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 296 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 297 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 298 299 Testing "[type$=oObar i] ~ * ~ * >>innerTestCase"300 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase').length is 7301 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"302 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"303 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"304 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"305 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"306 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"307 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"308 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 309 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 310 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 311 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 312 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 313 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 314 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 315 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 316 317 Testing "[type$=oobar i] ~ * ~ * > * > * >>innerTestCase"318 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase').length is 7319 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"320 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"321 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"322 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"323 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"324 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"325 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"326 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 327 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 328 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 329 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 330 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 331 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 332 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 333 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 334 335 Testing "[type*=oOba i] > * > * >>innerTestCase"336 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase').length is 8337 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[0].id is "innertestcase1"338 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[1].id is "innertestcase2"339 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[2].id is "innertestcase3"340 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[3].id is "innertestcase4"341 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[4].id is "innertestcase5"342 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[5].id is "innertestcase6"343 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[6].id is "innertestcase7"344 PASS document.querySelectorAll('[type*=oOba i] > * > * >>innerTestCase')[7].id is "innertestcase8"345 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 346 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 347 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 348 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 349 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 350 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 351 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 352 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 353 354 Testing "[type*=ooBa i] ~ * ~ * >>innerTestCase"355 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase').length is 7356 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[0].id is "innertestcase2"357 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[1].id is "innertestcase3"358 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[2].id is "innertestcase4"359 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[3].id is "innertestcase5"360 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[4].id is "innertestcase6"361 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[5].id is "innertestcase7"362 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * >>innerTestCase')[6].id is "innertestcase8"363 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 364 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 365 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 366 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 367 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 368 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 369 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 370 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 371 372 Testing "[type*=ooba i] ~ * ~ * > * > * >>innerTestCase"373 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase').length is 7374 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[0].id is "innertestcase2"375 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[1].id is "innertestcase3"376 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[2].id is "innertestcase4"377 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[3].id is "innertestcase5"378 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[4].id is "innertestcase6"379 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[5].id is "innertestcase7"380 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * >>innerTestCase')[6].id is "innertestcase8"43 Testing "[type=foobar i] ~ * ~ * innerTestCase" 44 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase').length is 7 45 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 46 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 47 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 48 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 49 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 50 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 51 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 52 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 53 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 54 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 55 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 56 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 57 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 58 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 59 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 60 61 Testing "[attribute1=VALUE1 i] ~ * ~ * innerTestCase" 62 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase').length is 7 63 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 64 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 65 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 66 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 67 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 68 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 69 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 70 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 71 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 72 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 73 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 74 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 75 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 76 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 77 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 78 79 Testing "[type=foobar i] ~ * ~ * > * > * innerTestCase" 80 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase').length is 7 81 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 82 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 83 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 84 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 85 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 86 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 87 PASS document.querySelectorAll('[type=foobar i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 88 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 89 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 90 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 91 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 92 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 93 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 94 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 95 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 96 97 Testing "[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase" 98 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase').length is 7 99 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 100 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 101 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 102 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 103 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 104 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 105 PASS document.querySelectorAll('[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 106 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 107 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 108 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 109 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 110 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 111 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 112 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 113 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 114 115 Testing "[type~=fOobar i] > * > * innerTestCase" 116 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase').length is 8 117 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[0].id is "innertestcase1" 118 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[1].id is "innertestcase2" 119 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[2].id is "innertestcase3" 120 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[3].id is "innertestcase4" 121 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[4].id is "innertestcase5" 122 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[5].id is "innertestcase6" 123 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[6].id is "innertestcase7" 124 PASS document.querySelectorAll('[type~=fOobar i] > * > * innerTestCase')[7].id is "innertestcase8" 125 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 126 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 127 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 128 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 129 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 130 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 131 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 132 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 133 134 Testing "[type~=foObar i] ~ * ~ * innerTestCase" 135 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase').length is 7 136 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 137 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 138 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 139 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 140 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 141 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 142 PASS document.querySelectorAll('[type~=foObar i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 143 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 144 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 145 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 146 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 147 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 148 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 149 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 150 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 151 152 Testing "[type~=foobar i] ~ * ~ * > * > * innerTestCase" 153 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase').length is 7 154 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 155 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 156 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 157 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 158 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 159 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 160 PASS document.querySelectorAll('[type~=foobar i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 161 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 162 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 163 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 164 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 165 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 166 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 167 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 168 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 169 170 Testing "[type|=foObar i] > * > * innerTestCase" 171 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase').length is 8 172 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[0].id is "innertestcase1" 173 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[1].id is "innertestcase2" 174 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[2].id is "innertestcase3" 175 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[3].id is "innertestcase4" 176 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[4].id is "innertestcase5" 177 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[5].id is "innertestcase6" 178 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[6].id is "innertestcase7" 179 PASS document.querySelectorAll('[type|=foObar i] > * > * innerTestCase')[7].id is "innertestcase8" 180 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 181 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 182 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 183 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 184 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 185 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 186 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 187 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 188 189 Testing "[type|=fooBar i] ~ * ~ * innerTestCase" 190 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase').length is 7 191 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 192 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 193 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 194 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 195 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 196 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 197 PASS document.querySelectorAll('[type|=fooBar i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 198 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 199 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 200 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 201 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 202 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 203 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 204 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 205 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 206 207 Testing "[type|=foobar i] ~ * ~ * > * > * innerTestCase" 208 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase').length is 7 209 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 210 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 211 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 212 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 213 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 214 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 215 PASS document.querySelectorAll('[type|=foobar i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 216 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 217 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 218 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 219 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 220 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 221 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 222 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 223 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 224 225 Testing "[type^=fooBa i] > * > * innerTestCase" 226 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase').length is 8 227 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[0].id is "innertestcase1" 228 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[1].id is "innertestcase2" 229 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[2].id is "innertestcase3" 230 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[3].id is "innertestcase4" 231 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[4].id is "innertestcase5" 232 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[5].id is "innertestcase6" 233 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[6].id is "innertestcase7" 234 PASS document.querySelectorAll('[type^=fooBa i] > * > * innerTestCase')[7].id is "innertestcase8" 235 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 236 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 237 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 238 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 239 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 240 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 241 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 242 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 243 244 Testing "[type^=fOoba i] ~ * ~ * innerTestCase" 245 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase').length is 7 246 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 247 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 248 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 249 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 250 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 251 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 252 PASS document.querySelectorAll('[type^=fOoba i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 253 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 254 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 255 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 256 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 257 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 258 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 259 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 260 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 261 262 Testing "[type^=fooba i] ~ * ~ * > * > * innerTestCase" 263 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase').length is 7 264 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 265 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 266 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 267 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 268 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 269 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 270 PASS document.querySelectorAll('[type^=fooba i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 271 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 272 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 273 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 274 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 275 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 276 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 277 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 278 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 279 280 Testing "[type$=oobAr i] > * > * innerTestCase" 281 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase').length is 8 282 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[0].id is "innertestcase1" 283 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[1].id is "innertestcase2" 284 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[2].id is "innertestcase3" 285 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[3].id is "innertestcase4" 286 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[4].id is "innertestcase5" 287 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[5].id is "innertestcase6" 288 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[6].id is "innertestcase7" 289 PASS document.querySelectorAll('[type$=oobAr i] > * > * innerTestCase')[7].id is "innertestcase8" 290 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 291 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 292 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 293 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 294 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 295 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 296 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 297 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 298 299 Testing "[type$=oObar i] ~ * ~ * innerTestCase" 300 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase').length is 7 301 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 302 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 303 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 304 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 305 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 306 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 307 PASS document.querySelectorAll('[type$=oObar i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 308 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 309 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 310 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 311 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 312 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 313 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 314 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 315 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 316 317 Testing "[type$=oobar i] ~ * ~ * > * > * innerTestCase" 318 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase').length is 7 319 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 320 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 321 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 322 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 323 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 324 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 325 PASS document.querySelectorAll('[type$=oobar i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 326 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 327 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 328 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 329 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 330 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 331 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 332 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 333 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 334 335 Testing "[type*=oOba i] > * > * innerTestCase" 336 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase').length is 8 337 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[0].id is "innertestcase1" 338 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[1].id is "innertestcase2" 339 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[2].id is "innertestcase3" 340 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[3].id is "innertestcase4" 341 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[4].id is "innertestcase5" 342 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[5].id is "innertestcase6" 343 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[6].id is "innertestcase7" 344 PASS document.querySelectorAll('[type*=oOba i] > * > * innerTestCase')[7].id is "innertestcase8" 345 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(10, 100, 200)" 346 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 347 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 348 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 349 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 350 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 351 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 352 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 353 354 Testing "[type*=ooBa i] ~ * ~ * innerTestCase" 355 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase').length is 7 356 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[0].id is "innertestcase2" 357 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[1].id is "innertestcase3" 358 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[2].id is "innertestcase4" 359 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[3].id is "innertestcase5" 360 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[4].id is "innertestcase6" 361 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[5].id is "innertestcase7" 362 PASS document.querySelectorAll('[type*=ooBa i] ~ * ~ * innerTestCase')[6].id is "innertestcase8" 363 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 364 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" 365 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[2]).backgroundColor is "rgb(10, 100, 200)" 366 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[3]).backgroundColor is "rgb(10, 100, 200)" 367 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[4]).backgroundColor is "rgb(10, 100, 200)" 368 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[5]).backgroundColor is "rgb(10, 100, 200)" 369 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[6]).backgroundColor is "rgb(10, 100, 200)" 370 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[7]).backgroundColor is "rgb(10, 100, 200)" 371 372 Testing "[type*=ooba i] ~ * ~ * > * > * innerTestCase" 373 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase').length is 7 374 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[0].id is "innertestcase2" 375 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[1].id is "innertestcase3" 376 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[2].id is "innertestcase4" 377 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[3].id is "innertestcase5" 378 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[4].id is "innertestcase6" 379 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[5].id is "innertestcase7" 380 PASS document.querySelectorAll('[type*=ooba i] ~ * ~ * > * > * innerTestCase')[6].id is "innertestcase8" 381 381 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[0]).backgroundColor is "rgb(255, 0, 0)" 382 382 PASS getComputedStyle(document.querySelectorAll("innerTestCase")[1]).backgroundColor is "rgb(10, 100, 200)" -
trunk/LayoutTests/fast/selectors/case-insensitive-attribute-register-requirement-2.html
r180544 r221788 55 55 56 56 var simpleCases = [ 57 ["[type=foobar i] > * > * >>innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],58 ["[attribute1=VALUE1 i] > * > * >>innerTestCase",["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],59 ["[type=foobar i] ~ * ~ * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],60 ["[attribute1=VALUE1 i] ~ * ~ * >>innerTestCase",["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],61 ["[type=foobar i] ~ * ~ * > * > * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],62 ["[attribute1=VALUE1 i] ~ * ~ * > * > * >>innerTestCase",["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],57 ["[type=foobar i] > * > * innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 58 ["[attribute1=VALUE1 i] > * > * innerTestCase",["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 59 ["[type=foobar i] ~ * ~ * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 60 ["[attribute1=VALUE1 i] ~ * ~ * innerTestCase",["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 61 ["[type=foobar i] ~ * ~ * > * > * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 62 ["[attribute1=VALUE1 i] ~ * ~ * > * > * innerTestCase",["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 63 63 64 ["[type~=fOobar i] > * > * >>innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],65 ["[type~=foObar i] ~ * ~ * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],66 ["[type~=foobar i] ~ * ~ * > * > * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],64 ["[type~=fOobar i] > * > * innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 65 ["[type~=foObar i] ~ * ~ * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 66 ["[type~=foobar i] ~ * ~ * > * > * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 67 67 68 ["[type|=foObar i] > * > * >>innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],69 ["[type|=fooBar i] ~ * ~ * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],70 ["[type|=foobar i] ~ * ~ * > * > * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],68 ["[type|=foObar i] > * > * innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 69 ["[type|=fooBar i] ~ * ~ * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 70 ["[type|=foobar i] ~ * ~ * > * > * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 71 71 72 ["[type^=fooBa i] > * > * >>innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],73 ["[type^=fOoba i] ~ * ~ * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],74 ["[type^=fooba i] ~ * ~ * > * > * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],72 ["[type^=fooBa i] > * > * innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 73 ["[type^=fOoba i] ~ * ~ * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 74 ["[type^=fooba i] ~ * ~ * > * > * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 75 75 76 ["[type$=oobAr i] > * > * >>innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],77 ["[type$=oObar i] ~ * ~ * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],78 ["[type$=oobar i] ~ * ~ * > * > * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],76 ["[type$=oobAr i] > * > * innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 77 ["[type$=oObar i] ~ * ~ * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 78 ["[type$=oobar i] ~ * ~ * > * > * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 79 79 80 ["[type*=oOba i] > * > * >>innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],81 ["[type*=ooBa i] ~ * ~ * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],82 ["[type*=ooba i] ~ * ~ * > * > * >>innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]],80 ["[type*=oOba i] > * > * innerTestCase", ["innertestcase1", "innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 81 ["[type*=ooBa i] ~ * ~ * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 82 ["[type*=ooba i] ~ * ~ * > * > * innerTestCase", ["innertestcase2", "innertestcase3", "innertestcase4", "innertestcase5", "innertestcase6", "innertestcase7", "innertestcase8"]], 83 83 ]; 84 84 -
trunk/LayoutTests/fast/selectors/element-matches-attribute-ascii-case-insensitive-html-expected.txt
r179323 r221788 52 52 PASS document.querySelectorAll('[id^=target]')[2].matches('[DATA-æØå^="Web"]') is false 53 53 PASS document.querySelectorAll('[id^=target]')[3].matches('[DATA-æØå^="Web"]') is false 54 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[data-æøå]') is true55 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[data-æøå]') is false56 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[data-æøå]') is false57 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[data-æøå]') is true58 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[data-Æøå]') is false59 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[data-Æøå]') is true60 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[data-Æøå]') is false61 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[data-Æøå]') is true62 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[data-ÆØÅ]') is false63 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[data-ÆØÅ]') is false64 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[data-ÆØÅ]') is true65 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[data-ÆØÅ]') is true66 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[data-æØå]') is false67 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[data-æØå]') is false68 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[data-æØå]') is false69 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[data-æØå]') is false70 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]') is true71 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]') is false72 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]') is false73 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]') is true74 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]') is false75 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]') is true76 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]') is false77 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]') is true78 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]') is false79 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]') is false80 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]') is true81 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]') is true82 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]') is false83 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]') is false84 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]') is false85 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]') is false86 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[DATA-æøå^="Web"]') is true87 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[DATA-æøå^="Web"]') is false88 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[DATA-æøå^="Web"]') is false89 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[DATA-æøå^="Web"]') is true90 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]') is false91 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]') is true92 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]') is false93 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]') is true94 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]') is false95 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]') is false96 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]') is true97 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]') is true98 PASS document.querySelectorAll('[id^=target]')[0].matches(':root >> :matches(body, html) >>[DATA-æØå^="Web"]') is false99 PASS document.querySelectorAll('[id^=target]')[1].matches(':root >> :matches(body, html) >>[DATA-æØå^="Web"]') is false100 PASS document.querySelectorAll('[id^=target]')[2].matches(':root >> :matches(body, html) >>[DATA-æØå^="Web"]') is false101 PASS document.querySelectorAll('[id^=target]')[3].matches(':root >> :matches(body, html) >>[DATA-æØå^="Web"]') is false54 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [data-æøå]') is true 55 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [data-æøå]') is false 56 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [data-æøå]') is false 57 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [data-æøå]') is true 58 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [data-Æøå]') is false 59 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [data-Æøå]') is true 60 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [data-Æøå]') is false 61 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [data-Æøå]') is true 62 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [data-ÆØÅ]') is false 63 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [data-ÆØÅ]') is false 64 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [data-ÆØÅ]') is true 65 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [data-ÆØÅ]') is true 66 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [data-æØå]') is false 67 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [data-æØå]') is false 68 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [data-æØå]') is false 69 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [data-æØå]') is false 70 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [Data-æøå="WebKit!"]') is true 71 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [Data-æøå="WebKit!"]') is false 72 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [Data-æøå="WebKit!"]') is false 73 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [Data-æøå="WebKit!"]') is true 74 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [Data-Æøå="WebKit!"]') is false 75 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [Data-Æøå="WebKit!"]') is true 76 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [Data-Æøå="WebKit!"]') is false 77 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [Data-Æøå="WebKit!"]') is true 78 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]') is false 79 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]') is false 80 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]') is true 81 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]') is true 82 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [Data-æØå="WebKit!"]') is false 83 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [Data-æØå="WebKit!"]') is false 84 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [Data-æØå="WebKit!"]') is false 85 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [Data-æØå="WebKit!"]') is false 86 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [DATA-æøå^="Web"]') is true 87 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [DATA-æøå^="Web"]') is false 88 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [DATA-æøå^="Web"]') is false 89 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [DATA-æøå^="Web"]') is true 90 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [DATA-Æøå^="Web"]') is false 91 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [DATA-Æøå^="Web"]') is true 92 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [DATA-Æøå^="Web"]') is false 93 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [DATA-Æøå^="Web"]') is true 94 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [DATA-ÆØÅ^="Web"]') is false 95 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [DATA-ÆØÅ^="Web"]') is false 96 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [DATA-ÆØÅ^="Web"]') is true 97 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [DATA-ÆØÅ^="Web"]') is true 98 PASS document.querySelectorAll('[id^=target]')[0].matches(':root :matches(body, html) [DATA-æØå^="Web"]') is false 99 PASS document.querySelectorAll('[id^=target]')[1].matches(':root :matches(body, html) [DATA-æØå^="Web"]') is false 100 PASS document.querySelectorAll('[id^=target]')[2].matches(':root :matches(body, html) [DATA-æØå^="Web"]') is false 101 PASS document.querySelectorAll('[id^=target]')[3].matches(':root :matches(body, html) [DATA-æØå^="Web"]') is false 102 102 PASS successfullyParsed is true 103 103 -
trunk/LayoutTests/fast/selectors/element-matches-attribute-ascii-case-insensitive-html.html
r179323 r221788 43 43 44 44 // Complex selectors. 45 testSelector(':root >> :matches(body, html) >>[data-æøå]', [1, 4]);46 testSelector(':root >> :matches(body, html) >>[data-Æøå]', [2, 4]);47 testSelector(':root >> :matches(body, html) >>[data-ÆØÅ]', [3, 4]);48 testSelector(':root >> :matches(body, html) >>[data-æØå]', []);45 testSelector(':root :matches(body, html) [data-æøå]', [1, 4]); 46 testSelector(':root :matches(body, html) [data-Æøå]', [2, 4]); 47 testSelector(':root :matches(body, html) [data-ÆØÅ]', [3, 4]); 48 testSelector(':root :matches(body, html) [data-æØå]', []); 49 49 50 testSelector(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]', [1, 4]);51 testSelector(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]', [2, 4]);52 testSelector(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]', [3, 4]);53 testSelector(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]', []);50 testSelector(':root :matches(body, html) [Data-æøå="WebKit!"]', [1, 4]); 51 testSelector(':root :matches(body, html) [Data-Æøå="WebKit!"]', [2, 4]); 52 testSelector(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]', [3, 4]); 53 testSelector(':root :matches(body, html) [Data-æØå="WebKit!"]', []); 54 54 55 testSelector(':root >> :matches(body, html) >>[DATA-æøå^="Web"]', [1, 4]);56 testSelector(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]', [2, 4]);57 testSelector(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]', [3, 4]);58 testSelector(':root >> :matches(body, html) >>[DATA-æØå^="Web"]', []);55 testSelector(':root :matches(body, html) [DATA-æøå^="Web"]', [1, 4]); 56 testSelector(':root :matches(body, html) [DATA-Æøå^="Web"]', [2, 4]); 57 testSelector(':root :matches(body, html) [DATA-ÆØÅ^="Web"]', [3, 4]); 58 testSelector(':root :matches(body, html) [DATA-æØå^="Web"]', []); 59 59 </script> 60 60 <script src="../../resources/js-test-post.js"></script> -
trunk/LayoutTests/fast/selectors/id-attribute-querySelector-used-as-id-selector-expected.txt
r203439 r221788 13 13 PASS document.querySelectorAll("div[id=simple_duplicated][data-case]").length is 0 14 14 Trivial Selector used as ancestor filter 15 PASS document.querySelectorAll("[id=Ancestor_Unique] >>*").length is 416 PASS document.querySelectorAll("[id=Ancestor_Unique] > * >>*").length is 217 PASS document.querySelectorAll("[id=Ancestor_Unique] >>* > *").length is 218 PASS document.querySelectorAll("[id=ancestor_unique] >>*").length is 019 PASS document.querySelectorAll("[id=ancestor_unique] > * >>*").length is 020 PASS document.querySelectorAll("[id=ancestor_unique] >>* > *").length is 021 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] >>*").length is 522 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] > * >>*").length is 223 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] >>* > *").length is 224 PASS document.querySelectorAll("[id=ancestor_duplicated] >>*").length is 025 PASS document.querySelectorAll("[id=ancestor_duplicated] > * >>*").length is 026 PASS document.querySelectorAll("[id=ancestor_duplicated] >>* > *").length is 015 PASS document.querySelectorAll("[id=Ancestor_Unique] *").length is 4 16 PASS document.querySelectorAll("[id=Ancestor_Unique] > * *").length is 2 17 PASS document.querySelectorAll("[id=Ancestor_Unique] * > *").length is 2 18 PASS document.querySelectorAll("[id=ancestor_unique] *").length is 0 19 PASS document.querySelectorAll("[id=ancestor_unique] > * *").length is 0 20 PASS document.querySelectorAll("[id=ancestor_unique] * > *").length is 0 21 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] *").length is 5 22 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] > * *").length is 2 23 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] * > *").length is 2 24 PASS document.querySelectorAll("[id=ancestor_duplicated] *").length is 0 25 PASS document.querySelectorAll("[id=ancestor_duplicated] > * *").length is 0 26 PASS document.querySelectorAll("[id=ancestor_duplicated] * > *").length is 0 27 27 Non-Trivial Selector used as ancestor filter 28 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] >>*").length is 429 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] > * >>*").length is 230 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] >>* > *").length is 231 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] >>*").length is 032 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] > * >>*").length is 033 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] >>* > *").length is 034 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] >>*").length is 535 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] > * >>*").length is 236 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] >>* > *").length is 237 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] >>*").length is 038 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] > * >>*").length is 039 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] >>* > *").length is 028 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] *").length is 4 29 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] > * *").length is 2 30 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] * > *").length is 2 31 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] *").length is 0 32 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] > * *").length is 0 33 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] * > *").length is 0 34 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] *").length is 5 35 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] > * *").length is 2 36 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] * > *").length is 2 37 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] *").length is 0 38 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] > * *").length is 0 39 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] * > *").length is 0 40 40 Trivial Selector used as sibling filter 41 41 PASS document.querySelectorAll("[id=simple_unique] + *").length is 1 -
trunk/LayoutTests/fast/selectors/id-attribute-querySelector-used-as-id-selector-quirks-expected.txt
r203439 r221788 13 13 PASS document.querySelectorAll("div[id=simple_duplicated][data-case]").length is 0 14 14 Trivial Selector used as ancestor filter 15 PASS document.querySelectorAll("[id=Ancestor_Unique] >>*").length is 416 PASS document.querySelectorAll("[id=Ancestor_Unique] > * >>*").length is 217 PASS document.querySelectorAll("[id=Ancestor_Unique] >>* > *").length is 218 PASS document.querySelectorAll("[id=ancestor_unique] >>*").length is 019 PASS document.querySelectorAll("[id=ancestor_unique] > * >>*").length is 020 PASS document.querySelectorAll("[id=ancestor_unique] >>* > *").length is 021 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] >>*").length is 522 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] > * >>*").length is 223 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] >>* > *").length is 224 PASS document.querySelectorAll("[id=ancestor_duplicated] >>*").length is 025 PASS document.querySelectorAll("[id=ancestor_duplicated] > * >>*").length is 026 PASS document.querySelectorAll("[id=ancestor_duplicated] >>* > *").length is 015 PASS document.querySelectorAll("[id=Ancestor_Unique] *").length is 4 16 PASS document.querySelectorAll("[id=Ancestor_Unique] > * *").length is 2 17 PASS document.querySelectorAll("[id=Ancestor_Unique] * > *").length is 2 18 PASS document.querySelectorAll("[id=ancestor_unique] *").length is 0 19 PASS document.querySelectorAll("[id=ancestor_unique] > * *").length is 0 20 PASS document.querySelectorAll("[id=ancestor_unique] * > *").length is 0 21 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] *").length is 5 22 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] > * *").length is 2 23 PASS document.querySelectorAll("[id=ANCESTOR_DUPLICATED] * > *").length is 2 24 PASS document.querySelectorAll("[id=ancestor_duplicated] *").length is 0 25 PASS document.querySelectorAll("[id=ancestor_duplicated] > * *").length is 0 26 PASS document.querySelectorAll("[id=ancestor_duplicated] * > *").length is 0 27 27 Non-Trivial Selector used as ancestor filter 28 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] >>*").length is 429 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] > * >>*").length is 230 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] >>* > *").length is 231 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] >>*").length is 032 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] > * >>*").length is 033 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] >>* > *").length is 034 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] >>*").length is 535 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] > * >>*").length is 236 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] >>* > *").length is 237 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] >>*").length is 038 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] > * >>*").length is 039 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] >>* > *").length is 028 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] *").length is 4 29 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] > * *").length is 2 30 PASS document.querySelectorAll("div[id=Ancestor_Unique][data-case] * > *").length is 2 31 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] *").length is 0 32 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] > * *").length is 0 33 PASS document.querySelectorAll("div[id=ancestor_unique][data-case] * > *").length is 0 34 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] *").length is 5 35 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] > * *").length is 2 36 PASS document.querySelectorAll("div[id=ANCESTOR_DUPLICATED][data-case] * > *").length is 2 37 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] *").length is 0 38 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] > * *").length is 0 39 PASS document.querySelectorAll("div[id=ancestor_duplicated][data-case] * > *").length is 0 40 40 Trivial Selector used as sibling filter 41 41 PASS document.querySelectorAll("[id=simple_unique] + *").length is 1 -
trunk/LayoutTests/fast/selectors/id-attribute-querySelector-used-as-id-selector-quirks.html
r203439 r221788 54 54 55 55 debug("Trivial Selector used as ancestor filter"); 56 test("[id=Ancestor_Unique] >>*", [6, 7, 8, 9]);57 test("[id=Ancestor_Unique] > * >>*", [7, 9]);58 test("[id=Ancestor_Unique] >>* > *", [7, 9]);59 test("[id=ancestor_unique] >>*", []);60 test("[id=ancestor_unique] > * >>*", []);61 test("[id=ancestor_unique] >>* > *", []);62 test("[id=ANCESTOR_DUPLICATED] >>*", [9, 11, 12, 13, 14]);63 test("[id=ANCESTOR_DUPLICATED] > * >>*", [12, 14]);64 test("[id=ANCESTOR_DUPLICATED] >>* > *", [12, 14]);65 test("[id=ancestor_duplicated] >>*", []);66 test("[id=ancestor_duplicated] > * >>*", []);67 test("[id=ancestor_duplicated] >>* > *", []);56 test("[id=Ancestor_Unique] *", [6, 7, 8, 9]); 57 test("[id=Ancestor_Unique] > * *", [7, 9]); 58 test("[id=Ancestor_Unique] * > *", [7, 9]); 59 test("[id=ancestor_unique] *", []); 60 test("[id=ancestor_unique] > * *", []); 61 test("[id=ancestor_unique] * > *", []); 62 test("[id=ANCESTOR_DUPLICATED] *", [9, 11, 12, 13, 14]); 63 test("[id=ANCESTOR_DUPLICATED] > * *", [12, 14]); 64 test("[id=ANCESTOR_DUPLICATED] * > *", [12, 14]); 65 test("[id=ancestor_duplicated] *", []); 66 test("[id=ancestor_duplicated] > * *", []); 67 test("[id=ancestor_duplicated] * > *", []); 68 68 69 69 debug("Non-Trivial Selector used as ancestor filter"); 70 test("div[id=Ancestor_Unique][data-case] >>*", [6, 7, 8, 9]);71 test("div[id=Ancestor_Unique][data-case] > * >>*", [7, 9]);72 test("div[id=Ancestor_Unique][data-case] >>* > *", [7, 9]);73 test("div[id=ancestor_unique][data-case] >>*", []);74 test("div[id=ancestor_unique][data-case] > * >>*", []);75 test("div[id=ancestor_unique][data-case] >>* > *", []);76 test("div[id=ANCESTOR_DUPLICATED][data-case] >>*", [9, 11, 12, 13, 14]);77 test("div[id=ANCESTOR_DUPLICATED][data-case] > * >>*", [12, 14]);78 test("div[id=ANCESTOR_DUPLICATED][data-case] >>* > *", [12, 14]);79 test("div[id=ancestor_duplicated][data-case] >>*", []);80 test("div[id=ancestor_duplicated][data-case] > * >>*", []);81 test("div[id=ancestor_duplicated][data-case] >>* > *", []);70 test("div[id=Ancestor_Unique][data-case] *", [6, 7, 8, 9]); 71 test("div[id=Ancestor_Unique][data-case] > * *", [7, 9]); 72 test("div[id=Ancestor_Unique][data-case] * > *", [7, 9]); 73 test("div[id=ancestor_unique][data-case] *", []); 74 test("div[id=ancestor_unique][data-case] > * *", []); 75 test("div[id=ancestor_unique][data-case] * > *", []); 76 test("div[id=ANCESTOR_DUPLICATED][data-case] *", [9, 11, 12, 13, 14]); 77 test("div[id=ANCESTOR_DUPLICATED][data-case] > * *", [12, 14]); 78 test("div[id=ANCESTOR_DUPLICATED][data-case] * > *", [12, 14]); 79 test("div[id=ancestor_duplicated][data-case] *", []); 80 test("div[id=ancestor_duplicated][data-case] > * *", []); 81 test("div[id=ancestor_duplicated][data-case] * > *", []); 82 82 83 83 debug("Trivial Selector used as sibling filter"); -
trunk/LayoutTests/fast/selectors/id-attribute-querySelector-used-as-id-selector.html
r203439 r221788 55 55 56 56 debug("Trivial Selector used as ancestor filter"); 57 test("[id=Ancestor_Unique] >>*", [6, 7, 8, 9]);58 test("[id=Ancestor_Unique] > * >>*", [7, 9]);59 test("[id=Ancestor_Unique] >>* > *", [7, 9]);60 test("[id=ancestor_unique] >>*", []);61 test("[id=ancestor_unique] > * >>*", []);62 test("[id=ancestor_unique] >>* > *", []);63 test("[id=ANCESTOR_DUPLICATED] >>*", [9, 11, 12, 13, 14]);64 test("[id=ANCESTOR_DUPLICATED] > * >>*", [12, 14]);65 test("[id=ANCESTOR_DUPLICATED] >>* > *", [12, 14]);66 test("[id=ancestor_duplicated] >>*", []);67 test("[id=ancestor_duplicated] > * >>*", []);68 test("[id=ancestor_duplicated] >>* > *", []);57 test("[id=Ancestor_Unique] *", [6, 7, 8, 9]); 58 test("[id=Ancestor_Unique] > * *", [7, 9]); 59 test("[id=Ancestor_Unique] * > *", [7, 9]); 60 test("[id=ancestor_unique] *", []); 61 test("[id=ancestor_unique] > * *", []); 62 test("[id=ancestor_unique] * > *", []); 63 test("[id=ANCESTOR_DUPLICATED] *", [9, 11, 12, 13, 14]); 64 test("[id=ANCESTOR_DUPLICATED] > * *", [12, 14]); 65 test("[id=ANCESTOR_DUPLICATED] * > *", [12, 14]); 66 test("[id=ancestor_duplicated] *", []); 67 test("[id=ancestor_duplicated] > * *", []); 68 test("[id=ancestor_duplicated] * > *", []); 69 69 70 70 debug("Non-Trivial Selector used as ancestor filter"); 71 test("div[id=Ancestor_Unique][data-case] >>*", [6, 7, 8, 9]);72 test("div[id=Ancestor_Unique][data-case] > * >>*", [7, 9]);73 test("div[id=Ancestor_Unique][data-case] >>* > *", [7, 9]);74 test("div[id=ancestor_unique][data-case] >>*", []);75 test("div[id=ancestor_unique][data-case] > * >>*", []);76 test("div[id=ancestor_unique][data-case] >>* > *", []);77 test("div[id=ANCESTOR_DUPLICATED][data-case] >>*", [9, 11, 12, 13, 14]);78 test("div[id=ANCESTOR_DUPLICATED][data-case] > * >>*", [12, 14]);79 test("div[id=ANCESTOR_DUPLICATED][data-case] >>* > *", [12, 14]);80 test("div[id=ancestor_duplicated][data-case] >>*", []);81 test("div[id=ancestor_duplicated][data-case] > * >>*", []);82 test("div[id=ancestor_duplicated][data-case] >>* > *", []);71 test("div[id=Ancestor_Unique][data-case] *", [6, 7, 8, 9]); 72 test("div[id=Ancestor_Unique][data-case] > * *", [7, 9]); 73 test("div[id=Ancestor_Unique][data-case] * > *", [7, 9]); 74 test("div[id=ancestor_unique][data-case] *", []); 75 test("div[id=ancestor_unique][data-case] > * *", []); 76 test("div[id=ancestor_unique][data-case] * > *", []); 77 test("div[id=ANCESTOR_DUPLICATED][data-case] *", [9, 11, 12, 13, 14]); 78 test("div[id=ANCESTOR_DUPLICATED][data-case] > * *", [12, 14]); 79 test("div[id=ANCESTOR_DUPLICATED][data-case] * > *", [12, 14]); 80 test("div[id=ancestor_duplicated][data-case] *", []); 81 test("div[id=ancestor_duplicated][data-case] > * *", []); 82 test("div[id=ancestor_duplicated][data-case] * > *", []); 83 83 84 84 debug("Trivial Selector used as sibling filter"); -
trunk/LayoutTests/fast/selectors/nth-child-matching-first-expected.txt
r181283 r221788 5 5 6 6 Testing ":nth-child(1)" 7 PASS document.querySelectorAll('#test-root >>:nth-child(1)').length is 18 PASS document.querySelectorAll('#test-root >>:nth-child(1)')[0].id is "testcase1"7 PASS document.querySelectorAll('#test-root :nth-child(1)').length is 1 8 PASS document.querySelectorAll('#test-root :nth-child(1)')[0].id is "testcase1" 9 9 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 10 10 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 14 14 15 15 Testing ":nth-child(+1)" 16 PASS document.querySelectorAll('#test-root >>:nth-child(+1)').length is 117 PASS document.querySelectorAll('#test-root >>:nth-child(+1)')[0].id is "testcase1"16 PASS document.querySelectorAll('#test-root :nth-child(+1)').length is 1 17 PASS document.querySelectorAll('#test-root :nth-child(+1)')[0].id is "testcase1" 18 18 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 19 19 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 23 23 24 24 Testing ":nth-child(-n+1)" 25 PASS document.querySelectorAll('#test-root >>:nth-child(-n+1)').length is 126 PASS document.querySelectorAll('#test-root >>:nth-child(-n+1)')[0].id is "testcase1"25 PASS document.querySelectorAll('#test-root :nth-child(-n+1)').length is 1 26 PASS document.querySelectorAll('#test-root :nth-child(-n+1)')[0].id is "testcase1" 27 27 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 28 28 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 32 32 33 33 Testing ":nth-child(-2n+1)" 34 PASS document.querySelectorAll('#test-root >>:nth-child(-2n+1)').length is 135 PASS document.querySelectorAll('#test-root >>:nth-child(-2n+1)')[0].id is "testcase1"34 PASS document.querySelectorAll('#test-root :nth-child(-2n+1)').length is 1 35 PASS document.querySelectorAll('#test-root :nth-child(-2n+1)')[0].id is "testcase1" 36 36 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 37 37 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 41 41 42 42 Testing ":nth-child(-3n+1)" 43 PASS document.querySelectorAll('#test-root >>:nth-child(-3n+1)').length is 144 PASS document.querySelectorAll('#test-root >>:nth-child(-3n+1)')[0].id is "testcase1"43 PASS document.querySelectorAll('#test-root :nth-child(-3n+1)').length is 1 44 PASS document.querySelectorAll('#test-root :nth-child(-3n+1)')[0].id is "testcase1" 45 45 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 46 46 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 50 50 51 51 Testing ":nth-child(odd):nth-child(1):nth-child(2n+1)" 52 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(1):nth-child(2n+1)').length is 153 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(1):nth-child(2n+1)')[0].id is "testcase1"52 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(1):nth-child(2n+1)').length is 1 53 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(1):nth-child(2n+1)')[0].id is "testcase1" 54 54 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 55 55 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 59 59 60 60 Testing ":nth-child(odd):nth-child(+1):nth-child(2n+1)" 61 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(+1):nth-child(2n+1)').length is 162 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(+1):nth-child(2n+1)')[0].id is "testcase1"61 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(+1):nth-child(2n+1)').length is 1 62 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(+1):nth-child(2n+1)')[0].id is "testcase1" 63 63 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 64 64 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 68 68 69 69 Testing ":nth-child(odd):nth-child(-n+1):nth-child(2n+1)" 70 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(-n+1):nth-child(2n+1)').length is 171 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(-n+1):nth-child(2n+1)')[0].id is "testcase1"70 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(-n+1):nth-child(2n+1)').length is 1 71 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(-n+1):nth-child(2n+1)')[0].id is "testcase1" 72 72 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 73 73 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 77 77 78 78 Testing ":nth-child(odd):nth-child(-2n+1):nth-child(2n+1)" 79 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(-2n+1):nth-child(2n+1)').length is 180 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(-2n+1):nth-child(2n+1)')[0].id is "testcase1"79 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(-2n+1):nth-child(2n+1)').length is 1 80 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(-2n+1):nth-child(2n+1)')[0].id is "testcase1" 81 81 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 82 82 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 86 86 87 87 Testing ":nth-child(odd):nth-child(-3n+1):nth-child(2n+1)" 88 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(-3n+1):nth-child(2n+1)').length is 189 PASS document.querySelectorAll('#test-root >>:nth-child(odd):nth-child(-3n+1):nth-child(2n+1)')[0].id is "testcase1"88 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(-3n+1):nth-child(2n+1)').length is 1 89 PASS document.querySelectorAll('#test-root :nth-child(odd):nth-child(-3n+1):nth-child(2n+1)')[0].id is "testcase1" 90 90 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 91 91 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 95 95 96 96 Testing ":nth-child(-n-1)" 97 PASS document.querySelectorAll('#test-root >>:nth-child(-n-1)').length is 097 PASS document.querySelectorAll('#test-root :nth-child(-n-1)').length is 0 98 98 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 99 99 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 103 103 104 104 Testing ":nth-child(n+1)" 105 PASS document.querySelectorAll('#test-root >>:nth-child(n+1)').length is 5106 PASS document.querySelectorAll('#test-root >>:nth-child(n+1)')[0].id is "testcase1"107 PASS document.querySelectorAll('#test-root >>:nth-child(n+1)')[1].id is "testcase2"108 PASS document.querySelectorAll('#test-root >>:nth-child(n+1)')[2].id is "testcase3"109 PASS document.querySelectorAll('#test-root >>:nth-child(n+1)')[3].id is "testcase4"110 PASS document.querySelectorAll('#test-root >>:nth-child(n+1)')[4].id is "testcase5"105 PASS document.querySelectorAll('#test-root :nth-child(n+1)').length is 5 106 PASS document.querySelectorAll('#test-root :nth-child(n+1)')[0].id is "testcase1" 107 PASS document.querySelectorAll('#test-root :nth-child(n+1)')[1].id is "testcase2" 108 PASS document.querySelectorAll('#test-root :nth-child(n+1)')[2].id is "testcase3" 109 PASS document.querySelectorAll('#test-root :nth-child(n+1)')[3].id is "testcase4" 110 PASS document.querySelectorAll('#test-root :nth-child(n+1)')[4].id is "testcase5" 111 111 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 112 112 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(10, 100, 200)" … … 116 116 117 117 Testing ":nth-child(n-1)" 118 PASS document.querySelectorAll('#test-root >>:nth-child(n-1)').length is 5119 PASS document.querySelectorAll('#test-root >>:nth-child(n-1)')[0].id is "testcase1"120 PASS document.querySelectorAll('#test-root >>:nth-child(n-1)')[1].id is "testcase2"121 PASS document.querySelectorAll('#test-root >>:nth-child(n-1)')[2].id is "testcase3"122 PASS document.querySelectorAll('#test-root >>:nth-child(n-1)')[3].id is "testcase4"123 PASS document.querySelectorAll('#test-root >>:nth-child(n-1)')[4].id is "testcase5"118 PASS document.querySelectorAll('#test-root :nth-child(n-1)').length is 5 119 PASS document.querySelectorAll('#test-root :nth-child(n-1)')[0].id is "testcase1" 120 PASS document.querySelectorAll('#test-root :nth-child(n-1)')[1].id is "testcase2" 121 PASS document.querySelectorAll('#test-root :nth-child(n-1)')[2].id is "testcase3" 122 PASS document.querySelectorAll('#test-root :nth-child(n-1)')[3].id is "testcase4" 123 PASS document.querySelectorAll('#test-root :nth-child(n-1)')[4].id is "testcase5" 124 124 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 125 125 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(10, 100, 200)" -
trunk/LayoutTests/fast/selectors/nth-child-matching-first.html
r181283 r221788 44 44 function testSelector(selector, expectedIds) { 45 45 debug("Testing \"" + selector + "\""); 46 testQuerySelector("#test-root >>" + selector, expectedIds);47 testStyling("#test-root >>" + selector, expectedIds);46 testQuerySelector("#test-root " + selector, expectedIds); 47 testStyling("#test-root " + selector, expectedIds); 48 48 debug(""); 49 49 } -
trunk/LayoutTests/fast/selectors/nth-last-child-matching-first-expected.txt
r181283 r221788 5 5 6 6 Testing ":nth-last-child(1)" 7 PASS document.querySelectorAll('#test-root >>:nth-last-child(1)').length is 18 PASS document.querySelectorAll('#test-root >>:nth-last-child(1)')[0].id is "testcase5"7 PASS document.querySelectorAll('#test-root :nth-last-child(1)').length is 1 8 PASS document.querySelectorAll('#test-root :nth-last-child(1)')[0].id is "testcase5" 9 9 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 10 10 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 14 14 15 15 Testing ":nth-last-child(+1)" 16 PASS document.querySelectorAll('#test-root >>:nth-last-child(+1)').length is 117 PASS document.querySelectorAll('#test-root >>:nth-last-child(+1)')[0].id is "testcase5"16 PASS document.querySelectorAll('#test-root :nth-last-child(+1)').length is 1 17 PASS document.querySelectorAll('#test-root :nth-last-child(+1)')[0].id is "testcase5" 18 18 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 19 19 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 23 23 24 24 Testing ":nth-last-child(-n+1)" 25 PASS document.querySelectorAll('#test-root >>:nth-last-child(-n+1)').length is 126 PASS document.querySelectorAll('#test-root >>:nth-last-child(-n+1)')[0].id is "testcase5"25 PASS document.querySelectorAll('#test-root :nth-last-child(-n+1)').length is 1 26 PASS document.querySelectorAll('#test-root :nth-last-child(-n+1)')[0].id is "testcase5" 27 27 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 28 28 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 32 32 33 33 Testing ":nth-last-child(-2n+1)" 34 PASS document.querySelectorAll('#test-root >>:nth-last-child(-2n+1)').length is 135 PASS document.querySelectorAll('#test-root >>:nth-last-child(-2n+1)')[0].id is "testcase5"34 PASS document.querySelectorAll('#test-root :nth-last-child(-2n+1)').length is 1 35 PASS document.querySelectorAll('#test-root :nth-last-child(-2n+1)')[0].id is "testcase5" 36 36 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 37 37 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 41 41 42 42 Testing ":nth-last-child(-3n+1)" 43 PASS document.querySelectorAll('#test-root >>:nth-last-child(-3n+1)').length is 144 PASS document.querySelectorAll('#test-root >>:nth-last-child(-3n+1)')[0].id is "testcase5"43 PASS document.querySelectorAll('#test-root :nth-last-child(-3n+1)').length is 1 44 PASS document.querySelectorAll('#test-root :nth-last-child(-3n+1)')[0].id is "testcase5" 45 45 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 46 46 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 50 50 51 51 Testing ":nth-last-child(odd):nth-last-child(1):nth-last-child(2n+1)" 52 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(1):nth-last-child(2n+1)').length is 153 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(1):nth-last-child(2n+1)')[0].id is "testcase5"52 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(1):nth-last-child(2n+1)').length is 1 53 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(1):nth-last-child(2n+1)')[0].id is "testcase5" 54 54 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 55 55 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 59 59 60 60 Testing ":nth-last-child(odd):nth-last-child(+1):nth-last-child(2n+1)" 61 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(+1):nth-last-child(2n+1)').length is 162 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(+1):nth-last-child(2n+1)')[0].id is "testcase5"61 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(+1):nth-last-child(2n+1)').length is 1 62 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(+1):nth-last-child(2n+1)')[0].id is "testcase5" 63 63 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 64 64 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 68 68 69 69 Testing ":nth-last-child(odd):nth-last-child(-n+1):nth-last-child(2n+1)" 70 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(-n+1):nth-last-child(2n+1)').length is 171 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(-n+1):nth-last-child(2n+1)')[0].id is "testcase5"70 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(-n+1):nth-last-child(2n+1)').length is 1 71 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(-n+1):nth-last-child(2n+1)')[0].id is "testcase5" 72 72 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 73 73 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 77 77 78 78 Testing ":nth-last-child(odd):nth-last-child(-2n+1):nth-last-child(2n+1)" 79 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(-2n+1):nth-last-child(2n+1)').length is 180 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(-2n+1):nth-last-child(2n+1)')[0].id is "testcase5"79 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(-2n+1):nth-last-child(2n+1)').length is 1 80 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(-2n+1):nth-last-child(2n+1)')[0].id is "testcase5" 81 81 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 82 82 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 86 86 87 87 Testing ":nth-last-child(odd):nth-last-child(-3n+1):nth-last-child(2n+1)" 88 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(-3n+1):nth-last-child(2n+1)').length is 189 PASS document.querySelectorAll('#test-root >>:nth-last-child(odd):nth-last-child(-3n+1):nth-last-child(2n+1)')[0].id is "testcase5"88 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(-3n+1):nth-last-child(2n+1)').length is 1 89 PASS document.querySelectorAll('#test-root :nth-last-child(odd):nth-last-child(-3n+1):nth-last-child(2n+1)')[0].id is "testcase5" 90 90 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 91 91 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 95 95 96 96 Testing ":nth-last-child(-n-1)" 97 PASS document.querySelectorAll('#test-root >>:nth-last-child(-n-1)').length is 097 PASS document.querySelectorAll('#test-root :nth-last-child(-n-1)').length is 0 98 98 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(255, 0, 0)" 99 99 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(255, 0, 0)" … … 103 103 104 104 Testing ":nth-last-child(n+1)" 105 PASS document.querySelectorAll('#test-root >>:nth-last-child(n+1)').length is 5106 PASS document.querySelectorAll('#test-root >>:nth-last-child(n+1)')[0].id is "testcase1"107 PASS document.querySelectorAll('#test-root >>:nth-last-child(n+1)')[1].id is "testcase2"108 PASS document.querySelectorAll('#test-root >>:nth-last-child(n+1)')[2].id is "testcase3"109 PASS document.querySelectorAll('#test-root >>:nth-last-child(n+1)')[3].id is "testcase4"110 PASS document.querySelectorAll('#test-root >>:nth-last-child(n+1)')[4].id is "testcase5"105 PASS document.querySelectorAll('#test-root :nth-last-child(n+1)').length is 5 106 PASS document.querySelectorAll('#test-root :nth-last-child(n+1)')[0].id is "testcase1" 107 PASS document.querySelectorAll('#test-root :nth-last-child(n+1)')[1].id is "testcase2" 108 PASS document.querySelectorAll('#test-root :nth-last-child(n+1)')[2].id is "testcase3" 109 PASS document.querySelectorAll('#test-root :nth-last-child(n+1)')[3].id is "testcase4" 110 PASS document.querySelectorAll('#test-root :nth-last-child(n+1)')[4].id is "testcase5" 111 111 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 112 112 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(10, 100, 200)" … … 116 116 117 117 Testing ":nth-last-child(n-1)" 118 PASS document.querySelectorAll('#test-root >>:nth-last-child(n-1)').length is 5119 PASS document.querySelectorAll('#test-root >>:nth-last-child(n-1)')[0].id is "testcase1"120 PASS document.querySelectorAll('#test-root >>:nth-last-child(n-1)')[1].id is "testcase2"121 PASS document.querySelectorAll('#test-root >>:nth-last-child(n-1)')[2].id is "testcase3"122 PASS document.querySelectorAll('#test-root >>:nth-last-child(n-1)')[3].id is "testcase4"123 PASS document.querySelectorAll('#test-root >>:nth-last-child(n-1)')[4].id is "testcase5"118 PASS document.querySelectorAll('#test-root :nth-last-child(n-1)').length is 5 119 PASS document.querySelectorAll('#test-root :nth-last-child(n-1)')[0].id is "testcase1" 120 PASS document.querySelectorAll('#test-root :nth-last-child(n-1)')[1].id is "testcase2" 121 PASS document.querySelectorAll('#test-root :nth-last-child(n-1)')[2].id is "testcase3" 122 PASS document.querySelectorAll('#test-root :nth-last-child(n-1)')[3].id is "testcase4" 123 PASS document.querySelectorAll('#test-root :nth-last-child(n-1)')[4].id is "testcase5" 124 124 PASS getComputedStyle(document.querySelectorAll("#test-root *")[0]).backgroundColor is "rgb(10, 100, 200)" 125 125 PASS getComputedStyle(document.querySelectorAll("#test-root *")[1]).backgroundColor is "rgb(10, 100, 200)" -
trunk/LayoutTests/fast/selectors/nth-last-child-matching-first.html
r181283 r221788 44 44 function testSelector(selector, expectedIds) { 45 45 debug("Testing \"" + selector + "\""); 46 testQuerySelector("#test-root >>" + selector, expectedIds);47 testStyling("#test-root >>" + selector, expectedIds);46 testQuerySelector("#test-root " + selector, expectedIds); 47 testStyling("#test-root " + selector, expectedIds); 48 48 debug(""); 49 49 } -
trunk/LayoutTests/fast/selectors/querySelector-attribute-ascii-case-insensitive-html-expected.txt
r179323 r221788 34 34 PASS document.querySelectorAll('[DATA-ÆØÅ^="Web"]')[1].id is "target4" 35 35 PASS document.querySelectorAll('[DATA-æØå^="Web"]').length is 0 36 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-æøå]').length is 237 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-æøå]')[0].id is "target1"38 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-æøå]')[1].id is "target4"39 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-Æøå]').length is 240 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-Æøå]')[0].id is "target2"41 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-Æøå]')[1].id is "target4"42 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-ÆØÅ]').length is 243 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-ÆØÅ]')[0].id is "target3"44 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-ÆØÅ]')[1].id is "target4"45 PASS document.querySelectorAll(':root >> :matches(body, html) >>[data-æØå]').length is 046 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]').length is 247 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]')[0].id is "target1"48 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]')[1].id is "target4"49 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]').length is 250 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]')[0].id is "target2"51 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]')[1].id is "target4"52 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]').length is 253 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]')[0].id is "target3"54 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]')[1].id is "target4"55 PASS document.querySelectorAll(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]').length is 056 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-æøå^="Web"]').length is 257 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-æøå^="Web"]')[0].id is "target1"58 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-æøå^="Web"]')[1].id is "target4"59 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]').length is 260 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]')[0].id is "target2"61 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]')[1].id is "target4"62 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]').length is 263 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]')[0].id is "target3"64 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]')[1].id is "target4"65 PASS document.querySelectorAll(':root >> :matches(body, html) >>[DATA-æØå^="Web"]').length is 036 PASS document.querySelectorAll(':root :matches(body, html) [data-æøå]').length is 2 37 PASS document.querySelectorAll(':root :matches(body, html) [data-æøå]')[0].id is "target1" 38 PASS document.querySelectorAll(':root :matches(body, html) [data-æøå]')[1].id is "target4" 39 PASS document.querySelectorAll(':root :matches(body, html) [data-Æøå]').length is 2 40 PASS document.querySelectorAll(':root :matches(body, html) [data-Æøå]')[0].id is "target2" 41 PASS document.querySelectorAll(':root :matches(body, html) [data-Æøå]')[1].id is "target4" 42 PASS document.querySelectorAll(':root :matches(body, html) [data-ÆØÅ]').length is 2 43 PASS document.querySelectorAll(':root :matches(body, html) [data-ÆØÅ]')[0].id is "target3" 44 PASS document.querySelectorAll(':root :matches(body, html) [data-ÆØÅ]')[1].id is "target4" 45 PASS document.querySelectorAll(':root :matches(body, html) [data-æØå]').length is 0 46 PASS document.querySelectorAll(':root :matches(body, html) [Data-æøå="WebKit!"]').length is 2 47 PASS document.querySelectorAll(':root :matches(body, html) [Data-æøå="WebKit!"]')[0].id is "target1" 48 PASS document.querySelectorAll(':root :matches(body, html) [Data-æøå="WebKit!"]')[1].id is "target4" 49 PASS document.querySelectorAll(':root :matches(body, html) [Data-Æøå="WebKit!"]').length is 2 50 PASS document.querySelectorAll(':root :matches(body, html) [Data-Æøå="WebKit!"]')[0].id is "target2" 51 PASS document.querySelectorAll(':root :matches(body, html) [Data-Æøå="WebKit!"]')[1].id is "target4" 52 PASS document.querySelectorAll(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]').length is 2 53 PASS document.querySelectorAll(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]')[0].id is "target3" 54 PASS document.querySelectorAll(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]')[1].id is "target4" 55 PASS document.querySelectorAll(':root :matches(body, html) [Data-æØå="WebKit!"]').length is 0 56 PASS document.querySelectorAll(':root :matches(body, html) [DATA-æøå^="Web"]').length is 2 57 PASS document.querySelectorAll(':root :matches(body, html) [DATA-æøå^="Web"]')[0].id is "target1" 58 PASS document.querySelectorAll(':root :matches(body, html) [DATA-æøå^="Web"]')[1].id is "target4" 59 PASS document.querySelectorAll(':root :matches(body, html) [DATA-Æøå^="Web"]').length is 2 60 PASS document.querySelectorAll(':root :matches(body, html) [DATA-Æøå^="Web"]')[0].id is "target2" 61 PASS document.querySelectorAll(':root :matches(body, html) [DATA-Æøå^="Web"]')[1].id is "target4" 62 PASS document.querySelectorAll(':root :matches(body, html) [DATA-ÆØÅ^="Web"]').length is 2 63 PASS document.querySelectorAll(':root :matches(body, html) [DATA-ÆØÅ^="Web"]')[0].id is "target3" 64 PASS document.querySelectorAll(':root :matches(body, html) [DATA-ÆØÅ^="Web"]')[1].id is "target4" 65 PASS document.querySelectorAll(':root :matches(body, html) [DATA-æØå^="Web"]').length is 0 66 66 PASS successfullyParsed is true 67 67 -
trunk/LayoutTests/fast/selectors/querySelector-attribute-ascii-case-insensitive-html.html
r179323 r221788 40 40 41 41 // Complex selectors. 42 testSelector(':root >> :matches(body, html) >>[data-æøå]', [1, 4]);43 testSelector(':root >> :matches(body, html) >>[data-Æøå]', [2, 4]);44 testSelector(':root >> :matches(body, html) >>[data-ÆØÅ]', [3, 4]);45 testSelector(':root >> :matches(body, html) >>[data-æØå]', []);42 testSelector(':root :matches(body, html) [data-æøå]', [1, 4]); 43 testSelector(':root :matches(body, html) [data-Æøå]', [2, 4]); 44 testSelector(':root :matches(body, html) [data-ÆØÅ]', [3, 4]); 45 testSelector(':root :matches(body, html) [data-æØå]', []); 46 46 47 testSelector(':root >> :matches(body, html) >>[Data-æøå="WebKit!"]', [1, 4]);48 testSelector(':root >> :matches(body, html) >>[Data-Æøå="WebKit!"]', [2, 4]);49 testSelector(':root >> :matches(body, html) >>[Data-ÆØÅ="WebKit!"]', [3, 4]);50 testSelector(':root >> :matches(body, html) >>[Data-æØå="WebKit!"]', []);47 testSelector(':root :matches(body, html) [Data-æøå="WebKit!"]', [1, 4]); 48 testSelector(':root :matches(body, html) [Data-Æøå="WebKit!"]', [2, 4]); 49 testSelector(':root :matches(body, html) [Data-ÆØÅ="WebKit!"]', [3, 4]); 50 testSelector(':root :matches(body, html) [Data-æØå="WebKit!"]', []); 51 51 52 testSelector(':root >> :matches(body, html) >>[DATA-æøå^="Web"]', [1, 4]);53 testSelector(':root >> :matches(body, html) >>[DATA-Æøå^="Web"]', [2, 4]);54 testSelector(':root >> :matches(body, html) >>[DATA-ÆØÅ^="Web"]', [3, 4]);55 testSelector(':root >> :matches(body, html) >>[DATA-æØå^="Web"]', []);52 testSelector(':root :matches(body, html) [DATA-æøå^="Web"]', [1, 4]); 53 testSelector(':root :matches(body, html) [DATA-Æøå^="Web"]', [2, 4]); 54 testSelector(':root :matches(body, html) [DATA-ÆØÅ^="Web"]', [3, 4]); 55 testSelector(':root :matches(body, html) [DATA-æØå^="Web"]', []); 56 56 </script> 57 57 <script src="../../resources/js-test-post.js"></script> -
trunk/LayoutTests/imported/w3c/ChangeLog
r221772 r221788 1 2017-09-08 Antti Koivisto <antti@apple.com> 2 3 Remove support for >> descendant combinator syntax 4 https://bugs.webkit.org/show_bug.cgi?id=175765 5 6 Reviewed by Sam Weinig. 7 8 Tests for these have been removed in WPT master, just update expectations until new version is imported. 9 10 * web-platform-tests/dom/nodes/Element-matches-expected.txt: 11 * web-platform-tests/dom/nodes/Element-webkitMatchesSelector-expected.txt: 12 * web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt: 13 * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt: 14 1 15 2017-09-07 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt
r218181 r221788 193 193 PASS In-document Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant \r 194 194 #descendant-div2 195 PASS In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div 196 PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): body>>#descendant-div1 197 PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 198 PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 199 PASS In-document Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 200 PASS In-document Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 195 FAIL In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div The string did not match the expected pattern. 196 FAIL In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): body>>#descendant-div1 The string did not match the expected pattern. 197 FAIL In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 198 FAIL In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 The string did not match the expected pattern. 199 FAIL In-document Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 200 FAIL In-document Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 201 201 PASS In-document Element.matches: Child combinator, matching element that is a child of an element with id (with no refNodes): #child>div 202 202 PASS In-document Element.matches: Child combinator, matching element with id that is a child of an element (with no refNodes): div>#child-div1 … … 356 356 PASS Detached Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant \r 357 357 #descendant-div2 358 PASS Detached Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div 359 PASS Detached Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 360 PASS Detached Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 361 PASS Detached Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 362 PASS Detached Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 358 FAIL Detached Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div The string did not match the expected pattern. 359 FAIL Detached Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 360 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 The string did not match the expected pattern. 361 FAIL Detached Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 362 FAIL Detached Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 363 363 PASS Detached Element.matches: Child combinator, matching element that is a child of an element with id (with no refNodes): #child>div 364 364 PASS Detached Element.matches: Child combinator, matching element with id that is a child of an element (with no refNodes): div>#child-div1 … … 518 518 PASS Fragment Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant \r 519 519 #descendant-div2 520 PASS Fragment Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div 521 PASS Fragment Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 522 PASS Fragment Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 523 PASS Fragment Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 524 PASS Fragment Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 520 FAIL Fragment Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div The string did not match the expected pattern. 521 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 522 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 The string did not match the expected pattern. 523 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 524 FAIL Fragment Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 525 525 PASS Fragment Element.matches: Child combinator, matching element that is a child of an element with id (with no refNodes): #child>div 526 526 PASS Fragment Element.matches: Child combinator, matching element with id that is a child of an element (with no refNodes): div>#child-div1 … … 683 683 PASS In-document Element.matches: Descendant combinator, whitespace characters (1) (with no refNodes): #descendant \r 684 684 #descendant-div2 685 PASS In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (1) (with no refNodes): #descendant>>div 686 PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): body>>#descendant-div1 687 PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): div>>#descendant-div1 688 PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (1) (with no refNodes): #descendant>>#descendant-div2 689 PASS In-document Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (1) (with no refNodes): #descendant>>.descendant-div2 690 PASS 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 685 FAIL In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (1) (with no refNodes): #descendant>>div The string did not match the expected pattern. 686 FAIL In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): body>>#descendant-div1 The string did not match the expected pattern. 687 FAIL In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 688 FAIL In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element with id (1) (with no refNodes): #descendant>>#descendant-div2 The string did not match the expected pattern. 689 FAIL In-document Element.matches: Descendant combinator '>>', matching element with class that is a descendant of an element with id (1) (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 690 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 The string did not match the expected pattern. 691 691 PASS In-document Element.matches: Child combinator, matching element that is a child of an element with id (1) (with no refNodes): #child>div 692 692 PASS In-document Element.matches: Child combinator, matching element with id that is a child of an element (1) (with no refNodes): div>#child-div1 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-webkitMatchesSelector-expected.txt
r218181 r221788 193 193 PASS In-document Element.webkitMatchesSelector: Descendant combinator, whitespace characters (with no refNodes): #descendant \r 194 194 #descendant-div2 195 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div 196 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): body>>#descendant-div1 197 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 198 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 199 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 200 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 195 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div The string did not match the expected pattern. 196 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): body>>#descendant-div1 The string did not match the expected pattern. 197 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 198 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 The string did not match the expected pattern. 199 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 200 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 201 201 PASS In-document Element.webkitMatchesSelector: Child combinator, matching element that is a child of an element with id (with no refNodes): #child>div 202 202 PASS In-document Element.webkitMatchesSelector: Child combinator, matching element with id that is a child of an element (with no refNodes): div>#child-div1 … … 356 356 PASS Detached Element.webkitMatchesSelector: Descendant combinator, whitespace characters (with no refNodes): #descendant \r 357 357 #descendant-div2 358 PASS Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div 359 PASS Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 360 PASS Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 361 PASS Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 362 PASS Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 358 FAIL Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div The string did not match the expected pattern. 359 FAIL Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 360 FAIL Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 The string did not match the expected pattern. 361 FAIL Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 362 FAIL Detached Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 363 363 PASS Detached Element.webkitMatchesSelector: Child combinator, matching element that is a child of an element with id (with no refNodes): #child>div 364 364 PASS Detached Element.webkitMatchesSelector: Child combinator, matching element with id that is a child of an element (with no refNodes): div>#child-div1 … … 518 518 PASS Fragment Element.webkitMatchesSelector: Descendant combinator, whitespace characters (with no refNodes): #descendant \r 519 519 #descendant-div2 520 PASS Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div 521 PASS Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 522 PASS Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 523 PASS Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 524 PASS Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 520 FAIL Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div The string did not match the expected pattern. 521 FAIL Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 522 FAIL Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (with no refNodes): #descendant>>#descendant-div2 The string did not match the expected pattern. 523 FAIL Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 524 FAIL Fragment Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 525 525 PASS Fragment Element.webkitMatchesSelector: Child combinator, matching element that is a child of an element with id (with no refNodes): #child>div 526 526 PASS Fragment Element.webkitMatchesSelector: Child combinator, matching element with id that is a child of an element (with no refNodes): div>#child-div1 … … 683 683 PASS In-document Element.webkitMatchesSelector: Descendant combinator, whitespace characters (1) (with no refNodes): #descendant \r 684 684 #descendant-div2 685 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (1) (with no refNodes): #descendant>>div 686 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): body>>#descendant-div1 687 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): div>>#descendant-div1 688 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (1) (with no refNodes): #descendant>>#descendant-div2 689 PASS In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (1) (with no refNodes): #descendant>>.descendant-div2 690 PASS In-document Element.webkitMatchesSelector: Descendant combinator, '>>', matching element with class that is a descendant of an element with class (1) (with no refNodes): .descendant-div1>>.descendant-div3 685 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element that is a descendant of an element with id (1) (with no refNodes): #descendant>>div The string did not match the expected pattern. 686 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): body>>#descendant-div1 The string did not match the expected pattern. 687 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): div>>#descendant-div1 The string did not match the expected pattern. 688 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id (1) (with no refNodes): #descendant>>#descendant-div2 The string did not match the expected pattern. 689 FAIL In-document Element.webkitMatchesSelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id (1) (with no refNodes): #descendant>>.descendant-div2 The string did not match the expected pattern. 690 FAIL In-document Element.webkitMatchesSelector: Descendant combinator, '>>', matching element with class that is a descendant of an element with class (1) (with no refNodes): .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 691 691 PASS In-document Element.webkitMatchesSelector: Child combinator, matching element that is a child of an element with id (1) (with no refNodes): #child>div 692 692 PASS In-document Element.webkitMatchesSelector: Child combinator, matching element with id that is a child of an element (1) (with no refNodes): div>#child-div1 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt
r218181 r221788 602 602 PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant \r 603 603 #descendant-div2 604 PASS Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 605 PASS Document.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 606 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 607 PASS Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 608 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 609 PASS Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 610 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 611 PASS Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 612 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 613 PASS Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 614 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 615 PASS Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 616 PASS Document.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 617 PASS Document.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 604 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 605 FAIL Document.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 606 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 607 FAIL Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 608 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 609 FAIL Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 610 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 611 FAIL Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 612 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 613 FAIL Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 614 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 615 FAIL Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 616 FAIL Document.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 617 FAIL Document.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 618 618 PASS Document.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 619 619 PASS Document.querySelector: Child combinator, matching element that is a child of an element with id: #child>div … … 1028 1028 PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant \r 1029 1029 #descendant-div2 1030 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1031 PASS Detached Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1032 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1033 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1034 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1035 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1036 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1037 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1038 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1039 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1040 PASS Detached Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1041 PASS Detached Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1030 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1031 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1032 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1033 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1034 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1035 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1036 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1037 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1038 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1039 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1040 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1041 FAIL Detached Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1042 1042 PASS Detached Element.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 1043 1043 PASS Detached Element.querySelector: Child combinator, matching element that is a child of an element with id: #child>div … … 1452 1452 PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant \r 1453 1453 #descendant-div2 1454 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1455 PASS Fragment.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1456 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1457 PASS Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1458 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1459 PASS Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1460 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1461 PASS Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1462 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1463 PASS Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1464 PASS Fragment.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1465 PASS Fragment.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1454 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1455 FAIL Fragment.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1456 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1457 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1458 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1459 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1460 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1461 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1462 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1463 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1464 FAIL Fragment.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1465 FAIL Fragment.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1466 1466 PASS Fragment.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 1467 1467 PASS Fragment.querySelector: Child combinator, matching element that is a child of an element with id: #child>div … … 1878 1878 PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant \r 1879 1879 #descendant-div2 1880 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1881 PASS In-document Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1882 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 1883 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 1884 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1885 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1886 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1887 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1888 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1889 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1890 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1891 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1892 PASS In-document Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1893 PASS In-document Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1880 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1881 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1882 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 1883 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 1884 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1885 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1886 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1887 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1888 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1889 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1890 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1891 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1892 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1893 FAIL In-document Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1894 1894 PASS In-document Element.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 1895 1895 PASS In-document Element.querySelector: Child combinator, matching element that is a child of an element with id: #child>div -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt
r218181 r221788 602 602 PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant \r 603 603 #descendant-div2 604 PASS Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 605 PASS Document.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 606 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 607 PASS Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 608 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 609 PASS Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 610 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 611 PASS Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 612 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 613 PASS Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 614 PASS Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 615 PASS Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 616 PASS Document.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 617 PASS Document.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 604 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 605 FAIL Document.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 606 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 607 FAIL Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 608 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 609 FAIL Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 610 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 611 FAIL Document.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 612 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 613 FAIL Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 614 FAIL Document.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 615 FAIL Document.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 616 FAIL Document.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 617 FAIL Document.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 618 618 PASS Document.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 619 619 PASS Document.querySelector: Child combinator, matching element that is a child of an element with id: #child>div … … 1028 1028 PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant \r 1029 1029 #descendant-div2 1030 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1031 PASS Detached Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1032 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1033 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1034 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1035 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1036 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1037 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1038 PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1039 PASS Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1040 PASS Detached Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1041 PASS Detached Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1030 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1031 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1032 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1033 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1034 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1035 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1036 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1037 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1038 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1039 FAIL Detached Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1040 FAIL Detached Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1041 FAIL Detached Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1042 1042 PASS Detached Element.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 1043 1043 PASS Detached Element.querySelector: Child combinator, matching element that is a child of an element with id: #child>div … … 1452 1452 PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant \r 1453 1453 #descendant-div2 1454 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1455 PASS Fragment.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1456 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1457 PASS Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1458 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1459 PASS Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1460 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1461 PASS Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1462 PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1463 PASS Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1464 PASS Fragment.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1465 PASS Fragment.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1454 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1455 FAIL Fragment.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1456 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1457 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1458 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1459 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1460 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1461 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1462 FAIL Fragment.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1463 FAIL Fragment.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1464 FAIL Fragment.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1465 FAIL Fragment.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1466 1466 PASS Fragment.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 1467 1467 PASS Fragment.querySelector: Child combinator, matching element that is a child of an element with id: #child>div … … 1878 1878 PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant \r 1879 1879 #descendant-div2 1880 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1881 PASS In-document Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div 1882 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 1883 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 1884 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1885 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 1886 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1887 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 1888 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1889 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 1890 PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1891 PASS In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 1892 PASS In-document Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1893 PASS In-document Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 1880 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1881 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div The string did not match the expected pattern. 1882 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 1883 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: body>>#descendant-div1 The string did not match the expected pattern. 1884 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1885 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element: div>>#descendant-div1 The string did not match the expected pattern. 1886 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1887 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with id that is a descendant of an element with id: #descendant>>#descendant-div2 The string did not match the expected pattern. 1888 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1889 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with id: #descendant>>.descendant-div2 The string did not match the expected pattern. 1890 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1891 FAIL In-document Element.querySelector: Descendant combinator '>>', matching element with class that is a descendant of an element with class: .descendant-div1>>.descendant-div3 The string did not match the expected pattern. 1892 FAIL In-document Element.querySelectorAll: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1893 FAIL In-document Element.querySelector: Descendant combinator '>>', not matching element with id that is not a descendant of an element with id: #descendant-div1>>#descendant-div4 The string did not match the expected pattern. 1894 1894 PASS In-document Element.querySelectorAll: Child combinator, matching element that is a child of an element with id: #child>div 1895 1895 PASS In-document Element.querySelector: Child combinator, matching element that is a child of an element with id: #child>div -
trunk/Source/WebCore/ChangeLog
r221782 r221788 1 2017-09-08 Antti Koivisto <antti@apple.com> 2 3 Remove support for >> descendant combinator syntax 4 https://bugs.webkit.org/show_bug.cgi?id=175765 5 6 Reviewed by Sam Weinig. 7 8 This is an alternative syntax for the normal descendant combinator (just space) that was 9 advertised as being consistent with > (child combinator) and >>> (shadow piercing combinator). 10 The latter has been killed so it is not consistent with anything anymore. 11 12 No other engine besides WebKit has implemented this and the WPT tests have been removed 13 (in https://github.com/w3c/web-platform-tests/pull/6785). Full removal from spec is still 14 open (https://github.com/w3c/csswg-drafts/issues/641) but we shouldn't encourage adoption of 15 this pointless feature. 16 17 While this has shipped the compatibility risk is low as no other engine implemented it and 18 there were no incentives to use it over the standard syntax. 19 20 * css/CSSSelector.cpp: 21 (WebCore::CSSSelector::selectorText const): 22 * css/CSSSelector.h: 23 (WebCore::CSSSelector::hasDescendantRelation const): 24 * css/SelectorChecker.cpp: 25 (WebCore::SelectorChecker::matchRecursively const): 26 * css/SelectorFilter.cpp: 27 (WebCore::SelectorFilter::collectIdentifierHashes): 28 * css/parser/CSSParserSelector.cpp: 29 (WebCore::CSSParserSelector::appendTagHistory): 30 * css/parser/CSSParserSelector.h: 31 * css/parser/CSSSelectorParser.cpp: 32 (WebCore::isDescendantCombinator): 33 (WebCore::CSSSelectorParser::consumeCombinator): 34 * cssjit/SelectorCompiler.cpp: 35 (WebCore::SelectorCompiler::fragmentRelationForSelectorRelation): 36 1 37 2017-09-08 Zan Dobersek <zdobersek@igalia.com> 2 38 -
trunk/Source/WebCore/css/CSSSelector.cpp
r220207 r221788 734 734 case CSSSelector::IndirectAdjacent: 735 735 return tagHistory->selectorText(" ~ " + str.toString() + rightSide); 736 #if ENABLE(CSS_SELECTORS_LEVEL4)737 case CSSSelector::DescendantDoubleChild:738 return tagHistory->selectorText(" >> " + str.toString() + rightSide);739 #endif740 736 case CSSSelector::Subselector: 741 737 ASSERT_NOT_REACHED(); -
trunk/Source/WebCore/css/CSSSelector.h
r220207 r221788 86 86 DirectAdjacent, 87 87 IndirectAdjacent, 88 #if ENABLE(CSS_SELECTORS_LEVEL4)89 DescendantDoubleChild,90 #endif91 88 ShadowDescendant 92 89 }; … … 258 255 int nthB() const; 259 256 260 #if ENABLE(CSS_SELECTORS_LEVEL4)261 bool hasDescendantRelation() const { return relation() == DescendantSpace || relation() == DescendantDoubleChild; }262 #else263 257 bool hasDescendantRelation() const { return relation() == DescendantSpace; } 264 #endif265 258 266 259 bool hasDescendantOrChildRelation() const { return relation() == Child || hasDescendantRelation(); } -
trunk/Source/WebCore/css/SelectorChecker.cpp
r219237 r221788 333 333 switch (relation) { 334 334 case CSSSelector::DescendantSpace: 335 #if ENABLE(CSS_SELECTORS_LEVEL4)336 case CSSSelector::DescendantDoubleChild:337 #endif338 335 nextContext = localContextForParent(nextContext); 339 336 nextContext.firstSelectorOfTheFragment = nextContext.selector; -
trunk/Source/WebCore/css/SelectorFilter.cpp
r219237 r221788 140 140 break; 141 141 case CSSSelector::DescendantSpace: 142 #if ENABLE(CSS_SELECTORS_LEVEL4)143 case CSSSelector::DescendantDoubleChild:144 #endif145 142 case CSSSelector::Child: 146 143 skipOverSubselectors = false; -
trunk/Source/WebCore/css/parser/CSSParserSelector.cpp
r218890 r221788 199 199 selectorRelation = CSSSelector::DescendantSpace; 200 200 break; 201 #if ENABLE(CSS_SELECTORS_LEVEL4)202 case CSSParserSelectorCombinator::DescendantDoubleChild:203 selectorRelation = CSSSelector::DescendantDoubleChild;204 break;205 #endif206 201 case CSSParserSelectorCombinator::DirectAdjacent: 207 202 selectorRelation = CSSSelector::DirectAdjacent; -
trunk/Source/WebCore/css/parser/CSSParserSelector.h
r218588 r221788 35 35 Child, 36 36 DescendantSpace, 37 #if ENABLE(CSS_SELECTORS_LEVEL4)38 DescendantDoubleChild,39 #endif40 37 DirectAdjacent, 41 38 IndirectAdjacent -
trunk/Source/WebCore/css/parser/CSSSelectorParser.cpp
r219237 r221788 146 146 static bool isDescendantCombinator(CSSSelector::RelationType relation) 147 147 { 148 #if ENABLE(CSS_SELECTORS_LEVEL4)149 return relation == CSSSelector::DescendantSpace || relation == CSSSelector::DescendantDoubleChild;150 #else151 148 return relation == CSSSelector::DescendantSpace; 152 #endif 153 } 149 } 150 154 151 std::unique_ptr<CSSParserSelector> CSSSelectorParser::consumeComplexSelector(CSSParserTokenRange& range) 155 152 { … … 662 659 663 660 if (delimiter == '+' || delimiter == '~' || delimiter == '>') { 664 if (delimiter == '+') {665 range.consumeIncludingWhitespace();661 range.consumeIncludingWhitespace(); 662 if (delimiter == '+') 666 663 return CSSSelector::DirectAdjacent; 667 } 668 669 if (delimiter == '~') { 670 range.consumeIncludingWhitespace(); 664 if (delimiter == '~') 671 665 return CSSSelector::IndirectAdjacent; 672 }673 674 #if ENABLE(CSS_SELECTORS_LEVEL4)675 range.consume();676 if (range.peek().type() == DelimiterToken && range.peek().delimiter() == '>') {677 range.consumeIncludingWhitespace();678 return CSSSelector::DescendantDoubleChild;679 }680 range.consumeWhitespace();681 #else682 range.consumeIncludingWhitespace();683 #endif684 666 return CSSSelector::Child; 685 667 } -
trunk/Source/WebCore/cssjit/SelectorCompiler.cpp
r219237 r221788 403 403 switch (relation) { 404 404 case CSSSelector::DescendantSpace: 405 #if ENABLE(CSS_SELECTORS_LEVEL4)406 case CSSSelector::DescendantDoubleChild:407 #endif408 405 return FragmentRelation::Descendant; 409 406 case CSSSelector::Child:
Note:
See TracChangeset
for help on using the changeset viewer.