Closed Bug 1994674 Opened 5 months ago Closed 4 months ago

Make position-try-fallbacks swap and adjust percentages and anchor lookups.

Categories

(Core :: CSS Parsing and Computation, task, P3)

task
Points:
3

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Whiteboard: [anchorpositioning:m2])

Attachments

(2 files)

flip-{block,inline} should also flip the percentages in the relevant axes for the inset properties.

Blocks: 1987954
No longer depends on: 1987960
Whiteboard: [anchorpositioning:m2]
Points: --- → 3
Blocks: 1995121
Assignee: nobody → emilio
Status: NEW → ASSIGNED

The flip-start logic is still not quite right, but the set-up is easy.

We need to adjust for anchor-size(height) becoming anchor-size(width)
and so on. Luckily the infrastructure added on the previous patch
extends nicely to this.

And make the trait work with a mutable ref because it makes the calc
code a bit easier and more compact.

Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fc08f7bd773b https://hg.mozilla.org/integration/autoland/rev/61020f3c8146 Adjust margins / insets for flips. r=layout-anchor-positioning-reviewers,firefox-style-system-reviewers,dshin
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5133ef8effde https://hg.mozilla.org/integration/autoland/rev/37dcda84a0f2 Adjust sizes for flips. r=layout-anchor-positioning-reviewers,layout-reviewers,firefox-style-system-reviewers,dshin
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: