Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title>CSS Test: list-style-type - lower-greek</title>
<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-list-style-type/generate?test=9' />
<meta name="assert" content="Setting list-style-type to lower-greek will cause list numbering to format numbers in the way described in the CSS3 Lists module." />
<style type='text/css'>
ol { list-style-type: lower-greek; }
/* the CSS below is not part of the test */
.test { font-size: 24px; font-family: sans-serif; }
ol { margin: 0; padding-left: 8em; }
.alt { color: #ff6633; margin-left: 40px;}
</style>
</head>
<body>
<p class="instructions">Test passes if the numbering in the two columns is the same.</p>
<div class="test">
<ol class="lower-greek">
<li> α</li>
<li>β
<ol class="lower-greek">
<li> α</li>
<li> β</li>
<li> γ</li>
</ol>
</li>
<li>γ</li>
<li>δ</li>
<li>ε</li>
<li>ζ</li>
<li>η</li>
<li>θ</li>
<li>ι</li>
<li>κ</li>
<li>λ</li>
<li>μ</li>
<li>ν</li>
<li>ξ</li>
<li>ο</li>
<li>π</li>
<li>ρ</li>
<li>σ</li>
<li>τ</li>
<li>υ</li>
<li>φ</li>
<li>χ</li>
<li>ψ</li>
<li>ω</li>
<li> αα</li>
<li> αβ</li>
<li> αγ</li>
<li> αδ</li>
</ol>
<ol class="lower-greek" start="48">
<li> αω</li>
<li>βα</li>
<li>ββ</li>
</ol>
<ol class="lower-greek" start="599">
<li> ωψ</li>
<li> ωω</li>
<li>ααα</li>
<li>ααβ</li>
<li>ααγ</li>
</ol>
<ol class="lower-greek" start="1400">
<li>βκθ</li>
<li>βκι</li>
<li>βκκ</li>
<li>βκλ</li>
</ol>
<ol class="lower-greek" start="15000">
<li> ααωω</li>
<li>αβαα</li>
<li>αβαβ</li>
<li>αβαγ</li>
</ol>
</div>
<!--p class="notes">Notes: <br /><a href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-type">CSS2.1</a> CR specifies a <span class="kw">lower-greek</span> value for the list-style-type property, but does not specify in any detail the mechanism for implementing it. Expectations for behavior in these tests are based on the rules specified in the version of <a href="http://www.w3.org/TR/css3-lists/#lower-greek">CSS3 Lists module</a> current at the time this test was last updated.</p><p class="notes">The test uses the start attribute to reduce the size of the list. This attribute is deprecated or unavailable in some formats, causing the test page not to validate, but appears to be supported in major browsers anyway (and will be reinstated in HTML5).</p-->
</body>
</html>