Bug 294160
| Summary: | iOS Safari bugs with popover and :has() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Wilcox <mail> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bfulgham, karlcow, koivisto, ntim, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 18 | ||
Matt Wilcox
I'm not 100% sure on the root issue, but this _seems_ to be a problem with how `:popover-open` and `:has()` interact, specifically on the iOS version of Safari, as well as an issue with button styling interacting with these when `appearance: none;` is set on a button.
A reduced test case showing the issue is here: https://codepen.io/mattwilcoxuk/pen/dPoWQWx
Works fine on Mac Safari and all other tested browsers. Breaks weirdly in two different ways on iOS Safari.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Nguyen (:ntim)
Do you know what exact version of iOS you're on?
It's possible that this was fixed by bug 291174, but I'd need to double check
Matt Wilcox
Thanks for looking into this. I'm running iOS 18.5 (22F76) on an iPhone 14.
Radar WebKit Bug Importer
<rdar://problem/153401888>
Tim Nguyen (:ntim)
I can confirm this is fixed by bug 291174, which should be in iOS 18.6 and iOS 26.0.
*** This bug has been marked as a duplicate of bug 291174 ***