Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-flexbox-flexbox-flex-wrap-flexing-test.html
Zachary D. Rowitsch 16abbd78e7 Bulk-import 2899 WPT CSS reftests and add import tooling
Add scripts/import_wpt_reftests.py to sparse-clone the upstream WPT repo
and bulk-import qualifying CSS reftests (no JS, no external resources) as
known_fail entries. 23 tests already pass and are promoted. The import
script is idempotent and exposed via `just import-wpt`. CI now prints the
WPT summary (pass=36 known_fail=2877 skip=1) on every run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 00:15:27 -05:00

36 lines
1.3 KiB
HTML

<!doctype html>
<html>
<head>
<title>CSS Flexbox Test: flex-wrap flexes widths after line breaking</title>
<link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com">
<link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-lines">
<link rel="match" href="flexbox-flex-wrap-flexing-ref.html"/>
<meta name="assert" content="Flex items given more space after line breaking should flex wider">
<meta name="assert" content="http://www.w3.org/TR/css-flexbox-1/#flex-wrap-property">
<meta name="assert" content="http://www.w3.org/TR/css-flexbox-1/#flex-property">
<style>
.container {
display: flex;
width: 150px;
height: 100px;
flex-wrap: wrap;
background: red;
}
.item {
min-width: 100px;
flex: 1;
height: 50px;
display: inline-block; /*to fail the test if display:flex fails*/;
background: green;
}
</style>
</head>
<body>
<p>Test passes if there is a green rectangle and no red.</p>
<div class="container">
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>