text-transform-capitalize-026

CSS3 Text, text transform: capitalize, Enclosed Alphanumerics

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
font
Assertion
For the Enclosed Alphanumerics Unicode block, text-transform: capitalize does NOT put any character in titlecase.

Source

 1 <!DOCTYPE html>
 2 <html lang="en"><head>
 3 <meta charset="utf-8">
 4 <title>CSS3 Text, text transform: capitalize, Enclosed Alphanumerics</title>
 5 <meta content="For the Enclosed Alphanumerics Unicode block, text-transform: capitalize does NOT put any character in titlecase." 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-026-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 there are NO uppercase letters.<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+24D0">ⓐⓐⓐ</span> <span title="U+24D1">ⓑⓑⓑ</span> <span title="U+24D2">ⓒⓒⓒ</span> <span title="U+24D3">ⓓⓓⓓ</span> <span title="U+24D4">ⓔⓔⓔ</span> <span title="U+24D5">ⓕⓕⓕ</span> <span title="U+24D6">ⓖⓖⓖ</span> <span title="U+24D7">ⓗⓗⓗ</span> <span title="U+24D8">ⓘⓘⓘ</span> <span title="U+24D9">ⓙⓙⓙ</span> <span title="U+24DA">ⓚⓚⓚ</span> <span title="U+24DB">ⓛⓛⓛ</span> <span title="U+24DC">ⓜⓜⓜ</span> <span title="U+24DD">ⓝⓝⓝ</span> <span title="U+24DE">ⓞⓞⓞ</span> <span title="U+24DF">ⓟⓟⓟ</span> <span title="U+24E0">ⓠⓠⓠ</span> <span title="U+24E1">ⓡⓡⓡ</span> <span title="U+24E2">ⓢⓢⓢ</span> <span title="U+24E3">ⓣⓣⓣ</span> <span title="U+24E4">ⓤⓤⓤ</span> <span title="U+24E5">ⓥⓥⓥ</span> <span title="U+24E6">ⓦⓦⓦ</span> <span title="U+24E7">ⓧⓧⓧ</span> <span title="U+24E8">ⓨⓨⓨ</span> <span title="U+24E9">ⓩⓩⓩ</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 The reason titlecase is not applied is that these characters have the general property So, and are therefore not included in the definition of typographic letter unit.
30 -->
31 
32 </body></html>