Closed
Bug 2004170
Opened 5 months ago
Closed 5 months ago
Flip logic in AnchorResolvedSizeHelper::FromUnresolved
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
147 Branch
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Filing this bug for a minor tweak to AnchorResolvedSizeHelper::FromUnresolved to make it easier to extend in bug 2000035 (to handle other keywords, namely stretch and friends).
The idea is to handle special cases (anchor positioning function, and soon stretch & aliases) in their own early-returns, and then handle the general case in a final return statement.
| Assignee | ||
Comment 1•5 months ago
|
||
This doesn't change behavior at all; it just makes this function easier to
extend in the future.
Updated•5 months ago
|
Attachment #9530998 -
Attachment description: Bug 2004170: Flip the logic ordering in AnchorResolvedMarginHelper::FromUnresolved. r?dshin → Bug 2004170: Flip the logic ordering in AnchorResolved{...}Helper::FromUnresolved() methods. r?dshin,#layout
| Assignee | ||
Comment 2•5 months ago
|
||
Landing during the soft code-freeze given that there's no behavior-change (so, minimal risk); and taking this patch in v147 now will make patch-uplifting easier in surrounding code over the next 4 weeks (e.g. to fix late-breaking anchor positioning bugs).
Pushed by dholbert@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/b3002681350a
https://hg.mozilla.org/integration/autoland/rev/50adae86b20a
Flip the logic ordering in AnchorResolved{...}Helper::FromUnresolved() methods. r=TYLin
Comment 4•5 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 months ago
status-firefox147:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Updated•5 months ago
|
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in
before you can comment on or make changes to this bug.
Description
•