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

Side by Side Diff: LayoutTests/fast/dom/shadow/compare-document-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, 4 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
OLDNEW
1 Tests for Node.compareDocumentPosition() for nodes in shadow tree. 1 Tests for Node.compareDocumentPosition() for nodes in shadow tree.
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 a1.compareDocumentPosition(a2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod e.DOCUMENT_POSITION_FOLLOWING 6 PASS a1.compareDocumentPosition(a2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod e.DOCUMENT_POSITION_FOLLOWING
7 PASS a2.compareDocumentPosition(a1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO CUMENT_POSITION_PRECEDING 7 PASS a2.compareDocumentPosition(a1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO CUMENT_POSITION_PRECEDING
8 PASS a2.compareDocumentPosition(a3) is Node.DOCUMENT_POSITION_FOLLOWING 8 PASS a2.compareDocumentPosition(a3) is Node.DOCUMENT_POSITION_FOLLOWING
9 PASS b1.compareDocumentPosition(b2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod e.DOCUMENT_POSITION_FOLLOWING 9 PASS b1.compareDocumentPosition(b2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod e.DOCUMENT_POSITION_FOLLOWING
10 PASS b2.compareDocumentPosition(b1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO CUMENT_POSITION_PRECEDING 10 PASS b2.compareDocumentPosition(b1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO CUMENT_POSITION_PRECEDING
11 PASS b2.compareDocumentPosition(b3) is Node.DOCUMENT_POSITION_FOLLOWING 11 PASS b2.compareDocumentPosition(b3) is Node.DOCUMENT_POSITION_FOLLOWING
12 PASS a1.compareDocumentPosition(b1) is Node.DOCUMENT_POSITION_DISCONNECTED | Nod e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 12 PASS a1.compareDocumentPosition(b1) & Node.DOCUMENT_POSITION_PRECEDING || a1.com pareDocumentPosition(b1) & Node.DOCUMENT_POSITION_FOLLOWING is non-zero.
13 PASS b1.compareDocumentPosition(c1) is Node.DOCUMENT_POSITION_DISCONNECTED | Nod e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 13 PASS a1.compareDocumentPosition(b1) & Node.DOCUMENT_POSITION_DISCONNECTED is Nod e.DOCUMENT_POSITION_DISCONNECTED
14 PASS a1.compareDocumentPosition(b1) & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPEC IFIC is Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
15 PASS a1.compareDocumentPosition(b1) is a1.compareDocumentPosition(b1)
16 PASS b1.compareDocumentPosition(c1) & Node.DOCUMENT_POSITION_PRECEDING || b1.com pareDocumentPosition(c1) & Node.DOCUMENT_POSITION_FOLLOWING is non-zero.
17 PASS b1.compareDocumentPosition(c1) & Node.DOCUMENT_POSITION_DISCONNECTED is Nod e.DOCUMENT_POSITION_DISCONNECTED
18 PASS b1.compareDocumentPosition(c1) & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPEC IFIC is Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
19 PASS b1.compareDocumentPosition(c1) is b1.compareDocumentPosition(c1)
14 PASS successfullyParsed is true 20 PASS successfullyParsed is true
15 21
16 TEST COMPLETE 22 TEST COMPLETE
17 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698