Files
rust_browser/tests/goldens/expected/163-flex-order.dl.txt
Zachary D. Rowitsch 41cd7442c8 Implement CSS 2.1 Appendix E paint order (block bg → floats → inline)
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>
2026-03-04 09:24:50 -05:00

12 lines
679 B
Plaintext

DisplayList items=10
SolidRect rect=(8, 8, 300, 50) color=#d3d3d3
SolidRect rect=(153, 13, 60, 40) color=#ff0000
SolidRect rect=(13, 13, 60, 40) color=#008000
SolidRect rect=(83, 13, 60, 40) color=#0000ff
Text rect=(153, 14.6, 28.405285, 16) text="DOM" color=#000000 font_size=16
Text rect=(184.45963, 14.6, 6.71953, 16) text="1" color=#000000 font_size=16
Text rect=(13, 14.6, 28.405285, 16) text="DOM" color=#000000 font_size=16
Text rect=(44.459618, 14.6, 6.71953, 16) text="2" color=#000000 font_size=16
Text rect=(83, 14.6, 28.405285, 16) text="DOM" color=#000000 font_size=16
Text rect=(114.45962, 14.6, 6.71953, 16) text="3" color=#000000 font_size=16