[Webkit-unassigned] [Bug 170743] New: shadowRoot.elementFromPoint() is not scoped

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 11 12:12:21 PDT 2017


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

            Bug ID: 170743
           Summary: shadowRoot.elementFromPoint() is not scoped
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dfreedm at google.com
                CC: cdumez at apple.com

ShadowRoot.elementFromPoint(x, y) should be scoped to the ShadowRoot, but appears to return elements outside of the ShadowRoot.

In this example, the empty ShadowRoot should return `null` for all calls to `elementFromPoint`, but it returns `document.documentElement`

Example: http://jsbin.com/nogoyay/3/edit?html,console,output

Expected: false

Actual: true

-- 
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/20170411/04a84123/attachment.html>


More information about the webkit-unassigned mailing list