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>
14 lines
894 B
Plaintext
14 lines
894 B
Plaintext
DisplayList items=12
|
|
SolidRect rect=(8, 24, 784, 19.2) color=#ffff00
|
|
SolidRect rect=(8, 8, 100, 40) color=#ff0000
|
|
SolidRect rect=(108, 8, 100, 80) color=#0000ff
|
|
SolidRect rect=(208, 8, 100, 50) color=#00ff00
|
|
Text rect=(308, 25.6, 23.612333, 16) text="Text" color=#000000 font_size=16
|
|
Text rect=(334.66666, 25.6, 29.039646, 16) text="flows" color=#000000 font_size=16
|
|
Text rect=(366.76062, 25.6, 40.293686, 16) text="around" color=#000000 font_size=16
|
|
Text rect=(410.10864, 25.6, 45.427315, 16) text="multiple" color=#000000 font_size=16
|
|
Text rect=(458.59027, 25.6, 30.637295, 16) text="floats" color=#000000 font_size=16
|
|
Text rect=(492.2819, 25.6, 11.148312, 16) text="of" color=#000000 font_size=16
|
|
Text rect=(506.48453, 25.6, 47.94126, 16) text="different" color=#000000 font_size=16
|
|
Text rect=(557.4801, 25.6, 41.268723, 16) text="heights" color=#000000 font_size=16
|