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>
17 lines
1.3 KiB
Plaintext
17 lines
1.3 KiB
Plaintext
DisplayList items=15
|
|
Border rect=(8, 8, 89.62114, 103.600006) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
SolidRect rect=(11, 11, 47.05433, 31.2) color=#d3d3d3
|
|
Border rect=(11, 11, 47.05433, 31.2) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
SolidRect rect=(60.05433, 11, 34.566814, 31.2) color=#d3d3d3
|
|
Border rect=(60.05433, 11, 34.566814, 31.2) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(11, 44.2, 47.05433, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(60.05433, 44.2, 34.566814, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(11, 77.4, 47.05433, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(60.05433, 77.4, 34.566814, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(17, 17, 35.05433, 16) text="Name" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(66.05433, 17, 22.566814, 16) text="Age" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(17, 50.2, 25.8326, 16) text="Alice" color=#000000 font_size=16
|
|
Text rect=(66.05433, 50.2, 13.43906, 16) text="30" color=#000000 font_size=16
|
|
Text rect=(17, 83.4, 21.967693, 16) text="Bob" color=#000000 font_size=16
|
|
Text rect=(66.05433, 83.4, 13.43906, 16) text="25" color=#000000 font_size=16
|