Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-text-transform-text-transform-capitalize-034-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

35 lines
1.0 KiB
HTML

<!DOCTYPE html>
<title>CSS Test: text-transform ignores out of flow</title>
<link rel="author" href="mailto:jkew@mozilla.com" title="Jonathan Kew">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="help" href="https://drafts.csswg.org/css-text/#propdef-text-transform">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1837272">
<link rel="match" href="text-transform-capitalize-034-ref.html">
<style>
.caps{
text-transform: capitalize;
}
.abs{
position: absolute;
}
</style>
All "a" characters in "Abc" below should be capitalized.
<br><br>
No spaces before abspos:<br>
<span class="caps">abc</span><span class="abs"></span>
<span class="caps">abc</span>
<br><br>
<span class="caps">abc<span class="abs"></span></span>
<span class="caps">abc</span>
<br><br>
Space before abspos:<br>
<span class="caps">abc</span> <span class="abs"></span>
<span class="caps">abc</span>
<br><br>
<span class="caps">abc <span class="abs"></span></span>
<span class="caps">abc</span>
<br><br>