text-transform-capitalize-009

CSS3 Text, text transform: capitalize, Latin Extended-C

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
For the Latin Extended-C 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, Latin Extended-C</title>
 5 <meta content="For the Latin Extended-C 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-009-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+2C61">ⱡⱡⱡ Ⱡⱡⱡ</span> <span title="U+2C65">ⱥⱥⱥ Ⱥⱥⱥ</span> <span title="U+2C66">ⱦⱦⱦ Ⱦⱦⱦ</span> <span title="U+2C68">ⱨⱨⱨ Ⱨⱨⱨ</span> <span title="U+2C6A">ⱪⱪⱪ Ⱪⱪⱪ</span> <span title="U+2C6C">ⱬⱬⱬ Ⱬⱬⱬ</span> <span title="U+2C73">ⱳⱳⱳ Ⱳⱳⱳ</span> <span title="U+2C76">ⱶⱶⱶ Ⱶⱶⱶ</span></div>
26 <!--Notes:
27 Tip: To identify the characters where differences occur, in order to report problem characters, 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>