[Webkit-unassigned] [Bug 108274] New: compareDocumentPosition reports disconnected nodes as following each other

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 29 18:01:17 PST 2013


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

           Summary: compareDocumentPosition reports disconnected nodes as
                    following each other
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/JUDGk/
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: richard.gibson at gmail.com


Distinct from but probably related to #77882, compareDocumentPosition always returns 4 when comparing disconnected nodes, giving the bizarre situation where (a !== b && a.compareDocumentPosition( b ) === b.compareDocumentPosition( a )).

Expected Results: I'm not 100% certain, but probably 1. At any rate, if one comparison yields 4 (or 5) then the other should yield 2 (or 3) for symmetry.

-- 
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