Files
rust_browser/tests/goldens/expected/115-float-with-padding-border.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

13 lines
864 B
Plaintext

DisplayList items=11
SolidRect rect=(8, 8, 784, 19.2) color=#00ff00
SolidRect rect=(8, 8, 110, 70) color=#ff0000
Border rect=(8, 8, 110, 70) widths=(5 5 5 5) colors=(#0000ff #0000ff #0000ff #0000ff)
Text rect=(118, 9.6, 23.612333, 16) text="Text" color=#000000 font_size=16
Text rect=(144.66667, 9.6, 24.340675, 16) text="next" color=#000000 font_size=16
Text rect=(172.06169, 9.6, 11.348018, 16) text="to" color=#000000 font_size=16
Text rect=(186.46405, 9.6, 25.010277, 16) text="float" color=#000000 font_size=16
Text rect=(214.52867, 9.6, 23.765053, 16) text="with" color=#000000 font_size=16
Text rect=(241.34807, 9.6, 45.779736, 16) text="padding" color=#000000 font_size=16
Text rect=(290.18213, 9.6, 21.07489, 16) text="and" color=#000000 font_size=16
Text rect=(314.31134, 9.6, 37.88546, 16) text="border" color=#000000 font_size=16