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>
43 lines
788 B
HTML
43 lines
788 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset=utf-8>
|
|
<link rel="match" href="reference/text-wrap-balance-float-006-ref.html">
|
|
<link rel="help" href="https://drafts.csswg.org/css-text-4/#valdef-text-wrap-balance">
|
|
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1888449">
|
|
<style>
|
|
body {
|
|
font: 20px/1 monospace;
|
|
}
|
|
.float {
|
|
float: left;
|
|
width: 15ch;
|
|
height: 150px;
|
|
background: silver;
|
|
}
|
|
.mask {
|
|
width: 15ch;
|
|
height: 150px;
|
|
background: green;
|
|
position: absolute;
|
|
left: 15ch;
|
|
}
|
|
.test {
|
|
width: 28ch;
|
|
text-wrap: balance;
|
|
background: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<p>There should be no red:</p>
|
|
<div class="float">
|
|
<div class="mask"></div>
|
|
</div>
|
|
<p class="test">
|
|
Lorem ipsum dolor <span>sit</span> amet consectetur adipisicing elit.
|
|
</p>
|
|
</body>
|
|
|