Determine position fallback based on basic `flip-*` keywords
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: dshin, Assigned: emilio)
References
()
Details
(Whiteboard: [anchorpositioning:m2])
Attachments
(2 files)
Comment 1•10 months ago
|
||
For reference, the flip-* syntax here is:
<try-tactic> = flip-block || flip-inline || flip-start
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 2•9 months ago
|
||
This implements an initial version of position-try-fallback, that
supports only <position-area> and <position-try-tactic> applied to
position area.
Lot's of follow-up work to do, like:
- Applying <position-try-tactic> to margins / paddings / etc.
- @position-try (not too hard)
- Figure out what to do if the abspos should fragment.
But still probably worth landing this.
| Assignee | ||
Comment 3•9 months ago
|
||
The checks for fragmentation I think want to use the original containing
block rect.
Using that rect for GetLogicalSize doesn't matter because we already force
kidNeedsReflow = true for orthogonal kids.
This is useful because we're going to need to reflow children multiple
times for position-try.
Comment 7•9 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ee394bfab2dc
https://hg.mozilla.org/mozilla-central/rev/4502b80d4c43
https://hg.mozilla.org/mozilla-central/rev/5c41c0c0128f
Updated•9 months ago
|
Description
•