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
669 B
Plaintext
10 lines
669 B
Plaintext
DisplayList items=8
|
|
Text rect=(39.582966, 24, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(74.13216, 59.2, 9.867842, 16) text="1." color=#000000 font_size=16
|
|
Text rect=(74.13216, 78.4, 9.867842, 16) text="2." color=#000000 font_size=16
|
|
Text rect=(39.582966, 129.6, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(48, 25.6, 25.480175, 16) text="Fruit" color=#000000 font_size=16
|
|
Text rect=(88, 60.800003, 31.612337, 16) text="Apple" color=#000000 font_size=16
|
|
Text rect=(88, 80, 41.92658, 16) text="Banana" color=#000000 font_size=16
|
|
Text rect=(48, 131.20001, 55.236416, 16) text="Vegetable" color=#000000 font_size=16
|