Files
rust_browser/tests/external/wpt/expected/wpt-layout-overflow-hidden.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
770 B
Plaintext

DisplayList items=12
Border rect=(0, 0, 82, 22) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
PushClip rect=(1, 1, 80, 20)
PopClip
PushClip rect=(1, 1, 80, 20)
Text rect=(1, 2.6000004, 20.15859, 16) text="this" color=#000000 font_size=16
Text rect=(24.212921, 2.6000004, 21.321585, 16) text="text" color=#000000 font_size=16
Text rect=(48.58884, 2.6000004, 8.657856, 16) text="is" color=#000000 font_size=16
Text rect=(1, 21.800001, 36.099854, 16) text="longer" color=#000000 font_size=16
Text rect=(40.154186, 21.800001, 25.350954, 16) text="than" color=#000000 font_size=16
Text rect=(1, 41, 18.126286, 16) text="the" color=#000000 font_size=16
Text rect=(22.180618, 41, 20.546255, 16) text="box" color=#000000 font_size=16
PopClip