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>
9 lines
612 B
Plaintext
9 lines
612 B
Plaintext
DisplayList items=7
|
|
Border rect=(8, 8, 302, 84) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(9, 9, 100, 82) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(109, 9, 100, 82) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(209, 9, 100, 82) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(10, 10, 20.863436, 16) text="Top" color=#000000 font_size=16
|
|
Text rect=(110, 43.418503, 37.79148, 16) text="Middle" color=#000000 font_size=16
|
|
Text rect=(210, 74, 41.315712, 16) text="Bottom" color=#000000 font_size=16
|