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>
7 lines
430 B
Plaintext
7 lines
430 B
Plaintext
DisplayList items=5
|
|
SolidRect rect=(67.94126, 38.399998, 104, 64) color=#add8e6
|
|
Border rect=(67.94126, 38.399998, 104, 64) widths=(2 2 2 2) colors=(#000000 #000000 #000000 #000000)
|
|
Text rect=(8, 52, 36.88693, 16) text="Before" color=#000000 font_size=16
|
|
Text rect=(194.99559, 52, 27.265785, 16) text="After" color=#000000 font_size=16
|
|
Text rect=(79.94126, 51.999996, 20.957415, 16) text="Box" color=#000000 font_size=16
|