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
1.1 KiB
Plaintext
15 lines
1.1 KiB
Plaintext
DisplayList items=13
|
|
Border rect=(8, 8, 402, 54) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(9, 9, 100, 52) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(109, 9, 102, 2) widths=(1 1 1 1) colors=(#0000ff #0000ff #0000ff #0000ff)
|
|
Border rect=(211, 9, 100, 52) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(311, 9, 102, 42) widths=(1 1 1 1) colors=(#008000 #008000 #008000 #008000)
|
|
Text rect=(15, 16.6, 20.111603, 16) text="Cell" color=#000000 font_size=16
|
|
Text rect=(38.165936, 16.6, 6.71953, 16) text="1" color=#000000 font_size=16
|
|
Text rect=(110, 11.6, 30.00294, 16) text="Table" color=#000000 font_size=16
|
|
Text rect=(143.05728, 11.6, 6.71953, 16) text="2" color=#000000 font_size=16
|
|
Text rect=(217, 16.6, 20.111603, 16) text="Cell" color=#000000 font_size=16
|
|
Text rect=(240.16594, 16.6, 6.71953, 16) text="3" color=#000000 font_size=16
|
|
Text rect=(312, 11.6, 29.685757, 16) text="Block" color=#000000 font_size=16
|
|
Text rect=(344.74008, 11.6, 6.71953, 16) text="4" color=#000000 font_size=16
|