Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: LayoutTests/fast/lists/css3-counter-styles-077.html

Issue 1184433004: Implement chinese counter styles (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/lists/css3-counter-styles-077.html
diff --git a/LayoutTests/fast/lists/css3-counter-styles-077.html b/LayoutTests/fast/lists/css3-counter-styles-077.html
new file mode 100644
index 0000000000000000000000000000000000000000..6cec17a86977826527c9acba4de82e049d830c1a
--- /dev/null
+++ b/LayoutTests/fast/lists/css3-counter-styles-077.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>simp-chinese-formal, 10-9999</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="Setting list-style-type to simp-chinese-formal will produce list numbering after 9 as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: simp-chinese-formal; }
+</style>
+<script src="resources/dump-list.js"></script>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, ignoring 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='10'><li title='10'>壹拾</li></ol>
+<ol start='11'><li title='11'>壹拾壹</li></ol>
+<ol start='12'><li title='12'>壹拾贰</li></ol>
+<ol start='43'><li title='43'>肆拾叁</li></ol>
+<ol start='77'><li title='77'>柒拾柒</li></ol>
+<ol start='80'><li title='80'>捌拾</li></ol>
+<ol start='99'><li title='99'>玖拾玖</li></ol>
+<ol start='100'><li title='100'>壹佰</li></ol>
+<ol start='101'><li title='101'>壹佰零壹</li></ol>
+<ol start='222'><li title='222'>贰佰贰拾贰</li></ol>
+<ol start='540'><li title='540'>伍佰肆拾</li></ol>
+<ol start='999'><li title='999'>玖佰玖拾玖</li></ol>
+<ol start='1000'><li title='1000'>壹仟</li></ol>
+<ol start='1005'><li title='1005'>壹仟零伍</li></ol>
+<ol start='1060'><li title='1060'>壹仟零陆拾</li></ol>
+<ol start='1065'><li title='1065'>壹仟零陆拾伍</li></ol>
+<ol start='1800'><li title='1800'>壹仟捌佰</li></ol>
+<ol start='1860'><li title='1860'>壹仟捌佰陆拾</li></ol>
+<ol start='1865'><li title='1865'>壹仟捌佰陆拾伍</li></ol>
+<ol start='5865'><li title='5865'>伍仟捌佰陆拾伍</li></ol>
+<ol start='7005'><li title='7005'>柒仟零伍</li></ol>
+<ol start='7800'><li title='7800'>柒仟捌佰</li></ol>
+<ol start='7865'><li title='7865'>柒仟捌佰陆拾伍</li></ol>
+<ol start='9999'><li title='9999'>玖仟玖佰玖拾玖</li></ol>
+</div>
+
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItemMarkerEqualsListItemText);
+}
+</script>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698