Bug 77882

Summary: IETC compareDocumentPosition2 test case fails in WebKit
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: abarth, ahmad.saleem792, ap, cdumez, loic.yhuel, olivier.blin, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 76198    

Description Eric Seidel (no email) 2012-02-06 10:16:52 PST
IETC compareDocumentPosition2 test case fails in WebKit

http://samples.msdn.microsoft.com/ietestcenter/domcore/showdomcoretest.htm?Node_compareDocumentPosition2

According to the spreadsheet, I think abarth had planned to take a look.
Comment 1 Eric Seidel (no email) 2012-02-06 13:37:27 PST
http://samples.msdn.microsoft.com/ietestcenter/domcore/Node_compareDocumentPosition2.htm is a better URL.
Comment 2 Alexey Proskuryakov 2013-01-30 12:08:14 PST
See also: bug 108274.
Comment 3 Olivier Blin 2013-12-06 09:28:20 PST
This has been fixed by r153660.

See bug 119316 - compareDocumentPosition() should report PRECEDING or FOLLOWING information even if nodes are disconnected
Comment 4 Alexey Proskuryakov 2014-02-28 22:42:59 PST
That change is about to be reverted though.
Comment 5 Lucas Forschler 2019-02-06 09:03:14 PST
Mass moving XML DOM bugs to the "DOM" Component.
Comment 6 Ahmad Saleem 2022-09-02 14:32:22 PDT
Safari Technology Preview 152 pass all of these cases as per WPT:

https://wpt.fyi/results/dom/nodes/Node-compareDocumentPosition.html?label=experimental&label=master&aligned

Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!