Files
rust_browser/tests/goldens/expected/121-float-nested-bfc.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

17 lines
885 B
Plaintext

DisplayList items=15
SolidRect rect=(8, 8, 600, 71.2) color=#cccccc
SolidRect rect=(8, 8, 600, 71.2) color=#00ff00
PushClip rect=(8, 8, 600, 71.2)
PopClip
SolidRect rect=(8, 8, 200, 100) color=#ff0000
SolidRect rect=(18, 18, 80, 40) color=#0000ff
PushClip rect=(8, 8, 600, 71.2)
Text rect=(98, 35.6, 29.979443, 16) text="Inner" color=#000000 font_size=16
Text rect=(131.03378, 35.6, 21.157122, 16) text="BFC" color=#000000 font_size=16
Text rect=(155.24524, 35.6, 23.765053, 16) text="with" color=#000000 font_size=16
Text rect=(182.06462, 35.6, 12.898678, 16) text="its" color=#000000 font_size=16
Text rect=(198.01764, 35.6, 23.600588, 16) text="own" color=#000000 font_size=16
Text rect=(224.67256, 35.6, 25.010277, 16) text="float" color=#000000 font_size=16
Text rect=(252.73717, 35.6, 41.32746, 16) text="context" color=#000000 font_size=16
PopClip