Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-flexbox-flexbox-justifycontent-center-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

38 lines
597 B
HTML

<!DOCTYPE html>
<title>flexbox | justify-content: center</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
div {
background: blue;
margin: 1em 0;
border: 1px solid black;
height: 8em;
width: 30em;
position: relative;
}
span {
background: yellow;
margin: 1em 0;
width: 6em;
max-width: 6em;
height: 6em;
position: absolute;
left: 4em;
display: inline-block;
}
span:nth-child(2) {
background: pink;
left: 12em;
}
span:nth-child(3) {
background: lightblue;
left: 20em;
}
</style>
<div>
<span>one</span>
<span>two</span>
<span>three</span>
</div>