Closed
Bug 1964120
Opened 1 year ago
Closed 1 year ago
Remove redundant `aConstrainBSize` flag in `FinishReflowWithAbsoluteFrames` and `ReflowAbsoluteFrames`
Categories
(Core :: Layout: Positioned, enhancement)
Core
Layout: Positioned
Tracking
()
RESOLVED
FIXED
140 Branch
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
Details
Attachments
(1 file, 1 obsolete file)
By definition, when anchor positioned abspos element is being reflowed, its abspos containing block's rect is not set - For example, here the abspos reflow happens for the abspos containing block and then its size is saved later on at an upper level.
To figure out the offset of the anchor from any axis, we need this value.
| Assignee | ||
Comment 1•1 year ago
|
||
We could SetRect() on entrance to/exit from nsAbsoluteContainingBlock::Reflow, but that could have other implications
| Assignee | ||
Updated•1 year ago
|
Component: CSS Parsing and Computation → Layout: Positioned
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Attachment #9486060 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•1 year ago
|
||
Abandoning this approach, changing the ticket to center on landing D248268
| Assignee | ||
Updated•1 year ago
|
Summary: Investigate a way for anchor positioning to work with abs-containing block rect not being set when reflowing for abspos elements → Remove redundant `aConstrainBSize` flag in `FinishReflowWithAbsoluteFrames` and `ReflowAbsoluteFrames`
Pushed by dshin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e87691492f92
Remove unneeded aConstrainBSize flag in FinishReflowWithAbsoluteFrames and ReflowAbsoluteFrames. r=layout-reviewers,emilio
Comment 7•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Updated•1 year ago
|
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in
before you can comment on or make changes to this bug.
Description
•