github web-platform-tests/wpt merge_pr_48921

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
one month ago

Unify sizing logic for replaced elements

The logic varied quite a bit depending on the case, now it's unified.

This also fixes the following case where the iframe was 150px tall
instead of 50px:

<iframe style="min-width: 400px; max-height: 50px"></iframe>

This also modifies video-intrinsic-width-height.html to expect the new
behavior that we share with Blink and WebKit. In fact WebKit already
modified this test but forgot to export the change upstream. Firefox is
different but it was already failing anyways.

Signed-off-by: Oriol Brufau obrufau@igalia.com

Don't miss a new wpt release

NewReleases is sending notifications on new releases.