`position-area` grid should be based on union of anchor and containing block rect
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [anchorpositioning:m2])
Attachments
(3 files)
position-area, even if it uses the scrollable block (bug 1989292), the position-area grid can and will move around w.r.t the absolute containing block, if the anchor is inside a scroller that is inside the abs-cb
When the anchor spills out of the abs-cb, the grid should extend to it so that it can receive a consistent size.
See testcase - the anchor is almost off the viewport. In this case, the positioned element should still be positioned & sized against the full anchor, not what is visible.
| Assignee | ||
Comment 1•8 months ago
|
||
... And separate out default anchor lookup to support it. This avoids having to
carry around a lot of frames and reference data into
AdjustAbsoluteContainingBlockRectForPositionArea.
Updated•8 months ago
|
| Assignee | ||
Comment 2•8 months ago
|
||
https://hg.mozilla.org/mozilla-central/rev/23080d4b391a
https://hg.mozilla.org/mozilla-central/rev/a799136b24b4
Updated•8 months ago
|
Updated•7 months ago
|
Description
•