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
356 B
Plaintext
7 lines
356 B
Plaintext
DisplayList items=5
|
|
SolidRect rect=(0, 0, 300, 30) color=#eeeeee
|
|
SolidRect rect=(50, 30, 250, 25) color=#cccccc
|
|
Text rect=(0, 1.6000004, 19.418503, 16) text="Full" color=#000000 font_size=16
|
|
Text rect=(50, 31.6, 22.613804, 16) text="Last" color=#000000 font_size=16
|
|
Text rect=(75.66813, 31.6, 20.581497, 16) text="two" color=#000000 font_size=16
|