[Webkit-unassigned] [Bug 148776] New: Range.isPointInRange check root node before verifying offset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 3 19:45:58 PDT 2015


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

            Bug ID: 148776
           Summary: Range.isPointInRange check root node before verifying
                    offset
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: cdumez at apple.com, webkit-bug-importer at group.apple.com

Range.isPointInRange should check whether the root nodes of boundary point and refNode are the same
and return false if they are different before verifying the offset.
See https://dom.spec.whatwg.org/#dom-range-ispointinrange

This bug was found by the newly added LayoutTests/http/tests/w3c/dom/ranges/Range-isPointInRange.html.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150904/8a00f4aa/attachment.html>


More information about the webkit-unassigned mailing list