Commit f42c271c authored by Ian Kilpatrick's avatar Ian Kilpatrick Committed by moz-wptsync-bot
Browse files

Bug 1640924 [wpt PR 23774] - [wpt] Fix css-contain "replaced" tests., a=testonly

Automatic update from web-platform-tests
[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/c/chromium/src/+/2212635


Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771803}

--

wpt-commits: cbfde04695a79256d42991513c83a7b97dc14fcd
wpt-pr: 23774
parent 98a5aa00
......@@ -11,6 +11,8 @@
border: 3px solid teal;
contain: size;
margin: 15px;
width: auto;
height: auto;
}
</style>
<body>
......
......@@ -12,6 +12,7 @@
contain: size;
margin: 15px;
width: max-content; /* This means 0, given 'contain:size'. */
height: auto;
}
</style>
<body>
......
......@@ -12,6 +12,7 @@
contain: size;
margin: 15px;
height: max-content; /* This means 0, given 'contain:size'. */
width: auto;
}
</style>
<body>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment