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>
17 lines
1.3 KiB
Plaintext
17 lines
1.3 KiB
Plaintext
DisplayList items=15
|
|
Border rect=(8, 8, 200, 75.600006) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(11, 11, 150.09103, 69.600006) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(163.09103, 11, 41.90896, 69.600006) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(17, 17, 22.449337, 16) text="This" color=#000000 font_size=16
|
|
Text rect=(42.50367, 17, 8.657856, 16) text="is" color=#000000 font_size=16
|
|
Text rect=(54.21586, 17, 6.590308, 16) text="a" color=#000000 font_size=16
|
|
Text rect=(63.8605, 17, 24.622616, 16) text="long" color=#000000 font_size=16
|
|
Text rect=(91.537445, 17, 21.321585, 16) text="text" color=#000000 font_size=16
|
|
Text rect=(115.91336, 17, 22.331863, 16) text="that" color=#000000 font_size=16
|
|
Text rect=(17, 36.2, 37.509544, 16) text="should" color=#000000 font_size=16
|
|
Text rect=(57.563877, 36.2, 27.900146, 16) text="wrap" color=#000000 font_size=16
|
|
Text rect=(88.51835, 36.2, 32.798824, 16) text="inside" color=#000000 font_size=16
|
|
Text rect=(124.3715, 36.2, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(17, 55.4, 18.32599, 16) text="cell" color=#000000 font_size=16
|
|
Text rect=(169.09103, 17, 29.908957, 16) text="Short" color=#000000 font_size=16
|