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

Unified Diff: LayoutTests/fast/lists/css3-counter-styles-081.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
« no previous file with comments | « no previous file | LayoutTests/fast/lists/css3-counter-styles-081-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/lists/css3-counter-styles-081.html
diff --git a/LayoutTests/fast/lists/css3-counter-styles-081.html b/LayoutTests/fast/lists/css3-counter-styles-081.html
new file mode 100644
index 0000000000000000000000000000000000000000..a3b3cdb695faf0c4a2591a5ac2e6484e4ddc5f96
--- /dev/null
+++ b/LayoutTests/fast/lists/css3-counter-styles-081.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-informal, 0-9</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 of up to 9 items numbering 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='0'><li title='0'>零</li></ol>
+<ol start='1'><li title='1'>一</li></ol>
+<ol start='2'><li title='2'>二</li></ol>
+<ol start='3'><li title='3'>三</li></ol>
+<ol start='4'><li title='4'>四</li></ol>
+<ol start='5'><li title='5'>五</li></ol>
+<ol start='6'><li title='6'>六</li></ol>
+<ol start='7'><li title='7'>七</li></ol>
+<ol start='8'><li title='8'>八</li></ol>
+<ol start='9'><li title='9'>九</li></ol>
+</div>
+
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItemMarkerEqualsListItemText);
+}
+</script>
+
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/lists/css3-counter-styles-081-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698