[Webkit-unassigned] [Bug 204195] New: offsetParent is wrong if the offset parent is inside some shadow DOM
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 14 04:13:55 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204195
Bug ID: 204195
Summary: offsetParent is wrong if the offset parent is inside
some shadow DOM
Product: WebKit
Version: Safari 13
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pascal.spadone at gmail.com
Created attachment 383553
--> https://bugs.webkit.org/attachment.cgi?id=383553&action=review
Plunker that reproduces the issue
If the offset parent of an element is part of some shadow DOM, .offsetParent incorrectly returns some node higher up the tree, outside of the shadow DOM.
The following pluncker (also attached) demonstrates the issue: https://embed.plnkr.co/nxDd9HrA0XiN72WAbZBF/ . In MacOS Safari 13.0.3 as well as iOS 13.1 Safari, the reported .offsetParent is the body instead of the expected relative-positionned div.
--
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/20191114/ee29e0df/attachment-0001.htm>
More information about the webkit-unassigned
mailing list