[Webkit-unassigned] [Bug 263081] New: [popover] element within complex shadow DOM breaks light dismiss calculation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 12 10:36:59 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=263081
Bug ID: 263081
Summary: [popover] element within complex shadow DOM breaks
light dismiss calculation
Product: WebKit
Version: Safari 17
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: westbrook.johnson at gmail.com
This issue is closely related to https://bugs.webkit.org/show_bug.cgi?id=259261 in that I would have expected the flattened tree calculation added there to have prevented this, but here again, we see the light dismiss calculation for a `[popover="auto"]` element going awry.
As seen in https://codepen.io/Westbrook/pen/JjwVYmr Safari 17 and TP both overreach and close the root popover erroneously when opening the child popover.
Steps:
1) Visit https://codepen.io/Westbrook/pen/JjwVYmr
2) Click the "Show" button.
3) See the "outer" [popover] element open at the center of the page.
4) Click the "Show" button within the initial [popover] element.
5) See the "outer" [popover] element closed due to the light dismiss calculation, preventing the "inner" [popover] element from becoming visible.
If you run the same steps in Chrome, you'll see the "inner" [popover] open over the "outer" [popover] as expected.
--
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/20231012/f1624828/attachment.htm>
More information about the webkit-unassigned
mailing list