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

Side by Side Diff: LayoutTests/fast/selectors/element-closest-scope-expected.txt

Issue 701723007: Adding Element.closest() API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « LayoutTests/fast/selectors/element-closest-scope.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This test makes sure that :scope works correctly with the closest() API.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS theTarget.closest(":scope") is theTarget
7 PASS theTarget.closest(":not(:scope)") is body
8 PASS theTarget.closest("body :scope") is theTarget
9 PASS theTarget.closest("body > :scope") is theTarget
10 PASS theTarget.closest("body:scope") is null
11 PASS theTarget.closest("sibling + :scope") is theTarget
12 PASS theTarget.closest("sibling ~ :scope") is theTarget
13 PASS theTarget.closest("#theTarget:scope") is theTarget
14 PASS theTarget.closest(":scope#theTarget") is theTarget
15 PASS theTarget.closest("[webkit]:scope#theTarget") is theTarget
16 PASS theTarget.closest(":not([webkit=fast]):scope#theTarget") is null
17 PASS theTarget.closest(":scope target") is null
18 PASS theTarget.closest(":scope > target") is null
19 PASS theTarget.closest(":scope + target") is null
20 PASS theTarget.closest(":scope ~ target") is null
21 PASS theTarget.closest(":scope *") is null
22 PASS theTarget.closest(":scope > *") is null
23 PASS theTarget.closest(":scope + *") is null
24 PASS theTarget.closest(":scope ~ *") is null
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28
OLDNEW
« no previous file with comments | « LayoutTests/fast/selectors/element-closest-scope.html ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698