servo/tests/wpt/css-tests/css-text-3_dev/xhtml1print/text-transform-capitalize-026.xht

32 lines
No EOL
2.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="utf-8" />
<title>CSS3 Text, text transform: capitalize, Enclosed Alphanumerics</title>
<meta content="For the Enclosed Alphanumerics Unicode block, text-transform: capitalize does NOT put any character in titlecase." name="assert" />
<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
<link href="https://drafts.csswg.org/css-text-3/#text-transform" rel="help" />
<link href="reference/text-transform-capitalize-026-ref.xht" rel="match" />
<meta content="font" name="flags" />
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/DoulosSIL-R.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.test, .ref { font-size: 200%; line-height: 2.5em; font-family: webfont, serif; }
.test span, .ref span { margin-right: 1em; white-space: nowrap; }
/* the CSS above is not part of the test */
.test { text-transform: capitalize; }
</style>
</head>
<body>
<p class="instructions">The text is arranged in pairs of three-letter 'words'. Test passes if there are NO uppercase letters.<br />
If you are missing a font glyph for a character, ignore that pair, but report which characters were ignored.</p>
<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>
<!--Notes:
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>.
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.
-->
</body></html>