text-transform-capitalize-024

CSS3 Text, text transform: capitalize, Number Forms

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
font
Assertion
For the Number 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, Number Forms</title>
 5 <meta 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." 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-024-ref.htm" rel="match">
 9 <meta content="font" name="flags">
10 <style type="text/css">
11 @font-face {
12 	font-family: 'webfont';
13 	src: url('../../fonts/DoulosSIL-R.woff') format('woff');
14 	font-weight: normal;
15 	font-style: normal;
16 	}
17 .test, .ref { font-size: 200%; line-height: 2.5em; font-family: webfont, serif; }
18 .test span, .ref span { margin-right: 1em; white-space: nowrap; }
19 /* the CSS above is not part of the test */
20 .test { text-transform: capitalize; }
21 </style>
22 </head>
23 <body>
24 <p class="instructions">The text is arranged in pairs of three-letter 'words'. Test passes if the words in each pair match<br>
25 If you are missing a font glyph for a character, ignore that pair, but report which characters were ignored.</p>
26 <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>
27 <!--Notes:
28 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>.
29 -->
30 
31 </body></html>