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>
8 lines
415 B
Plaintext
8 lines
415 B
Plaintext
DisplayList items=6
|
|
SolidRect rect=(8, 88, 784, 19.199997) color=#00ff00
|
|
SolidRect rect=(8, 8, 100, 50) color=#ff0000
|
|
SolidRect rect=(692, 8, 100, 80) color=#0000ff
|
|
Text rect=(8, 89.6, 33.632893, 16) text="Below" color=#000000 font_size=16
|
|
Text rect=(44.687225, 89.6, 25.8326, 16) text="both" color=#000000 font_size=16
|
|
Text rect=(73.57415, 89.6, 30.637295, 16) text="floats" color=#000000 font_size=16
|