Files
rust_browser/tests/goldens/expected/112-float-inline-wrap.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

14 lines
948 B
Plaintext

DisplayList items=12
SolidRect rect=(8, 24, 784, 19.2) color=#00ff00
SolidRect rect=(8, 8, 200, 40) color=#ff0000
Text rect=(208, 25.6, 29.908957, 16) text="Short" color=#000000 font_size=16
Text rect=(240.96329, 25.6, 21.321585, 16) text="text" color=#000000 font_size=16
Text rect=(265.3392, 25.6, 33.527164, 16) text="wraps" color=#000000 font_size=16
Text rect=(301.9207, 25.6, 40.293686, 16) text="around" color=#000000 font_size=16
Text rect=(345.26868, 25.6, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(366.44928, 25.6, 25.010277, 16) text="float" color=#000000 font_size=16
Text rect=(394.5139, 25.6, 14.367107, 16) text="on" color=#000000 font_size=16
Text rect=(411.9353, 25.6, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(433.1159, 25.6, 26.60793, 16) text="right" color=#000000 font_size=16
Text rect=(462.77817, 25.6, 22.508076, 16) text="side" color=#000000 font_size=16