[meta] Take transform of the anchor element into account
Categories
(Core :: Layout: Positioned, enhancement)
Tracking
()
People
(Reporter: dshin, Unassigned)
References
(Depends on 14 open bugs, Blocks 1 open bug)
Details
(4 keywords, Whiteboard: [anchorpositioning:backlog][webcompat:risk-high])
Attachments
(1 file)
|
2.03 KB,
text/html
|
Details |
| Reporter | ||
Updated•11 months ago
|
Chrome bug: https://issues.chromium.org/issues/433747466
| Comment hidden (duplicate) |
Updated•11 months ago
|
Updated•11 months ago
|
Comment 3•9 months ago
|
||
Google sent an intent to ship:
https://groups.google.com/a/chromium.org/g/blink-dev/c/48-VhjHY3Lc
Updated•5 months ago
|
Comment 6•3 months ago
|
||
In terms of dev-docs, we should be careful with the wording here so it doesn't get confused with animating popovers in/out. Perhaps avoid mentioning transforms in the headline, and instead say something like:
"Improve anchor positioning reliability", then provide detail like "Previously, anchor positioning would be incorrect if the anchor (or one of its ancestors) had a transform. Now, transforms are considered when positioning relative to an anchor".
| Reporter | ||
Comment 7•3 months ago
|
||
As this testcase demonstrates, derived from :jakea's testcase from Matrix, transformed positions need to be taken into account for containing block overflow.
Updated•2 months ago
|
Comment 8•2 months ago
|
||
Transform this into a meta bug
Updated•2 months ago
|
Updated•2 months ago
|
Comment 9•2 months ago
|
||
As this is a meta-bug, I assume, there will be a separate bug filed for the implementation, right?
And it should be considered to add the named-feature() function for @supports including the anchor-position-follows-transforms keyword along with it.
Sebastian
Comment 10•2 months ago
|
||
As this is a meta-bug, I assume, there will be a separate bug filed for the implementation, right?
Yes, I'll file separate bugs for the implementation once I have a clearer understanding of the details.
And it should be considered to add the named-feature() function for @supports including the anchor-position-follows-transforms keyword along with it.
Cool. I wasn't aware named-features() has a keyword for exactly this feature. We track the implementation of named-features() in Bug 2042977.
Comment 11•2 months ago
|
||
(In reply to Ting-Yu Lin [:TYLin] (PST, UTC-7) from comment #10)
Cool. I wasn't aware
named-feature()has a keyword for exactly this feature.
Then it's good I pointed that out.π
We track the implementation of
named-feature()in Bug 2042977.
Yep, filed by me a month ago.π I've added it as blocker to this bug, so it's not forgotten. You may want to add it to the implementation bugs once they are filed.
Sebastian
Comment 12•1 month ago
|
||
You may want to add it to the implementation bugs once they are filed.
Filed Bug 2055354 to implement named-feature (anchor-position-follows-transforms). This turns Bug 2042977 into a meta bug.
Description
•