Bug 284619
Summary: | [css-anchor-position-1] Fix anchor-center alignment corner case | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pawel Lampe <plampe> |
Component: | CSS | Assignee: | Pawel Lampe <plampe> |
Status: | NEW | ||
Severity: | Normal | CC: | koivisto, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=275451 |
Pawel Lampe
When anchor target has a width: auto, the width is calculated wrong way due to inset properties evaluating to 0 (following the spec) in case of anchor positioning.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Pawel Lampe
Actually, I'm not 100% sure if this wrong. I'll try to check this with some spec experts.
Radar WebKit Bug Importer
<rdar://problem/141812145>
Pawel Lampe
I've confirmed that this indeed is a bug as alignment values other than 'normal' and 'stretch' use shrink-to-fit sizing for absolutely positioned items
Pawel Lampe
Pull request: https://github.com/WebKit/WebKit/pull/37901