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>
10 lines
565 B
Plaintext
10 lines
565 B
Plaintext
DisplayList items=8
|
|
SolidRect rect=(0, 0, 300, 40) color=#eeeeee
|
|
SolidRect rect=(50, 40, 200, 30) color=#cccccc
|
|
SolidRect rect=(50, 70, 200, 30) color=#cccccc
|
|
Text rect=(0, 1.6000004, 40.622612, 16) text="Header" color=#000000 font_size=16
|
|
Text rect=(50, 41.6, 44.15859, 16) text="Content" color=#000000 font_size=16
|
|
Text rect=(97.21291, 41.6, 7.506608, 16) text="A" color=#000000 font_size=16
|
|
Text rect=(50, 71.6, 44.15859, 16) text="Content" color=#000000 font_size=16
|
|
Text rect=(97.21291, 71.6, 7.6358294, 16) text="B" color=#000000 font_size=16
|