Closed Bug 1697662 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27971 - [css-images] Fix some image tests that assert buggy behavior

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27971 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27971
Details from upstream follow.

b'David Grogan <dgrogan@chromium.org>' wrote:

[css-images] Fix some image tests that assert buggy behavior

These tests depend on a bug that is present in both chrome and firefox,
which causes the intrinsic min/max sizes to be the image's natural width
instead of its transferred specified width. E.g. in Chrome/Firefox
today, \<img src="100x100.png" style="height: 200px"> reports its min/max
intrinsic size to be 100 instead of the correct 200.

This bug is fixed in ReplacedNG.

Fixes https://github.com/web-platform-tests/wpt/issues/27810

Bug: 1135287
Change-Id: If287de6220335f08248bd39655828d518b876258
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2745648
Commit-Queue: David Grogan \<dgrogan@chromium.org>
Auto-Submit: David Grogan \<dgrogan@chromium.org>
Reviewed-by: Christian Biesinger \<cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861655}

Component: web-platform-tests → Layout
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09fa664c40fd
[wpt PR 27971] - [css-images] Fix some image tests that assert buggy behavior, a=testonly
https://hg.mozilla.org/integration/autoland/rev/731ed3dcea16
[wpt PR 27971] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.