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

Side by Side Diff: LayoutTests/fast/lists/css3-counter-styles-083.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, outside range</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="[Exploratory] list-style-type: trad-chinese-informa l produces counter values outside its range without using the prescribed fallbac k style.">
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 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 line s 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). I n all this IGNORE the 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="9999">
23 <li title="9999">九千九百九十九</li>
24 <li title="10000">一萬</li>
25 <li title="10001">一萬零一</li>
26 </ol></div>
27
28 <script>
29 if (window.testRunner) {
30 testRunner.dumpAsText();
31 filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItem MarkerEqualsListItemText);
32 }
33 </script>
34
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698