[Webkit-unassigned] [Bug 178002] New: Retargeting algorithm is not correctly running in elementFromPoint
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 6 01:47:55 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=178002
Bug ID: 178002
Summary: Retargeting algorithm is not correctly running in
elementFromPoint
Product: WebKit
Version: Safari 11
Hardware: Macintosh
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: elkurin at google.com
CC: cdumez at apple.com
elementFromPoint bug
shadowRoot.elementFromPoint(a host child which is the text node) should return the host node but now is returning the assigned slot node instead.
JS Code:
http://jsbin.com/pelidinuka/1/edit?html,js,output
According to the shadow dom spec 7.1 NOTE, elementFromPoint runs the Retargeting Algorithm.
Retargeting Algorithm is described in this URL.
https://w3c.github.io/webcomponents/spec/shadow/#retarget
By running this algorithm, the selected node itself (in this case, the parent of the node because the node is the text node) should be returned.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171006/1e426d26/attachment-0001.html>
More information about the webkit-unassigned
mailing list