Files
firefox/testing/web-platform/tests/css/css-contain/contain-inline-size-flex.html
T
Anders Hartvoll Ruud 1aedc0b2f4 Bug 1744205 [wpt PR 31868] - WPTs for contain:inline-size, a=testonly
Automatic update from web-platform-tests
WPTs for contain:inline-size

 - Tests for contain:block-size are no longer needed, as that has
   been removed from the spec.
 - Internal tests in css-contain/parsing have been merged into
   existing external counterparts.

Bug: 1145970
Change-Id: I760b51b7924d86a6e824dbe6ebd2f07604deb908
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3313013
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Reviewed-by: Morten Stenshorne <[email protected]>
Cr-Commit-Position: refs/heads/main@{#948002}

--

wpt-commits: e47b25c8ccab20d7fb18732ac715628c1d74da91
wpt-pr: 31868
2021-12-20 11:37:53 +00:00

11 lines
649 B
HTML

<!DOCTYPE html>
<title>contain:inline-size on flexbox</title>
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display:flex; contain:inline-size; width:fit-content; border:solid green; border-width:0 50px; background:red;">
<div style="width:100px; height:100px;"></div>
</div>