text-transform-capitalize-011

CSS3 Text, text transform: capitalize, Full-width Latin

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
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 .

Source

 1 <!DOCTYPE html>
 2 <html lang="en"><head>
 3 <meta charset="utf-8">
 4 <title>CSS3 Text, text transform: capitalize, Full-width Latin</title>
 5 <meta 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 ." 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-011-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 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 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>
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>