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-capitalize-024.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>CSS3 Text, text transform: capitalize, Number Forms</title>
<meta name="assert" content="For the Number Forms Unicode block, text-transform: capitalize puts the first typographic letter unit of each word in titlecase; other characters are unaffected.">
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel="match" href="reference/text-transform-capitalize-024-ref.html">
<style type='text/css'>
@font-face {
font-family: 'webfont';
src: url('/fonts/DoulosSIL-R.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.test, .ref { font-size: 125%; line-height: 1.5em; font-family: webfont, serif; }
.test span, .ref span { margin-right: 1em; white-space: nowrap; }
/* the CSS above is not part of the test */
.test { text-transform: capitalize; }
</style>
</head>
<body>
<p class="instructions">The text is arranged in pairs of three-letter 'words'. Test passes if the words in each pair match<br>
If you are missing a font glyph for a character, ignore that pair, but report which characters were ignored.</p>
<div class="test"><span title="U+2170">ⅰⅰⅰ Ⅰⅰⅰ</span> <span title="U+2171">ⅱⅱⅱ Ⅱⅱⅱ</span> <span title="U+2172">ⅲⅲⅲ Ⅲⅲⅲ</span> <span title="U+2173">ⅳⅳⅳ Ⅳⅳⅳ</span> <span title="U+2174">ⅴⅴⅴ Ⅴⅴⅴ</span> <span title="U+2175">ⅵⅵⅵ Ⅵⅵⅵ</span> <span title="U+2176">ⅶⅶⅶ Ⅶⅶⅶ</span> <span title="U+2177">ⅷⅷⅷ Ⅷⅷⅷ</span> <span title="U+2178">ⅸⅸⅸ Ⅸⅸⅸ</span> <span title="U+2179">ⅹⅹⅹ Ⅹⅹⅹ</span> <span title="U+217A">ⅺⅺⅺ Ⅺⅺⅺ</span> <span title="U+217B">ⅻⅻⅻ Ⅻⅻⅻ</span> <span title="U+217C">ⅼⅼⅼ Ⅼⅼⅼ</span> <span title="U+217D">ⅽⅽⅽ Ⅽⅽⅽ</span> <span title="U+217E">ⅾⅾⅾ Ⅾⅾⅾ</span> <span title="U+217F">ⅿⅿⅿ Ⅿⅿⅿ</span> <span title="U+2184">ↄↄↄ Ↄↄↄ</span></div>
</body>
</html>