Implement full list-style-type property through the rendering pipeline: CSS parsing (including list-style shorthand), style computation with inheritance, presentational hints for <ol type> attribute, and marker generation driven by computed styles instead of parent tag inspection. Tag-level defaults (decimal for ol, disc for ul) are applied in style computation before the cascade so presentational hints from <ol type="..."> correctly override them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
63 B
HTML
6 lines
63 B
HTML
<ol>
|
|
<li>First</li>
|
|
<li>Second</li>
|
|
<li>Third</li>
|
|
</ol>
|