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>
12 lines
822 B
Plaintext
12 lines
822 B
Plaintext
DisplayList items=10
|
|
Text rect=(48, 17.6, 6.71953, 16) text="1" color=#000000 font_size=16
|
|
Text rect=(57.77386, 17.6, 7.506608, 16) text="A" color=#000000 font_size=16
|
|
Text rect=(88, 52.800003, 16.587372, 16) text="1.1" color=#000000 font_size=16
|
|
Text rect=(107.6417, 52.800003, 39.27166, 16) text="Nested" color=#000000 font_size=16
|
|
Text rect=(149.9677, 52.800003, 7.506608, 16) text="A" color=#000000 font_size=16
|
|
Text rect=(88, 72, 16.587372, 16) text="1.2" color=#000000 font_size=16
|
|
Text rect=(107.6417, 72, 39.27166, 16) text="Nested" color=#000000 font_size=16
|
|
Text rect=(149.9677, 72, 7.6358294, 16) text="B" color=#000000 font_size=16
|
|
Text rect=(48, 123.20001, 6.71953, 16) text="2" color=#000000 font_size=16
|
|
Text rect=(57.77386, 123.20001, 7.6358294, 16) text="B" color=#000000 font_size=16
|