Add counter-reset, counter-increment properties with scope-based counter tracking during box tree construction. Implement counter(), counters(), and quote keywords (open-quote, close-quote, no-open-quote, no-close-quote) in the content property. Includes code review fixes: removed dead code in counter parser, eliminated wasteful allocation in counter formatting, added counter properties to ComputedStyles::dump(). 4 golden tests added, 2 WPT tests promoted to pass. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 lines
600 B
Plaintext
8 lines
600 B
Plaintext
DisplayList items=6
|
|
Text rect=(8, 22.32, 15.030836, 24) text="1." color=#000000 font_size=24 font_weight=700
|
|
Text rect=(27.612333, 22.32, 39.31277, 24) text="First" color=#000000 font_size=24 font_weight=700
|
|
Text rect=(8, 71.04, 15.030836, 24) text="2." color=#000000 font_size=24 font_weight=700
|
|
Text rect=(27.612333, 71.04, 62.925102, 24) text="Second" color=#000000 font_size=24 font_weight=700
|
|
Text rect=(8, 119.76, 15.030836, 24) text="3." color=#000000 font_size=24 font_weight=700
|
|
Text rect=(27.612333, 119.76, 45.90308, 24) text="Third" color=#000000 font_size=24 font_weight=700
|