Per CSS 2.1 §10.5, percentage values for margin and padding properties must resolve against the containing block's inline size (width), not font-size. This changes the style types to preserve percentage values through computation and adds deferred resolution during layout when the containing block dimensions are known. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
1012 B
Plaintext
13 lines
1012 B
Plaintext
DisplayList items=11
|
|
Border rect=(8, 8, 784, 55.2) widths=(1 1 1 1) colors=(#000000 #000000 #000000 #000000)
|
|
Border rect=(11, 11, 464.84665, 49.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Border rect=(17, 17, 452.84665, 37.2) widths=(1 1 1 1) colors=(#0000ff #0000ff #0000ff #0000ff)
|
|
Border rect=(20, 20, 222.19115, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(26, 26, 39.27166, 16) text="Nested" color=#000000 font_size=16
|
|
Text rect=(68.32599, 26, 7.506608, 16) text="A" color=#000000 font_size=16
|
|
Border rect=(244.19115, 20, 222.6555, 31.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(250.19115, 26, 39.27166, 16) text="Nested" color=#000000 font_size=16
|
|
Text rect=(292.51712, 26, 7.6358294, 16) text="B" color=#000000 font_size=16
|
|
Border rect=(477.84665, 11, 311.15335, 49.2) widths=(1 1 1 1) colors=(#808080 #808080 #808080 #808080)
|
|
Text rect=(483.84665, 17, 32.152718, 16) text="Outer" color=#000000 font_size=16
|