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>
10 lines
670 B
Plaintext
10 lines
670 B
Plaintext
DisplayList items=8
|
|
Text rect=(39.582966, 24, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(48, 24, 25.480175, 16) text="Fruit" color=#000000 font_size=16
|
|
Text rect=(74.13216, 59.2, 9.867842, 16) text="1." color=#000000 font_size=16
|
|
Text rect=(88, 59.2, 31.612337, 16) text="Apple" color=#000000 font_size=16
|
|
Text rect=(74.13216, 78.4, 9.867842, 16) text="2." color=#000000 font_size=16
|
|
Text rect=(88, 78.4, 41.92658, 16) text="Banana" color=#000000 font_size=16
|
|
Text rect=(39.582966, 113.600006, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(48, 113.600006, 55.236416, 16) text="Vegetable" color=#000000 font_size=16
|