[Webkit-unassigned] [Bug 118803] New: document.elementFromPoint doesn't work if text nodes are attached on a ShadowRoot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 17 11:03:28 PDT 2013


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

           Summary: document.elementFromPoint doesn't work if text nodes
                    are attached on a ShadowRoot
           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: koivisto at iki.fi, simon.fraser at apple.com,
                    dino at apple.com, tkent at chromium.org, akling at apple.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/1b5e6d8d09e59fb25df0319e48af4fb05493856a

In TreeScope::elementFromPoint,
 - nodeFromPoint can return a Text node which is a child of a ShadowRoot. We
   should search ancestors of the ShadowRoot in this case.
 - ancestorInThisScope returns this ShadowRoot if |this| is passed. We should
   handle such case.

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