haikuwebkit/LayoutTests/fast/text/capitalize-boundaries.html

72 lines
9.9 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<style type="text/css">
@font-face {
font-family: 'times';
src: local('Times');
}
/* Match Mac OS's font fallback behavior on Windows */
@font-face {
font-family: 'times';
src: local('Lucida Grande');
/* hyphen and non-breaking hyphen */
unicode-range: U+2010, U+2011;
}
th { background-color: #F8F8F8; }
td, th { border: 1px solid #EEE; }
.capitalise td { text-transform: capitalize; }
</style>
<body>
This test was provided by open-source contributors on <a href="http://bugs.webkit.org/show_bug.cgi?id=3406">Bugzilla</a>. Currently, the "Browser
rendering" results are not expected to match the "Correct output sample" results. In fact, I do not entirely agree with all of the given test cases in
terms of their expected results, nor do I think that the browser should yet be expected to match all of the cases in the different languages, but I am
(at least temporarily) adding the test anyway.<br><br>
<table>
<caption>Input source</caption>
<tr><th>generic</th><td>lip&shy;smackin&#xAD;thirst&#173;quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin­lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin­lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin</td></tr>
<tr xml:lang="cy"><th>cy</th><td>ŵyl</td></tr>
<tr xml:lang="el"><th>el</th><td>γεωγραφικά‐συσχετισμένες ήτα</td></tr>
<tr xml:lang="en"><th>en</th><td>'cept nut'in safaris sure nai&#776;ve résumé—háček full&#x2010;time one-to-one<br/>"newcastle&#8209;upon&#8209;tyne" washingtononthebrazos<br/><span>earth</span>quake earth<span>worm</span> <span>cheese</span><span>burger</span> [house] ~six -big-</tr>
<tr xml:lang="es"><th>es</th><td>¡jalapeño!</td></tr>
<tr xml:lang="fr"><th>fr</th><td>quelqu'un lamour t'appelles&#x2011;tu 3<sup>eme</sup></td></tr>
<tr xml:lang="hu"><th>hu</th><td>11-ei londonban</td></tr>
<tr xml:lang="nl"><th>nl</th><td>'s ochtends</td></tr>
<tr xml:lang="pl"><th>pl</th><td>wzięła bieżące</td></tr>
<tr xml:lang="ru"><th>ru</th><td>нью-йорк 1990-х 14-vii-1789</td></tr>
<tr xml:lang="tlh"><th>tlh</th><td>tlhIngan Hol wa''uy' loghqam</td></tr>
</table>
<table>
<caption>Correct output sample</caption>
<tr><th>generic</th><td>Lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin­lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin­lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin</td></tr>
<tr xml:lang="cy"><th>cy</th><td>Ŵyl</td></tr>
<tr xml:lang="el"><th>el</th><td>Γεωγραφικά‐Συσχετισμένες Ήτα</td></tr>
<tr xml:lang="en"><th>en</th><td>'Cept Nut'in Safaris Sure Naïve Résumé—Háček Fulltime One-to-One<br/>"Newcastle-upon-Tyne" WashingtonontheBrazos<br/>Earthquake Earthworm Cheeseburger [House] ~Six -Big-</tr>
<tr xml:lang="es"><th>es</th><td>¡Jalapeño!</td></tr>
<tr xml:lang="fr"><th>fr</th><td>Quelqu'un lAmour t'AppellesTu 3<sup>eme</sup></td></tr>
<tr xml:lang="hu"><th>hu</th><td>11-ei Londonban</td></tr>
<tr xml:lang="nl"><th>nl</th><td>'s Ochtends</td></tr>
<tr xml:lang="pl"><th>pl</th><td>Wzięła Bieżące</td></tr>
<tr xml:lang="ru"><th>ru</th><td>Нью-Йорк 1990-х 14-vii-1789</td></tr>
<tr xml:lang="tlh"><th>tlh</th><td>tlhIngan Hol wa''uy' loghqam</td></tr>
</table>
<table class="capitalise">
<caption>Browser rendering</caption>
<tr><th>generic</th><td>lip&shy;smackin&#xAD;thirst&#173;quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin­lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin­lip­smackin­thirst­quenchin­acetastin­motivatin­good­buzzin­cool­talkin­high­walkin­fast­livin­ever­givin­cool­fizzin</td></tr>
<tr xml:lang="cy"><th>cy</th><td>ŵyl</td></tr>
<tr xml:lang="el"><th>el</th><td>γεωγραφικά‐συσχετισμένες ήτα</td></tr>
<tr xml:lang="en"><th>en</th><td>'cept nut'in safaris sure nai&#776;ve résumé—háček full&#x2010;time one-to-one<br/>"newcastle&#8209;upon&#8209;tyne" washingtononthebrazos<br/><span>earth</span>quake earth<span>worm</span> <span>cheese</span><span>burger</span> [house] ~six -big-</tr>
<tr xml:lang="es"><th>es</th><td>¡jalapeño!</td></tr>
<tr xml:lang="fr"><th>fr</th><td>quelqu'un lamour t'appelles&#x2011;tu 3<sup>eme</sup></td></tr>
<tr xml:lang="hu"><th>hu</th><td>11-ei londonban</td></tr>
<tr xml:lang="nl"><th>nl</th><td>'s ochtends</td></tr>
<tr xml:lang="pl"><th>pl</th><td>wzięła bieżące</td></tr>
<tr xml:lang="ru"><th>ru</th><td>нью-йорк 1990-х 14-vii-1789</td></tr>
<tr xml:lang="tlh"><th>tlh</th><td>tlhIngan Hol wa''uy' loghqam</td></tr>
</table>
</body>