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>
36 lines
805 B
HTML
36 lines
805 B
HTML
<!DOCTYPE html>
|
|
<title>CSS Text Reference: soft-hyphen and float clearance</title>
|
|
<link rel="author" href="mailto:jkew@mozilla.com">
|
|
<style>
|
|
.outer {
|
|
font: 16px/1.4 monospace;
|
|
width: 6ch;
|
|
border: 1px solid gray;
|
|
float: left;
|
|
margin: 10px;
|
|
hyphens: none;
|
|
}
|
|
.float {
|
|
float: right;
|
|
width: 2ch;
|
|
background: lightblue;
|
|
}
|
|
.h1 {
|
|
height: 1em;
|
|
}
|
|
.h2 {
|
|
height: 2em;
|
|
}
|
|
.h3 {
|
|
height: 3em;
|
|
}
|
|
.h4 {
|
|
height: 4em;
|
|
}
|
|
</style>
|
|
<body lang="en">
|
|
<div class="outer"><div class="float h1"></div>hy‐<br>phen‐<br>ate!</div>
|
|
<div class="outer"><div class="float h2"></div>hy‐<br>phen‐<br>ate!</div>
|
|
<div class="outer"><div class="float h3"></div>hy‐<br>phen‐<br>ate!</div>
|
|
<div class="outer"><div class="float h4"></div>hy‐<br>phen‐<br>ate!</div>
|