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

Side by Side Diff: LayoutTests/fast/dom/shadow/compare-treescope-position-expected.txt

Issue 20042003: compareDocumentPosition() should report PRECEEDING or FOLLOWING information even if nodes are disco… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add failing test to TestExpectations Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/shadow/compare-treescope-position.html ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests for TreeScope.comparePosition(). 1 Tests for TreeScope.comparePosition().
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS internals.compareTreeScopePosition(document, sr1) is Node.DOCUMENT_POSITION _CONTAINED_BY | Node.DOCUMENT_POSITION_FOLLOWING 6 PASS internals.compareTreeScopePosition(document, sr1) is Node.DOCUMENT_POSITION _CONTAINED_BY | Node.DOCUMENT_POSITION_FOLLOWING
7 PASS internals.compareTreeScopePosition(sr1, document) is Node.DOCUMENT_POSITION _CONTAINS | Node.DOCUMENT_POSITION_PRECEDING 7 PASS internals.compareTreeScopePosition(sr1, document) is Node.DOCUMENT_POSITION _CONTAINS | Node.DOCUMENT_POSITION_PRECEDING
8 PASS internals.compareTreeScopePosition(sr1, sr2) is Node.DOCUMENT_POSITION_FOLL OWING 8 PASS internals.compareTreeScopePosition(sr1, sr2) is Node.DOCUMENT_POSITION_FOLL OWING
9 PASS internals.compareTreeScopePosition(sr2, sr1) is Node.DOCUMENT_POSITION_PREC EDING 9 PASS internals.compareTreeScopePosition(sr2, sr1) is Node.DOCUMENT_POSITION_PREC EDING
10 PASS internals.compareTreeScopePosition(sr2, sr3) is Node.DOCUMENT_POSITION_CONT AINED_BY | Node.DOCUMENT_POSITION_FOLLOWING 10 PASS internals.compareTreeScopePosition(sr2, sr3) is Node.DOCUMENT_POSITION_CONT AINED_BY | Node.DOCUMENT_POSITION_FOLLOWING
11 PASS internals.compareTreeScopePosition(sr3, sr2) is Node.DOCUMENT_POSITION_CONT AINS | Node.DOCUMENT_POSITION_PRECEDING 11 PASS internals.compareTreeScopePosition(sr3, sr2) is Node.DOCUMENT_POSITION_CONT AINS | Node.DOCUMENT_POSITION_PRECEDING
12 PASS internals.compareTreeScopePosition(sr1, sr3) is Node.DOCUMENT_POSITION_FOLL OWING 12 PASS internals.compareTreeScopePosition(sr1, sr3) is Node.DOCUMENT_POSITION_FOLL OWING
13 PASS internals.compareTreeScopePosition(sr3, sr1) is Node.DOCUMENT_POSITION_PREC EDING 13 PASS internals.compareTreeScopePosition(sr3, sr1) is Node.DOCUMENT_POSITION_PREC EDING
14 PASS internals.compareTreeScopePosition(document, document) is 0 14 PASS internals.compareTreeScopePosition(document, document) is 0
15 PASS internals.compareTreeScopePosition(sr1, sr1) is 0 15 PASS internals.compareTreeScopePosition(sr1, sr1) is 0
16 PASS internals.compareTreeScopePosition(sr3, sr2) is Node.DOCUMENT_POSITION_DISC ONNECTED | Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 16 PASS internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_PRECE DING || internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_FO LLOWING is non-zero.
17 PASS internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_DISCO NNECTED is Node.DOCUMENT_POSITION_DISCONNECTED
18 PASS internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_IMPLE MENTATION_SPECIFIC is Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
19 PASS internals.compareTreeScopePosition(sr3, sr2) is internals.compareTreeScopeP osition(sr3, sr2)
17 PASS successfullyParsed is true 20 PASS successfullyParsed is true
18 21
19 TEST COMPLETE 22 TEST COMPLETE
20 23
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/compare-treescope-position.html ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698