Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-flexbox-overflow-area-003-ref.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

59 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Flexible Box Layout Reference: Test flex container's overflow rect</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<style>
.set {
clear: both;
margin: 1em;
}
.test {
display: flex;
padding: 10px;
width: 60px;
height: 60px;
background: teal;
margin: 0.5em;
float: left;
}
</style>
<p>Test passes if all the teal boxes have no scrollbars.</p>
<!-- This set tests emply flex containers. -->
<div class="set">
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
</div>
<!-- This set tests flex containers having only abs-pos children, but no flex items. -->
<div class="set">
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
</div>
<!-- This set tests flex containers having a small centered flex item. -->
<div class="set">
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
</div>
<!-- This set tests flex containers having a relative positioned flex item. -->
<div class="set">
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
<div class="test"></div>
</div>
</html>