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

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

Issue 1170603003: Drop trailing zeroes only for rightmost group for cjk-ideographic (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Really fix test 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-082.html
diff --git a/LayoutTests/fast/lists/css3-counter-styles-082.html b/LayoutTests/fast/lists/css3-counter-styles-082.html
new file mode 100644
index 0000000000000000000000000000000000000000..1c098de2b47fec4d4e1df033f14160ea4ef02e23
--- /dev/null
+++ b/LayoutTests/fast/lists/css3-counter-styles-082.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-informal, 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 trad-chinese-informal 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: trad-chinese-informal; list-style-type: cjk-ideographic; }
+</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