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>
34 lines
2.7 KiB
Plaintext
34 lines
2.7 KiB
Plaintext
DisplayList items=32
|
|
Text rect=(8, 24, 27.535978, 16) text="Main" color=#000000 font_size=16
|
|
Text rect=(38.590313, 24, 42.372982, 16) text="content" color=#000000 font_size=16
|
|
Text rect=(84.017624, 24, 22.331863, 16) text="that" color=#000000 font_size=16
|
|
Text rect=(109.40382, 24, 29.039646, 16) text="flows" color=#000000 font_size=16
|
|
Text rect=(141.4978, 24, 40.293686, 16) text="around" color=#000000 font_size=16
|
|
Text rect=(184.84583, 24, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(206.02644, 24, 38.860497, 16) text="floated" color=#000000 font_size=16
|
|
Text rect=(247.94127, 24, 29.098385, 16) text="aside" color=#000000 font_size=16
|
|
Text rect=(280.09396, 24, 45.392067, 16) text="element" color=#000000 font_size=16
|
|
Text rect=(328.54034, 24, 14.367107, 16) text="on" color=#000000 font_size=16
|
|
Text rect=(345.96176, 24, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(367.14236, 24, 17.938326, 16) text="left" color=#000000 font_size=16
|
|
Text rect=(388.135, 24, 25.656387, 16) text="side." color=#000000 font_size=16
|
|
Text rect=(8, 59.2, 40.305435, 16) text="Second" color=#000000 font_size=16
|
|
Text rect=(51.359768, 59.2, 58.408222, 16) text="paragraph" color=#000000 font_size=16
|
|
Text rect=(112.82232, 59.2, 11.148312, 16) text="of" color=#000000 font_size=16
|
|
Text rect=(127.024956, 59.2, 27.864904, 16) text="main" color=#000000 font_size=16
|
|
Text rect=(157.9442, 59.2, 42.372982, 16) text="content" color=#000000 font_size=16
|
|
Text rect=(203.37152, 59.2, 54.049923, 16) text="continues" color=#000000 font_size=16
|
|
Text rect=(260.47577, 59.2, 40.928047, 16) text="flowing" color=#000000 font_size=16
|
|
Text rect=(304.45813, 59.2, 40.293686, 16) text="around" color=#000000 font_size=16
|
|
Text rect=(347.80615, 59.2, 18.126286, 16) text="the" color=#000000 font_size=16
|
|
Text rect=(368.98676, 59.2, 28.158588, 16) text="float." color=#000000 font_size=16
|
|
SolidRect rect=(524.8, 8, 267.2, 98.96001) color=#cccccc
|
|
Border rect=(524.8, 8, 267.2, 98.96001) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Text rect=(540.8, 30.28, 23.823788, 16) text="This" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(567.6781, 30.28, 9.409692, 16) text="is" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(580.14215, 30.28, 14.672541, 16) text="an" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(597.869, 30.28, 30.883995, 16) text="aside" color=#000000 font_size=16 font_weight=700
|
|
Text rect=(540.8, 70.76, 30.014685, 16) text="Aside" color=#000000 font_size=16
|
|
Text rect=(573.869, 70.76, 42.372982, 16) text="content" color=#000000 font_size=16
|
|
Text rect=(619.2963, 70.76, 28.511015, 16) text="here." color=#000000 font_size=16
|