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
529 B
Plaintext
9 lines
529 B
Plaintext
DisplayList items=7
|
|
SolidRect rect=(8, 8, 300, 19.2) color=#f08080
|
|
SolidRect rect=(8, 27.2, 400, 19.2) color=#add8e6
|
|
Text rect=(8, 9.6, 20.945667, 16) text="Min" color=#000000 font_size=16
|
|
Text rect=(32, 9.6, 25.151249, 16) text="wins" color=#000000 font_size=16
|
|
Text rect=(60.20558, 9.6, 40.64611, 16) text="(300px)" color=#000000 font_size=16
|
|
Text rect=(8, 28.800001, 41.491924, 16) text="Normal" color=#000000 font_size=16
|
|
Text rect=(52.546257, 28.800001, 40.64611, 16) text="(400px)" color=#000000 font_size=16
|