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>
19 lines
1.3 KiB
Plaintext
19 lines
1.3 KiB
Plaintext
DisplayList items=17
|
|
SolidRect rect=(8, 68, 784, 39.199997) color=#00ff00
|
|
SolidRect rect=(642, 8, 150, 60) color=#0000ff
|
|
Text rect=(8, 25.6, 31.165932, 16) text="Some" color=#000000 font_size=16
|
|
Text rect=(42.220264, 25.6, 21.321585, 16) text="text" color=#000000 font_size=16
|
|
Text rect=(66.596176, 25.6, 24.340675, 16) text="next" color=#000000 font_size=16
|
|
Text rect=(93.99118, 25.6, 11.348018, 16) text="to" color=#000000 font_size=16
|
|
Text rect=(108.393524, 25.6, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(129.57414, 25.6, 25.010277, 16) text="float" color=#000000 font_size=16
|
|
Text rect=(18, 79.6, 22.449337, 16) text="This" color=#000000 font_size=16
|
|
Text rect=(43.50367, 79.6, 32.36417, 16) text="clears" color=#000000 font_size=16
|
|
Text rect=(78.92217, 79.6, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(100.10279, 79.6, 26.60793, 16) text="right" color=#000000 font_size=16
|
|
Text rect=(129.76506, 79.6, 25.010277, 16) text="float" color=#000000 font_size=16
|
|
Text rect=(157.82967, 79.6, 21.07489, 16) text="and" color=#000000 font_size=16
|
|
Text rect=(181.9589, 79.6, 44.73421, 16) text="appears" color=#000000 font_size=16
|
|
Text rect=(229.74744, 79.6, 33.221733, 16) text="below" color=#000000 font_size=16
|
|
Text rect=(266.0235, 79.6, 7.2716594, 16) text="it" color=#000000 font_size=16
|