Add phased rendering to the display list builder so that within each stacking context, block backgrounds/borders paint before floats, which paint before inline content, per CSS 2.1 Appendix E steps 3-5. Introduces a RenderPhase enum (BackgroundsOnly, InlineContentOnly, Full) threaded through render_layout_box_normal and render_non_inline_descendants. Step 6 positioned-auto descendants are collected and rendered via render_stacking_context for correct internal Appendix E ordering. Net +20 WPT tests passing (25 promoted, 5 demoted for pixel regressions). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
505 B
Plaintext
15 lines
505 B
Plaintext
DisplayList items=13
|
|
SolidRect rect=(8, 8, 170, 120) color=#d3d3d3
|
|
PushClip rect=(8, 8, 170, 120)
|
|
SolidRect rect=(18, 18, 210, 90) color=#add8e6
|
|
PushClip rect=(18, 18, 210, 90)
|
|
SolidRect rect=(23, 23, 300, 150) color=#ff0000
|
|
PopClip
|
|
PopClip
|
|
PushClip rect=(8, 8, 170, 120)
|
|
PushClip rect=(18, 18, 210, 90)
|
|
Text rect=(23, 24.6, 39.27166, 16) text="Nested" color=#000000 font_size=16
|
|
Text rect=(65.32599, 24.6, 43.6652, 16) text="clipping" color=#000000 font_size=16
|
|
PopClip
|
|
PopClip
|