Closed Bug 1995284 Opened 8 months ago Closed 8 months ago

`position-try-fallbacks` code should distinguish between not having fallbacks to try vs. running out

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Points:
1

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: dshin, Assigned: dshin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [anchorpositioning:m2])

Attachments

(1 file)

Currently, we treat not having any fallbacks as running out of fallbacks if we're overflowing the containing block.

We need to make a distinction because we compute hypothetical scroll offsets for each fallback option, then roll back if we ran out of options to try.

No behavioural change currently, but distinguishing the two scenarios is
necessary to know to determine if we commit to the new scroll offset vs.
Roll back to what we started with.

Assignee: nobody → dshin
Status: NEW → ASSIGNED
Points: --- → 1
Whiteboard: [anchorpositioning:triage] → [anchorpositioning:m2]
Pushed by dshin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ed73d3bdf859 https://hg.mozilla.org/integration/autoland/rev/51ae13a7e067 When finishing abspos reflow, distinguish running out of fallbacks vs. not having any. r=layout-anchor-positioning-reviewers,layout-reviewers,emilio,jwatt
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c146/b145]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: