Files
rust_browser/tests/goldens/expected/086-table-backgrounds.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
1013 B
Plaintext

DisplayList items=12
Border rect=(8, 8, 96.916306, 70.4) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
SolidRect rect=(11, 11, 36.55213, 31.2) color=#ff0000
Border rect=(11, 11, 36.55213, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
SolidRect rect=(49.55213, 11, 52.36417, 31.2) color=#008000
Border rect=(49.55213, 11, 52.36417, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
SolidRect rect=(11, 44.2, 36.55213, 31.2) color=#0000ff
Border rect=(11, 44.2, 36.55213, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
Border rect=(49.55213, 44.2, 52.36417, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
Text rect=(17, 17, 21.157122, 16) text="Red" color=#000000 font_size=16
Text rect=(55.55213, 17, 33.91483, 16) text="Green" color=#000000 font_size=16
Text rect=(17, 50.2, 24.55213, 16) text="Blue" color=#000000 font_size=16
Text rect=(55.55213, 50.2, 40.36417, 16) text="Default" color=#000000 font_size=16