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
69 B
HTML
6 lines
69 B
HTML
<ol start="5">
|
|
<li>Five</li>
|
|
<li>Six</li>
|
|
<li>Seven</li>
|
|
</ol>
|