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>
16 lines
1.3 KiB
Plaintext
16 lines
1.3 KiB
Plaintext
DisplayList items=14
|
|
Border rect=(8, 8, 97.5536, 103.600006) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(11, 11, 63.40969, 64.4) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(76.40969, 11, 26.143906, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(76.40969, 44.2, 26.143906, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(11, 77.4, 30.640236, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(43.640236, 77.4, 30.769457, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(76.40969, 77.4, 26.143906, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(17, 17, 19.65345, 16) text="2x2" color=#000000 font_size=16
|
|
Text rect=(39.707783, 17, 26.70191, 16) text="span" color=#000000 font_size=16
|
|
Text rect=(82.40969, 17, 14.143906, 16) text="C1" color=#000000 font_size=16
|
|
Text rect=(82.40969, 50.2, 14.143906, 16) text="C2" color=#000000 font_size=16
|
|
Text rect=(17, 83.4, 14.226138, 16) text="A3" color=#000000 font_size=16
|
|
Text rect=(49.640236, 83.4, 14.35536, 16) text="B3" color=#000000 font_size=16
|
|
Text rect=(82.40969, 83.4, 14.143906, 16) text="C3" color=#000000 font_size=16
|