Open Bug 1689619 Opened 3 years ago Updated 3 years ago

The column layout offsetHeight test in legend-grid-flex-multicol.html fails on macOS

Categories

(Core :: Layout: Columns, defect, P4)

All
macOS
defect

Tracking

()

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(Keywords: testcase)

In bug 1683748 I'm adding support for column layout on rendered legends.
That made this test fail on macOS only:
testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-grid-flex-multicol.html

The offsetHeight differs between the column layout element and the reference element by 1px:
https://searchfox.org/mozilla-central/rev/f9ad45c76ba50bdee54bebd14e6625ae14d4d085/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-grid-flex-multicol.html#12,14,19

I suspect that it's caused by a rounding error or some such, perhaps dependent on font metrics and/or line height, since the failure only occurs on macOS.

You need to log in before you can comment on or make changes to this bug.