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
500 B
Plaintext
8 lines
500 B
Plaintext
DisplayList items=6
|
|
Text rect=(39.582966, 24, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(48, 24, 31.612337, 16) text="Apple" color=#000000 font_size=16
|
|
Text rect=(39.582966, 43.2, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(48, 43.2, 41.92658, 16) text="Banana" color=#000000 font_size=16
|
|
Text rect=(39.582966, 62.4, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(48, 62.4, 37.004406, 16) text="Cherry" color=#000000 font_size=16
|