Add Overflow::Scroll and Auto enum variants, extend clipping to all non-visible overflow values, implement visual scroll indicators, and fix positioned children clipping per CSS 2.1 §11.1.1. Code review fixes include: DRY overflow parsing helper, rasterizer clip consistency, scroll indicator corner overlap fix, abspos escape in overflow detection (recovering 6 WPT tests), and additional golden/unit tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
823 B
Plaintext
16 lines
823 B
Plaintext
DisplayList items=14
|
|
SolidRect rect=(0, 0, 400, 300) color=#dddddd
|
|
SolidRect rect=(0, 0, 200, 100) color=#eeeeee
|
|
PushClip rect=(0, 0, 200, 100)
|
|
SolidRect rect=(0, 0, 300, 200) color=#aaaaff
|
|
PopClip
|
|
PushClip rect=(0, 0, 200, 100)
|
|
Text rect=(0, 1.6000004, 41.78561, 16) text="Clipped" color=#000000 font_size=16
|
|
Text rect=(44.839943, 1.6000004, 39.823788, 16) text="normal" color=#000000 font_size=16
|
|
Text rect=(87.718056, 1.6000004, 23.412628, 16) text="flow" color=#000000 font_size=16
|
|
PopClip
|
|
SolidRect rect=(10, 80, 150, 80) color=#ffaaaa
|
|
Text rect=(10, 81.6, 43.864902, 16) text="Escapes" color=#000000 font_size=16
|
|
Text rect=(56.919235, 81.6, 83.888405, 16) text="non-positioned" color=#000000 font_size=16
|
|
Text rect=(10, 100.799995, 47.96476, 16) text="overflow" color=#000000 font_size=16
|