Open Bug 1980223 Opened 1 year ago

shape-outside-shape-arguments-000.html is flaky because they assume that viewport units are non-fractional and use window.inner{Width, Height}

Categories

(Core :: Layout: Floats, task, P3)

task

Tracking

()

People

(Reporter: emilio, Unassigned, Mentored)

References

(Depends on 1 open bug)

Details

(Keywords: good-first-bug)

This code looks wrong to me: https://searchfox.org/mozilla-central/rev/ab26427a8d31be475be11bbae0e04c84cc7f20ef/testing/web-platform/tests/css/css-shapes/shape-outside/values/support/parsing-utils.js#394,396,400

Since innerWidth / innerHeight are rounded, and the viewport size is not guaranteed for WPT tests. Those tests should probably use fuzzy matching (allow for <1px difference or so).

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