[Webkit-unassigned] [Bug 119316] New: compareDocumentPosition() should report PRECEEDING or FOLLOWING information even if nodes are disconnected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 21:27:47 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119316

           Summary: compareDocumentPosition() should report PRECEEDING or
                    FOLLOWING information even if nodes are disconnected
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, oliver at apple.com, dchris at gmail.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/12e90f1c03c5782b68a7256f9b88a37563e9876f

As per the latest specification, compareDocumentPosition() should report PRECEEDING or FOLLOWING
information even if nodes are disconnected:
- http://dom.spec.whatwg.org/#dom-node-comparedocumentposition

This behavior is consistent with both IE10 and Firefox 22.

Blink was not reporting PRECEEDING or FOLLOWING in all cases. This patches makes Blink behave
as expected.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list