| Summary: | [popover] element within complex shadow DOM breaks light dismiss calculation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Westbrook <westbrook.johnson> |
| Component: | DOM | Assignee: | Luke Warlow <lwarlow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | karlcow, lwarlow, ntim, stearns, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://codepen.io/Westbrook/pen/JjwVYmr | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/42651 | ||
| Bug Depends on: | |||
| Bug Blocks: | 148695, 250171 | ||
|
Description
Westbrook
2023-10-12 10:36:59 PDT
Firefox Nightly Not working (after setting dom.element.popover.enabled to true in about:config) In Safari the second nested showPopover() fails silently. In chrome we can see it. It seems that the DSD flag was maybe removed from Firefox nightly, but that feature was only leveraged for simplicity, it wasn't part of the larger issue. This demo exemplifies the issue with imperative Shadow DOM: https://codepen.io/Westbrook/pen/jOXooPB?editors=1010 Here's another place that needs to use the flat tree: https://searchfox.org/wubkat/rev/c64f97a4afc2aa3f73f74f59630410234ca8a659/Source/WebCore/html/HTMLElement.cpp#1286 I'm happy to take a look at this. I've got a WPT that covers it so shouldn't take long. Pull request: https://github.com/WebKit/WebKit/pull/19314 Committed 269596@main (4ab4d8351529): <https://commits.webkit.org/269596@main> Reviewed commits have been landed. Closing PR #19314 and removing active labels. |