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>
7 lines
403 B
Plaintext
7 lines
403 B
Plaintext
DisplayList items=5
|
|
SolidRect rect=(0, 0, 340, 100.8) color=#dddddd
|
|
Text rect=(20, 51.4, 24.464024, 14) text="Body" color=#000000 font_size=14
|
|
Text rect=(47.136562, 51.4, 18.65639, 14) text="text" color=#000000 font_size=14
|
|
Text rect=(10, 6.1000004, 23.203377, 11) text="Offset" color=#333333 font_size=11
|
|
Text rect=(35.30323, 6.1000004, 20.368574, 11) text="Label" color=#333333 font_size=11
|