text-transform-capitalize-001

CSS3 Text, text transform: capitalize, Latin Basic and Latin-1

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
For the Latin Basic and Latin-1 blocks, text-transform: capitalize puts the first typographic letter unit of each word in titlecase; other characters are unaffected.

Source

 1 <!DOCTYPE html>
 2 <html lang="en"><head>
 3 <meta charset="utf-8">
 4 <title>CSS3 Text, text transform: capitalize, Latin Basic and Latin-1</title>
 5 <meta content="For the Latin Basic and Latin-1 blocks, text-transform: capitalize puts the first typographic letter unit of each word in titlecase; other characters are unaffected." name="assert">
 6 <link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida">
 7 <link href="https://drafts.csswg.org/css-text-3/#text-transform" rel="help">
 8 <link href="reference/text-transform-capitalize-001-ref.htm" rel="match">
 9 <style type="text/css">
10 @font-face {
11 	font-family: 'webfont';
12 	src: url('../../fonts/DoulosSIL-R.woff') format('woff');
13 	font-weight: normal;
14 	font-style: normal;
15 	}
16 .test, .ref { font-size: 200%; line-height: 2.5em; font-family: 'Doulos SIL', 'Noto Serif', 'Noto Sans', webfont, sans-serif; }
17 .test span, .ref span { margin-right: 1em; white-space: nowrap; }
18 /* the CSS above is not part of the test */
19 .test { text-transform: capitalize; }
20 </style>
21 </head>
22 <body>
23 <p class="instructions">The text is arranged in pairs of three-letter 'words'. Test passes if the words in each pair match<br>
24 If you are missing a font glyph for a character, ignore that pair, but report which characters were ignored.</p>
25 <div class="test"><span>aaa Aaa</span> <span>bbb Bbb</span> <span>ccc Ccc</span> <span>ddd Ddd</span> <span>eee Eee</span> <span>fff Fff</span> <span>ggg Ggg</span> <span>hhh Hhh</span> <span>iii Iii</span> <span>jjj Jjj</span> <span>kkk Kkk</span> <span>lll Lll</span> <span>mmm Mmm</span> <span>nnn Nnn</span> <span>ooo Ooo</span> <span>ppp Ppp</span> <span>qqq Qqq</span> <span>rrr Rrr</span> <span>sss Sss</span> <span>ttt Ttt</span> <span>uuu Uuu</span> <span>vvv Vvv</span> <span>www Www</span> <span>xxx Xxx</span> <span>yyy Yyy</span> <span>zzz Zzz</span> <span title="U+00B5">µµµ Μµµ</span>  <span title="U+00E0">ààà Ààà</span>  <span title="U+00E1">ááá Ááá</span>  <span title="U+00E2">âââ Âââ</span>  <span title="U+00E3">ããã Ããã</span>  <span title="U+00E4">äää Äää</span>  <span title="U+00E5">ååå Ååå</span>  <span title="U+00E6">æææ Æææ</span>  <span title="U+00E7">ççç Ççç</span>  <span title="U+00E8">èèè Èèè</span>  <span title="U+00E9">ééé Ééé</span>  <span title="U+00EA">êêê Êêê</span>  <span title="U+00EB">ëëë Ëëë</span>  <span title="U+00EC">ììì Ììì</span>  <span title="U+00ED">ííí Ííí</span>  <span title="U+00EE">îîî Îîî</span>  <span title="U+00EF">ïïï Ïïï</span>  <span title="U+00F0">ððð Ððð</span>  <span title="U+00F1">ñññ Ñññ</span>  <span title="U+00F2">òòò Òòò</span>  <span title="U+00F3">óóó Óóó</span>  <span title="U+00F4">ôôô Ôôô</span>  <span title="U+00F5">õõõ Õõõ</span>  <span title="U+00F6">ööö Ööö</span>  <span title="U+00F8">øøø Øøø</span>  <span title="U+00F9">ùùù Ùùù</span>  <span title="U+00FA">úúú Úúú</span>  <span title="U+00FB">ûûû Ûûû</span>  <span title="U+00FC">üüü Üüü</span>  <span title="U+00FD">ýýý Ýýý</span>  <span title="U+00FE">þþþ Þþþ</span>  <span title="U+00FF">ÿÿÿ Ÿÿÿ</span>  </div>
26 <!--Notes:
27 Tip: To identify the characters where differences occur, in order to report problem characters,either mouse over to reveal a tooltip, or copy and paste the sequence into a tool such as <a href='http://r12a.github.io/uniview/' target='_blank'>UniView</a> or the <a href='http://r12a.github.io/apps/conversion/' target='_blank'>Unicode Conversion Tool</a>.
28 -->
29 
30 </body></html>