Closed Bug 1640924 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 23774 - [wpt] Fix css-contain "replaced" tests.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[wpt] Fix css-contain "replaced" tests.

These tests were inadvertently testing our UA stylesheet for the audio
element. In our UA stylesheet we have:
audio {
width: Xpx;
height: Ypx;
}

which means that the intrinsic size tests are failing. This fixes the
tests to change the width/height when appropriate to "auto".

There is probably a discussion which needs to be had about the UA style
for the audio element, but not today.

Bug: 960385
Change-Id: I3c5e1362015dec9cc95b7f4683a552e4afcc7424

Reviewed-on: https://chromium-review.googlesource.com/2212635
WPT-Export-Revision: 0a09b76c57ece8a6bd1da3cf6ad0e2490986af8d

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests

Status Summary

Firefox

PASS: 3

Chrome

PASS: 3

Safari

FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb8ebb0fddd5
[wpt PR 23774] - [wpt] Fix css-contain "replaced" tests., a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.