Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/text-transform/text-transform-letter-spacing-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test: text-transform:uppercase + letter-spacing + es-zett</title>
<meta name="assert" content="When ß is uppercased to SS, letter-spacing should apply between the two glyphs.">
<link rel="match" href="text-transform-letter-spacing-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.test, .ref {
font: 25px Ahem; /* Note that Ahem does not include a glyph for U+1E9E;
the only option for uppercasing "ß" is as "SS". */
letter-spacing: 0.5em;
}
.test {
text-transform: uppercase;
}
</style>
<p>Both lines should have the same spacing:</p>
<p class="test">straße</p>
<p class="ref">STRASSE</p>