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>
29 lines
2.4 KiB
Plaintext
29 lines
2.4 KiB
Plaintext
DisplayList items=27
|
|
Border rect=(8, 8, 136.99854, 136.8) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
SolidRect rect=(11, 11, 64.49927, 31.2) color=#d3d3d3
|
|
Border rect=(11, 11, 64.49927, 31.2) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
SolidRect rect=(77.49927, 11, 64.49927, 31.2) color=#d3d3d3
|
|
Border rect=(77.49927, 11, 64.49927, 31.2) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(11, 44.2, 64.49927, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(77.49927, 44.2, 64.49927, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(11, 77.4, 64.49927, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(77.49927, 77.4, 64.49927, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(11, 110.600006, 64.49927, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(77.49927, 110.600006, 64.49927, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(17, 17, 42.725403, 16) text="Header" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(62.779736, 17, 6.71953, 16) text="1" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(83.49927, 17, 42.725403, 16) text="Header" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(129.279, 17, 6.71953, 16) text="2" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(17, 50.2, 27.958883, 16) text="Body" color=#000000 font_size=16
|
|
Text rect=(48.013218, 50.2, 6.71953, 16) text="1" color=#000000 font_size=16
|
|
Text rect=(83.49927, 50.2, 27.958883, 16) text="Body" color=#000000 font_size=16
|
|
Text rect=(114.51248, 50.2, 6.71953, 16) text="2" color=#000000 font_size=16
|
|
Text rect=(17, 83.4, 27.958883, 16) text="Body" color=#000000 font_size=16
|
|
Text rect=(48.013218, 83.4, 6.71953, 16) text="3" color=#000000 font_size=16
|
|
Text rect=(83.49927, 83.4, 27.958883, 16) text="Body" color=#000000 font_size=16
|
|
Text rect=(114.51248, 83.4, 6.71953, 16) text="4" color=#000000 font_size=16
|
|
Text rect=(17, 116.600006, 36.029366, 16) text="Footer" color=#000000 font_size=16
|
|
Text rect=(56.0837, 116.600006, 6.71953, 16) text="1" color=#000000 font_size=16
|
|
Text rect=(83.49927, 116.600006, 36.029366, 16) text="Footer" color=#000000 font_size=16
|
|
Text rect=(122.58296, 116.600006, 6.71953, 16) text="2" color=#000000 font_size=16
|