Files
rust_browser/tests/goldens/expected/120-float-mixed-left-right.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

16 lines
1.1 KiB
Plaintext

DisplayList items=14
SolidRect rect=(8, 24, 784, 19.2) color=#00ff00
SolidRect rect=(8, 8, 150, 60) color=#ff0000
SolidRect rect=(642, 8, 150, 60) color=#0000ff
Text rect=(158, 25.6, 23.612333, 16) text="Text" color=#000000 font_size=16
Text rect=(184.66667, 25.6, 47.835533, 16) text="between" color=#000000 font_size=16
Text rect=(235.55653, 25.6, 17.938326, 16) text="left" color=#000000 font_size=16
Text rect=(256.5492, 25.6, 21.07489, 16) text="and" color=#000000 font_size=16
Text rect=(280.6784, 25.6, 26.60793, 16) text="right" color=#000000 font_size=16
Text rect=(310.34067, 25.6, 30.637295, 16) text="floats" color=#000000 font_size=16
Text rect=(344.0323, 25.6, 33.527164, 16) text="wraps" color=#000000 font_size=16
Text rect=(380.61377, 25.6, 10.290749, 16) text="in" color=#000000 font_size=16
Text rect=(393.95883, 25.6, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(415.13943, 25.6, 38.12041, 16) text="middle" color=#000000 font_size=16
Text rect=(456.31418, 25.6, 31.706316, 16) text="space" color=#000000 font_size=16