Files
rust_browser/tests/goldens/expected/035-multiple-blocks-interrupting.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
941 B
Plaintext

DisplayList items=12
SolidRect rect=(8, 27.2, 784, 19.2) color=#eeeeee
SolidRect rect=(8, 65.600006, 784, 19.199997) color=#dddddd
Text rect=(8, 9.6, 23.612333, 16) text="Text" color=#000000 font_size=16
Text rect=(34.666664, 9.6, 20.992659, 16) text="one" color=#000000 font_size=16
Text rect=(8, 28.800001, 29.685757, 16) text="Block" color=#000000 font_size=16
Text rect=(40.74009, 28.800001, 7.506608, 16) text="A" color=#000000 font_size=16
Text rect=(8, 48, 23.612333, 16) text="Text" color=#000000 font_size=16
Text rect=(34.666664, 48, 20.581497, 16) text="two" color=#000000 font_size=16
Text rect=(8, 67.200005, 29.685757, 16) text="Block" color=#000000 font_size=16
Text rect=(40.74009, 67.200005, 7.6358294, 16) text="B" color=#000000 font_size=16
Text rect=(8, 86.4, 23.612333, 16) text="Text" color=#000000 font_size=16
Text rect=(34.666664, 86.4, 29.603525, 16) text="three" color=#000000 font_size=16