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

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

Issue 2476293002: Import wpt@c75cae4d1fcd0ed472b9110b14f6a8b5e2ce2759 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Element.closest with context node 'test12' and selector 'select' 2 PASS Element.closest with context node 'test12' and selector 'select'
3 PASS Element.closest with context node 'test13' and selector 'fieldset' 3 PASS Element.closest with context node 'test13' and selector 'fieldset'
4 PASS Element.closest with context node 'test13' and selector 'div' 4 PASS Element.closest with context node 'test13' and selector 'div'
5 PASS Element.closest with context node 'test3' and selector 'body' 5 PASS Element.closest with context node 'test3' and selector 'body'
6 PASS Element.closest with context node 'test4' and selector '[default]' 6 PASS Element.closest with context node 'test4' and selector '[default]'
7 PASS Element.closest with context node 'test4' and selector '[selected]' 7 PASS Element.closest with context node 'test4' and selector '[selected]'
8 PASS Element.closest with context node 'test11' and selector '[selected]' 8 PASS Element.closest with context node 'test11' and selector '[selected]'
9 PASS Element.closest with context node 'test12' and selector '[name="form-a"]' 9 PASS Element.closest with context node 'test12' and selector '[name="form-a"]'
10 PASS Element.closest with context node 'test13' and selector 'form[name="form-a" ]' 10 PASS Element.closest with context node 'test13' and selector 'form[name="form-a" ]'
11 PASS Element.closest with context node 'test9' and selector 'input[required]' 11 PASS Element.closest with context node 'test9' and selector 'input[required]'
12 PASS Element.closest with context node 'test9' and selector 'select[required]' 12 PASS Element.closest with context node 'test9' and selector 'select[required]'
13 PASS Element.closest with context node 'test13' and selector 'div:not(.div1)' 13 PASS Element.closest with context node 'test13' and selector 'div:not(.div1)'
14 PASS Element.closest with context node 'test6' and selector 'div.div3' 14 PASS Element.closest with context node 'test6' and selector 'div.div3'
15 PASS Element.closest with context node 'test1' and selector 'div#test7' 15 PASS Element.closest with context node 'test1' and selector 'div#test7'
16 PASS Element.closest with context node 'test12' and selector '.div3 > .div2' 16 PASS Element.closest with context node 'test12' and selector '.div3 > .div2'
17 PASS Element.closest with context node 'test12' and selector '.div3 > .div1' 17 PASS Element.closest with context node 'test12' and selector '.div3 > .div1'
18 PASS Element.closest with context node 'test9' and selector 'form > input[requir ed]' 18 PASS Element.closest with context node 'test9' and selector 'form > input[requir ed]'
19 PASS Element.closest with context node 'test12' and selector 'fieldset > select[ required]' 19 PASS Element.closest with context node 'test12' and selector 'fieldset > select[ required]'
20 PASS Element.closest with context node 'test6' and selector 'input + fieldset' 20 PASS Element.closest with context node 'test6' and selector 'input + fieldset'
21 PASS Element.closest with context node 'test3' and selector 'form + form' 21 PASS Element.closest with context node 'test3' and selector 'form + form'
22 PASS Element.closest with context node 'test5' and selector 'form + form' 22 PASS Element.closest with context node 'test5' and selector 'form + form'
23 PASS Element.closest with context node 'test10' and selector ':empty' 23 PASS Element.closest with context node 'test10' and selector ':empty'
24 PASS Element.closest with context node 'test11' and selector ':last-child' 24 PASS Element.closest with context node 'test11' and selector ':last-child'
25 PASS Element.closest with context node 'test12' and selector ':first-child' 25 PASS Element.closest with context node 'test12' and selector ':first-child'
26 PASS Element.closest with context node 'test11' and selector ':invalid' 26 PASS Element.closest with context node 'test11' and selector ':invalid'
27 PASS Element.closest with context node 'test4' and selector ':scope' 27 FAIL Element.closest with context node 'test4' and selector ':scope' should thro w assert_throws: function "function () {
28 PASS Element.closest with context node 'test4' and selector 'select > :scope' 28 el.closest(aSelector);
29 PASS Element.closest with context node 'test4' and selector 'div > :scope' 29 }" did not throw
30 FAIL Element.closest with context node 'test4' and selector ':has(> :scope)' Fai led to execute 'closest' on 'Element': ':has(> :scope)' is not a valid selector. 30 FAIL Element.closest with context node 'test4' and selector 'select > :scope' sh ould throw assert_throws: function "function () {
31 el.closest(aSelector);
32 }" did not throw
33 FAIL Element.closest with context node 'test4' and selector 'div > :scope' shoul d throw assert_throws: function "function () {
34 el.closest(aSelector);
35 }" did not throw
36 PASS Element.closest with context node 'test4' and selector ':has(> :scope)' sho uld throw
31 Harness: the test ran to completion. 37 Harness: the test ran to completion.
32 38
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-closest.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698