Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-hyphens-hyphens-vs-float-clearance-002-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

39 lines
979 B
HTML

<!DOCTYPE html>
<title>CSS Text Test: soft-hyphen and float clearance</title>
<link rel="match" href="reference/hyphens-vs-float-clearance-001-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#hyphens-property">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1902974">
<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: manual;
}
.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&shy;phen&shy;ate!</div>
<div class="outer"><div class="float h2"></div>hy&shy;phen&shy;ate!</div>
<div class="outer"><div class="float h3"></div>hy&shy;phen&shy;ate!</div>
<div class="outer"><div class="float h4"></div>hy&shy;phen&shy;ate!</div>