Files
rust_browser/tests/goldens/expected/122-float-with-text-content.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

18 lines
1.2 KiB
Plaintext

DisplayList items=16
SolidRect rect=(8, 8, 784, 19.2) color=#00ff00
SolidRect rect=(8, 8, 140, 39.2) color=#ff0000
Text rect=(18, 19.6, 23.612333, 16) text="Text" color=#ffffff font_size=16
Text rect=(44.666668, 19.6, 32.798824, 16) text="inside" color=#ffffff font_size=16
Text rect=(80.51982, 19.6, 25.010277, 16) text="float" color=#ffffff font_size=16
Text rect=(108.58443, 19.6, 20.546255, 16) text="box" color=#ffffff font_size=16
Text rect=(148, 9.6, 27.535978, 16) text="Main" color=#000000 font_size=16
Text rect=(178.59032, 9.6, 42.372982, 16) text="content" color=#000000 font_size=16
Text rect=(224.01764, 9.6, 29.039646, 16) text="flows" color=#000000 font_size=16
Text rect=(256.1116, 9.6, 40.293686, 16) text="around" color=#000000 font_size=16
Text rect=(299.4596, 9.6, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(320.6402, 9.6, 25.010277, 16) text="float" color=#000000 font_size=16
Text rect=(348.7048, 9.6, 32.42291, 16) text="which" color=#000000 font_size=16
Text rect=(384.18204, 9.6, 19.477238, 16) text="has" color=#000000 font_size=16
Text rect=(406.7136, 9.6, 21.321585, 16) text="text" color=#000000 font_size=16
Text rect=(431.0895, 9.6, 32.798824, 16) text="inside" color=#000000 font_size=16