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

Side by Side Diff: LayoutTests/fast/lists/css3-counter-styles-078.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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en" > 2 <html lang="en" >
3 <head> 3 <head>
4 <meta charset="utf-8"/> 4 <meta charset="utf-8"/>
5 <title>trad-chinese-informal, outside range</title> 5 <title>simp-chinese-formal, outside range</title>
6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> 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'> 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" /> 8 <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
9 <meta name='flags' content='font'> 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."> 10 <meta name="assert" content="[Exploratory] list-style-type: simp-chinese-formal produces counter values outside its range without using the prescribed fallback style.">
11 <style type='text/css'> 11 <style type='text/css'>
12 .test { font-size: 25px; } 12 .test { font-size: 25px; }
13 ol { margin: 0; padding-left: 8em; } 13 ol { margin: 0; padding-left: 8em; }
14 ol li { list-style-type: trad-chinese-informal; list-style-type: cjk-ideographic ; } 14 ol li { list-style-type: simp-chinese-formal; }
15 </style> 15 </style>
16 <script src="resources/dump-list.js"></script> 16 <script src="resources/dump-list.js"></script>
17 </head> 17 </head>
18 <body> 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> 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> 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 21
22 <div class="test"><ol start="9999"> 22 <div class="test"><ol start="9999">
23 <li title="9999">九千九百九十九</li> 23 <li title="9999">玖仟玖佰玖拾玖</li>
24 <li title="10000">一萬</li> 24 <li title="10000">壹万</li>
25 <li title="10001">一萬零一</li> 25 <li title="10001">壹万零壹</li>
26 </ol></div> 26 </ol></div>
27 27
28 <script> 28 <script>
29 if (window.testRunner) { 29 if (window.testRunner) {
30 testRunner.dumpAsText(); 30 testRunner.dumpAsText();
31 filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItem MarkerEqualsListItemText); 31 filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItem MarkerEqualsListItemText);
32 } 32 }
33 </script> 33 </script>
34 34
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698