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
514 B
Plaintext
8 lines
514 B
Plaintext
DisplayList items=6
|
|
Border rect=(8, 8, 104, 34) widths=(2 2 2 2) colors=(#ff0000 #ff0000 #ff0000 #ff0000)
|
|
Border rect=(8, 42, 106, 36) widths=(3 3 3 3) colors=(#0000ff #0000ff #0000ff #0000ff)
|
|
Border rect=(8, 78, 102, 32) widths=(1 1 1 1) colors=(#008000 #008000 #008000 #008000)
|
|
Text rect=(10, 11.6, 21.157122, 16) text="Red" color=#000000 font_size=16
|
|
Text rect=(11, 46.6, 24.55213, 16) text="Blue" color=#000000 font_size=16
|
|
Text rect=(9, 80.6, 33.91483, 16) text="Green" color=#000000 font_size=16
|