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>
8 lines
494 B
Plaintext
8 lines
494 B
Plaintext
DisplayList items=6
|
|
Text rect=(34.132156, 24, 9.867842, 16) text="1." color=#000000 font_size=16
|
|
Text rect=(48, 24, 23.847282, 16) text="First" color=#000000 font_size=16
|
|
Text rect=(34.132156, 43.2, 9.867842, 16) text="2." color=#000000 font_size=16
|
|
Text rect=(48, 43.2, 40.305435, 16) text="Second" color=#000000 font_size=16
|
|
Text rect=(34.132156, 62.4, 9.867842, 16) text="3." color=#000000 font_size=16
|
|
Text rect=(48, 62.4, 28.898678, 16) text="Third" color=#000000 font_size=16
|