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>
14 lines
1020 B
Plaintext
14 lines
1020 B
Plaintext
DisplayList items=12
|
|
Border rect=(0, 0, 800, 64.4) widths=(1 0 1 0) colors=(#00ff00e6 #000000 #00ff00e6 #000000)
|
|
Text rect=(-8.417034, 13, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(-8.417034, 32.2, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Border rect=(10, 74.4, 780, 43.200005) widths=(2 0 2 0) colors=(#ff0000 #000000 #0000ff #000000)
|
|
Text rect=(0, 14.6, 23.024963, 16) text="Test" color=#000000 font_size=16
|
|
Text rect=(26.079296, 14.6, 6.71953, 16) text="1" color=#000000 font_size=16
|
|
Text rect=(0, 33.800003, 23.024963, 16) text="Test" color=#000000 font_size=16
|
|
Text rect=(26.079296, 33.800003, 6.71953, 16) text="2" color=#000000 font_size=16
|
|
Text rect=(20, 88, 41.903084, 16) text="Dashed" color=#000000 font_size=16
|
|
Text rect=(64.95741, 88, 21.720999, 16) text="top," color=#000000 font_size=16
|
|
Text rect=(89.73274, 88, 36.66373, 16) text="dotted" color=#000000 font_size=16
|
|
Text rect=(129.4508, 88, 40.90455, 16) text="bottom" color=#000000 font_size=16
|