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>
12 lines
704 B
Plaintext
12 lines
704 B
Plaintext
DisplayList items=10
|
|
SolidRect rect=(8, 8, 200, 100) color=#d3d3d3
|
|
SolidRect rect=(8, 8, 100, 30) color=#008000
|
|
SolidRect rect=(8, 78, 100, 30) color=#008000
|
|
Text rect=(8, 9.6, 36.88693, 16) text="Before" color=#000000 font_size=16
|
|
Text rect=(8, 79.6, 27.265785, 16) text="After" color=#000000 font_size=16
|
|
Text rect=(38.320118, 79.6, 43.34802, 16) text="(normal" color=#000000 font_size=16
|
|
Text rect=(8, 98.799995, 47.776802, 16) text="position," color=#000000 font_size=16
|
|
Text rect=(8, 117.99999, 63.071953, 16) text="unaffected)" color=#000000 font_size=16
|
|
SolidRect rect=(38, 58, 80, 40) color=#0000ff
|
|
Text rect=(38, 59.6, 33.750366, 16) text="Offset" color=#000000 font_size=16
|