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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html lang="en" >
3 <head>
4 <meta charset="utf-8"/>
5 <title>trad-chinese-informal, 10-9999</title>
6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
7 <link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#complex-cjk'>
8 <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
9 <meta name='flags' content='font'>
10 <meta name="assert" content="Setting list-style-type to trad-chinese-informal wi ll produce list numbering after 9 as described in the CSS3 Counter Styles module .">
11 <style type='text/css'>
12 .test { font-size: 25px; }
13 ol { margin: 0; padding-left: 8em; }
14 ol li { list-style-type: trad-chinese-informal; list-style-type: cjk-ideographic ; }
15 </style>
16 <script src="resources/dump-list.js"></script>
17 </head>
18 <body>
19 <p class="instructions">Test passes if the two columns are the same, ignoring th e suffix.</p>
20 <p>To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.</p>
21
22 <div class="test"><ol start='10'><li title='10'>十</li></ol>
23 <ol start='11'><li title='11'>十一</li></ol>
24 <ol start='12'><li title='12'>十二</li></ol>
25 <ol start='43'><li title='43'>四十三</li></ol>
26 <ol start='77'><li title='77'>七十七</li></ol>
27 <ol start='80'><li title='80'>八十</li></ol>
28 <ol start='99'><li title='99'>九十九</li></ol>
29 <ol start='100'><li title='100'>一百</li></ol>
30 <ol start='101'><li title='101'>一百零一</li></ol>
31 <ol start='222'><li title='222'>二百二十二</li></ol>
32 <ol start='540'><li title='540'>五百四十</li></ol>
33 <ol start='999'><li title='999'>九百九十九</li></ol>
34 <ol start='1000'><li title='1000'>一千</li></ol>
35 <ol start='1005'><li title='1005'>一千零五</li></ol>
36 <ol start='1060'><li title='1060'>一千零六十</li></ol>
37 <ol start='1065'><li title='1065'>一千零六十五</li></ol>
38 <ol start='1800'><li title='1800'>一千八百</li></ol>
39 <ol start='1860'><li title='1860'>一千八百六十</li></ol>
40 <ol start='1865'><li title='1865'>一千八百六十五</li></ol>
41 <ol start='5865'><li title='5865'>五千八百六十五</li></ol>
42 <ol start='7005'><li title='7005'>七千零五</li></ol>
43 <ol start='7800'><li title='7800'>七千八百</li></ol>
44 <ol start='7865'><li title='7865'>七千八百六十五</li></ol>
45 <ol start='9999'><li title='9999'>九千九百九十九</li></ol>
46 </div>
47
48 <script>
49 if (window.testRunner) {
50 testRunner.dumpAsText();
51 filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItem MarkerEqualsListItemText);
52 }
53 </script>
54
55 </body>
56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698