blob: ddefdd9c9860ed701c097ea13c64bb4e971bf805 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>trad-chinese-informal, outside range</title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#complex-cjk'>
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
<meta name='flags' content='font'>
<meta name="assert" content="[Exploratory] list-style-type: trad-chinese-informal produces counter values outside its range without using the prescribed fallback style.">
<style type='text/css'>
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol li { list-style-type: trad-chinese-informal; }
</style>
<script src="resources/dump-list.js"></script>
</head>
<body>
<p class="instructions">Test fails if the two columns of the first line are NOT the same. Otherwise, test passes only if the left column of the 2nd and 3rd lines is NOT decimal digits and is NOT the same as the right side. Score as Partial if the columns of the 2nd and 3rd lines are the same (ie. fallback was used). In all this IGNORE the suffix.</p>
<p>To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.</p>
<div class="test"><ol start="9999">
<li title="9999">九千九百九十九</li>
<li title="10000">一萬</li>
<li title="10001">一萬零一</li>
</ol></div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItemMarkerEqualsListItemText);
}
</script>
</body>
</html>