Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-white-space-white-space-wrap-after-nowrap-001-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

40 lines
1.3 KiB
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>Break opportunities after nowrap</title>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-property">
<link rel="match" href="reference/white-space-wrap-after-nowrap-001-ref.html">
<meta name="assert" content="This test ensures that break opportunities after nowrap can break lines.">
<style>
div {
width: 10ch;
border: 2px solid blue;
line-height: 1;
}
.ideo > div {
width: 1em;
}
.normal {
white-space: normal;
}
.nowrap {
white-space: nowrap;
}
</style>
<body>
<section>
<div><span class="nowrap">12345</span> 67890</div>
<div><span class="nowrap">12345</span><span class="normal"> 67890</span></div>
<div><span class="nowrap">12345<span class="normal"> 67890</span></span></div>
<div class="nowrap">12345<span class="normal"> 67890</span></div>
<div class="nowrap"><span class="normal"><span class="nowrap">12345</span> </span>67890</div>
<div class="nowrap"><span class="normal"><span class="nowrap">12345 </span> </span>67890</div>
</section>
<section class="ideo">
<div><span class="nowrap"></span></div>
<div><span class="nowrap"></span><span class="normal"></span></div>
</section>
</body>