Open Bug 1370718 Opened 3 years ago Updated 3 years ago

{inc} Layout of <legend> with display:grid/flex is inconsistent after zoom operation

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

People

(Reporter: mats, Unassigned)

References

Details

(Keywords: testcase)

STR
1. load layout/reftests/forms/legend/1339287.html

EXPECTED RESULTS
"Headline Instructions" on one line

ACTUAL RESULTS
Headline
Instructions

You might need to zoom-in then zoom-out a few times to trigger the bug.

The error occurs for all four fieldsets at the same time for me.
(In reply to Mats Palmgren (:mats) from comment #0)
> STR
> 1. load layout/reftests/forms/legend/1339287.html

Here's a clickable link to this file in HG:
https://hg.mozilla.org/mozilla-central/raw-file/2c6289f56812c30254acfdddabcfec1e149c0336/layout/reftests/forms/legend/1339287.html

> You might need to zoom-in then zoom-out a few times to trigger the bug.

Indeed - zooming in or out (or both) seem to immediately cause the bug for me.  And then if I reload (at the modified zoom level), the bug goes away. So, this seems to be an incremental layout bug.
Summary: Layout of <legend> with display:grid/flex is inconsistent → {inc} Layout of <legend> with display:grid/flex is inconsistent after zoom operation
It's not an incremental layout bug. This is because we only skip the display fixup during frame construction, not during restyling.

See all the discussion and background in bug 1383868 too.
See Also: → 1383868
Component: Layout → CSS Parsing and Computation
See Also: → 1446969
You need to log in before you can comment on or make changes to this bug.