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>
10 lines
519 B
Plaintext
10 lines
519 B
Plaintext
DisplayList items=8
|
|
SolidRect rect=(8, 8, 200, 40) color=#bbbbbb
|
|
SolidRect rect=(208, 8, 100, 40) color=#eeeeee
|
|
SolidRect rect=(208, 48, 100, 40) color=#999999
|
|
SolidRect rect=(8, 48, 100, 40) color=#eeeeee
|
|
Text rect=(8, 9.6, 52.29956, 16) text="Spanning" color=#000000 font_size=16
|
|
Text rect=(208, 9.6, 7.6358294, 16) text="B" color=#000000 font_size=16
|
|
Text rect=(208, 49.6, 36.217327, 16) text="Placed" color=#000000 font_size=16
|
|
Text rect=(8, 49.6, 8.5756235, 16) text="D" color=#000000 font_size=16
|