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-011.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>CSS3 Text, text transform: capitalize, Full-width Latin</title>
<meta name="assert" content="For the Latin letters in the Halfwidth and Fullwidth 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-011-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: 'Doulos SIL', 'Noto Sans', webfont, sans-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+FF41">aaa Aaa</span> <span title="U+FF42">bbb Bbb</span> <span title="U+FF43">ccc Ccc</span> <span title="U+FF44">ddd Ddd</span> <span title="U+FF45">eee Eee</span> <span title="U+FF46">fff Fff</span> <span title="U+FF47">ggg Ggg</span> <span title="U+FF48">hhh Hhh</span> <span title="U+FF49">iii Iii</span> <span title="U+FF4A">jjj Jjj</span> <span title="U+FF4B">kkk Kkk</span> <span title="U+FF4C">lll Lll</span> <span title="U+FF4D">mmm Mmm</span> <span title="U+FF4E">nnn Nnn</span> <span title="U+FF4F">ooo Ooo</span> <span title="U+FF50">ppp Ppp</span> <span title="U+FF51">qqq Qqq</span> <span title="U+FF52">rrr Rrr</span> <span title="U+FF53">sss Sss</span> <span title="U+FF54">ttt Ttt</span> <span title="U+FF55">uuu Uuu</span> <span title="U+FF56">vvv Vvv</span> <span title="U+FF57">www Www</span> <span title="U+FF58">xxx Xxx</span> <span title="U+FF59">yyy Yyy</span> <span title="U+FF5A">zzz Zzz</span></div>
</body>
</html>