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>
18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
DisplayList items=16
|
|
SolidRect rect=(13, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(126.05433, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(239.10866, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(352.16296, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(465.2173, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(578.2716, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(691.3259, 28.4, 100, 50) color=#add8e6
|
|
SolidRect rect=(13, 103.799995, 100, 50) color=#add8e6
|
|
Text rect=(13, 30, 27.676945, 16) text="Box1" color=#000000 font_size=16
|
|
Text rect=(126.05433, 30, 27.676945, 16) text="Box2" color=#000000 font_size=16
|
|
Text rect=(239.10866, 30, 27.676945, 16) text="Box3" color=#000000 font_size=16
|
|
Text rect=(352.16296, 30, 27.676945, 16) text="Box4" color=#000000 font_size=16
|
|
Text rect=(465.2173, 30, 27.676945, 16) text="Box5" color=#000000 font_size=16
|
|
Text rect=(578.2716, 30, 27.676945, 16) text="Box6" color=#000000 font_size=16
|
|
Text rect=(691.3259, 30, 27.676945, 16) text="Box7" color=#000000 font_size=16
|
|
Text rect=(13, 105.399994, 27.676945, 16) text="Box8" color=#000000 font_size=16
|