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>
11 lines
814 B
Plaintext
11 lines
814 B
Plaintext
DisplayList items=9
|
|
Border rect=(8, 8, 133.01616, 70.4) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(11, 11, 98.6608, 64.4) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(111.6608, 11, 26.35536, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(111.6608, 44.2, 26.35536, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(17, 17, 33.15125, 16) text="Spans" color=#000000 font_size=16
|
|
Text rect=(53.20558, 17, 20.581497, 16) text="two" color=#000000 font_size=16
|
|
Text rect=(76.84141, 17, 26.819382, 16) text="rows" color=#000000 font_size=16
|
|
Text rect=(117.6608, 17, 14.35536, 16) text="B1" color=#000000 font_size=16
|
|
Text rect=(117.6608, 50.2, 14.35536, 16) text="B2" color=#000000 font_size=16
|