Closed Bug 2016959 Opened 7 months ago Closed 7 months ago

WPT /css/css-break/out-of-flow-in-multicolumn-012.html after bug 2012842 with layout.abspos.fragmentainer-aware-positioning.enabled=true

Categories

(Core :: Layout: Positioned, defect)

defect

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [anchorpositioning:2026])

Attachments

(1 file)

https://wpt.live/css/css-break/out-of-flow-in-multicolumn-012.html

This test verifies that an absolute containing block's block-size can grow during fragmentation due to break-inside: avoid. That is, the absCB's unfragmented block-size can be smaller than its cumulative block-size after fragmentation. I somewhat expected we might fail in this scenario, so I'm glad we have a testcase that exercises it.

This is probably acceptable and shouldn't block enabling the pref in bug 2002115, unless others feel differently.

I have an idea to fix this. Also, if we introduce a measuring reflow for printing in bug 2009647, this bug must be fixed to prevent https://wpt.live/css/css-page/page-margin-004-print.html from failing.

Assignee: nobody → aethanyc
Blocks: 2009647
Status: NEW → ASSIGNED

This patch also prevents WPT /css/css-page/page-margin-004-print.html from
failing when adding a measuring reflow to printing context.

Attachment #9547367 - Attachment description: Bug 2016959 - Allow abspos element with auto block-size to have fragmentaion-imposed block-size growth. r?dshin,#layout → Bug 2016959 - Allow abspos element with auto block-size to have fragmentation-imposed block-size growth. r?dshin,#layout
Keywords: regression
Regressed by: 1994316
Whiteboard: [anchorpositioning:2026]
Keywords: regression
No longer regressed by: 1994316
Pushed by aethanyc@gmail.com: https://github.com/mozilla-firefox/firefox/commit/ac2258bf799a https://hg.mozilla.org/integration/autoland/rev/7cdbb0c14bb8 Allow abspos element with auto block-size to have fragmentation-imposed block-size growth. r=dshin,layout-reviewers
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: