mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
Recognise the list-style property and apply it by setting the appropriate flag on the element's parattr based on the property's value. Add test/list-style.html with an example of each possible list-style value (many are unsupported by the HTML engine).
195 lines
2.8 KiB
HTML
195 lines
2.8 KiB
HTML
<html>
|
|
<body>
|
|
|
|
<p>
|
|
list-style:none
|
|
<ol style="list-style:none">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:disc
|
|
<ol style="list-style:disc">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:circle
|
|
<ol style="list-style:circle">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:square
|
|
<ol style="list-style:square">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:decimal
|
|
<ol style="list-style:decimal">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:decimal-leading-zero
|
|
<ol style="list-style:decimal-leading-zero">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:lower-roman
|
|
<ol style="list-style:lower-roman">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:upper-roman
|
|
<ol style="list-style:upper-roman">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:lower-alpha
|
|
<ol style="list-style:lower-alpha">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:upper-alpha
|
|
<ol style="list-style:upper-alpha">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:lower-greek
|
|
<ol style="list-style:lower-greek">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:lower-latin
|
|
<ol style="list-style:lower-latin">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:upper-latin
|
|
<ol style="list-style:upper-latin">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:hebrew
|
|
<ol style="list-style:hebrew">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:armenian
|
|
<ol style="list-style:armenian">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:georgian
|
|
<ol style="list-style:georgian">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:cjk-ideograph
|
|
<ol style="list-style:cjk-ideograph">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:hiragana
|
|
<ol style="list-style:hiragana">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:katakana
|
|
<ol style="list-style:katakana">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:hiragana-iroha
|
|
<ol style="list-style:hiragana-iroha">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
<p>
|
|
list-style:katakana-iroha
|
|
<ol style="list-style:katakana-iroha">
|
|
<li>first</li>
|
|
<li>second</li>
|
|
<li>third</li>
|
|
</ol>
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|