Bug 299630
| Summary: | Update popover UA default stylesheet to use place-self: dialog to avoid conflicting with anchor positioning | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | fantasai <fantasai.bugs> |
| Component: | Layout and Rendering | Assignee: | fantasai <fantasai.bugs> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | bfulgham, kiet.ho, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 299995 | ||
| Bug Blocks: | 291856 | ||
fantasai
The CSS Working Group recently added a new `dialog` value for align-self/justify-self in order to represent a better default behavior for popovers: centering by default, but using the position-area defaults when anchor-positioned. See
https://github.com/whatwg/html/pull/11656
and
https://github.com/w3c/csswg-drafts/issues/10258
This is an issue which trips people up a lot when using anchor positioning combined with popovers, see
https://github.com/w3c/csswg-drafts/issues/12466
Opening this bug to track implementation of this change.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/161834630>
fantasai
Pull request: https://github.com/WebKit/WebKit/pull/51691
fantasai
This decision has been reverted due to Web-compat. See
https://github.com/w3c/csswg-drafts/issues/10258#issuecomment-3374397145
and
https://github.com/w3c/csswg-drafts/issues/10258#issuecomment-3407215102