Closed
Bug 1631865
Opened 4 years ago
Closed 4 years ago
Make getGridFragments and getAsFlexContainer flush layout
Categories
(Core :: DOM: CSS Object Model, defect)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: bradwerth, Assigned: bradwerth)
Details
Attachments
(1 file)
(This is from discussion from https://phabricator.services.mozilla.com/D71674)
nsGridContainerFrame::GetGridFrameWithComputedInfo checks for a grid frame without doing an initial layout flush. This was an oversight because the function later triggers a flush for the grid frame if it doesn't already have the computed info structure.
Assignee | ||
Comment 1•4 years ago
|
||
This will correctly handle the case of "display:grid" being added or removed
from the Element frame right before the call to getGridFragments on the Element.
Updated•4 years ago
|
Attachment #9142127 -
Attachment description: Bug 1631865: Add a layout flush at the beginning of GetGridFrameWithComputedInfo. → Bug 1631865: Add a layout flush to getGridFragments and getAsFlexContainer.
Assignee | ||
Updated•4 years ago
|
Summary: Make GetGridFrameWithComputedInfo flush before looking for grid frame → Make getGridFragments and getAsFlexContainer flush layout
Pushed by bwerth@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bebd73d523a3 Add a layout flush to getGridFragments and getAsFlexContainer. r=emilio
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•