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

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

Issue 1168643003: Add support for korean-hangul-formal list style type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clean up a bit more 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-052.html
diff --git a/LayoutTests/fast/lists/css3-counter-styles-052.html b/LayoutTests/fast/lists/css3-counter-styles-052.html
new file mode 100644
index 0000000000000000000000000000000000000000..647c24e6113ee7073eb0590b7678306c948d1b85
--- /dev/null
+++ b/LayoutTests/fast/lists/css3-counter-styles-052.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>korean-hangul-formal, 0-9</title>
eae 2015/06/11 20:41:43 Use single or double quotes consistently. We gener
rwlbuis 2015/06/11 22:20:16 Done. BTW my thinking was keeping the w3c tests as
+<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 korean-hangul-formal 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; font-family: 'Times New Roman'; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: korean-hangul-formal; }
+</style>
+<script src="resources/dump-list.js"></script>
+<script>
+function runTest()
+{
+ if (!window.testRunner)
+ return;
+
+ testRunner.dumpAsText();
+ filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItemMarkerEqualsListItemText);
+}
+window.onload = runTest;
eae 2015/06/11 20:41:43 Do you really need to wait for the onload event? W
rwlbuis 2015/06/11 22:20:16 Good point, fixed.
+</script>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, ignoring the suffix.</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>
+
+
+<!--Notes:
+You will need an appropriate font to run this test.
eae 2015/06/11 20:41:43 This note is only relevant to those viewing the te
rwlbuis 2015/06/11 22:20:16 Done.
+
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+
+
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/lists/css3-counter-styles-052-expected.txt » ('j') | Source/core/layout/LayoutListMarker.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698