Three bugs caused Google's homepage to render incorrectly (elements at 0,0 or pushed off-screen): 1. <nobr> defaulted to display:block instead of inline, inflating float shrink-to-fit widths to the full viewport. 2. normalize_children ran before split_block_in_inline, wrapping inline elements in anonymous blocks before the splitter could find them. 3. Float avoidance applied to non-BFC blocks instead of BFC blocks (condition was inverted per CSS 2.1 §9.5). Also implements CSS 2.1 Appendix E paint order: floats now paint after normal flow block backgrounds via multi-phase rendering in the display list builder. Positioned elements act as mini stacking contexts and don't propagate skip_floats to their children. Net result: +10 WPT tests passing (11 promoted, 1 minor regression). 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
|
|
Text rect=(8, 24, 31.165932, 16) text="Some" color=#000000 font_size=16
|
|
Text rect=(42.220264, 24, 21.321585, 16) text="text" color=#000000 font_size=16
|
|
Text rect=(66.596176, 24, 24.340675, 16) text="next" color=#000000 font_size=16
|
|
Text rect=(93.99118, 24, 11.348018, 16) text="to" color=#000000 font_size=16
|
|
Text rect=(108.393524, 24, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(129.57414, 24, 25.010277, 16) text="float" color=#000000 font_size=16
|
|
SolidRect rect=(8, 68, 784, 39.199997) color=#00ff00
|
|
Text rect=(18, 78, 22.449337, 16) text="This" color=#000000 font_size=16
|
|
Text rect=(43.50367, 78, 32.36417, 16) text="clears" color=#000000 font_size=16
|
|
Text rect=(78.92217, 78, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(100.10279, 78, 26.60793, 16) text="right" color=#000000 font_size=16
|
|
Text rect=(129.76506, 78, 25.010277, 16) text="float" color=#000000 font_size=16
|
|
Text rect=(157.82967, 78, 21.07489, 16) text="and" color=#000000 font_size=16
|
|
Text rect=(181.9589, 78, 44.73421, 16) text="appears" color=#000000 font_size=16
|
|
Text rect=(229.74744, 78, 33.221733, 16) text="below" color=#000000 font_size=16
|
|
Text rect=(266.0235, 78, 7.2716594, 16) text="it" color=#000000 font_size=16
|
|
SolidRect rect=(642, 8, 150, 60) color=#0000ff
|