Files
rust_browser/tests/goldens/expected/141-heading-font-weight.layout.txt
Zachary D. Rowitsch cdd6830881 Implement CSS adjacent sibling margin collapsing
Adjacent vertical margins between block siblings now collapse per CSS 2.1
section 8.3.1, fixing double-spacing between paragraphs and headings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 00:56:13 -05:00

95 lines
3.5 KiB
Plaintext

LayoutBox node=#1 tag=html box=block
content: (0, 0, 800, 309.87683)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#2 tag=body box=block
content: (8, 8, 784, 293.87683)
padding: 0 0 0 0
border: 0 0 0 0
margin: 8 8 8 8
LayoutBox node=#4 tag=h1 box=block
content: (8, 29.44, 784, 38.4)
padding: 0 0 0 0
border: 0 0 0 0
margin: 21.44 0 21.44 0
inline_context: 1 lines, height=38.4, max_width=31.412628
line[0]: rect=(8, 29.44, 31.412628, 38.4) fragments=1
frag[0]: rect=(8, 29.44, 31.412628, 32) text="H1" start=false end=false
LayoutBox node=#5 tag=anonymous box=anon
content: (0, 0, 31.412628, 32)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "H1"
LayoutBox node=#7 tag=h2 box=block
content: (8, 89.28, 784, 28.800003)
padding: 0 0 0 0
border: 0 0 0 0
margin: 19.92 0 19.92 0
inline_context: 1 lines, height=28.800003, max_width=23.559471
line[0]: rect=(8, 89.28, 23.559471, 28.800001) fragments=1
frag[0]: rect=(8, 89.28, 23.559471, 24) text="H2" start=false end=false
LayoutBox node=#8 tag=anonymous box=anon
content: (0, 0, 23.559471, 24)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "H2"
LayoutBox node=#10 tag=h3 box=block
content: (8, 138, 784, 22.464005)
padding: 0 0 0 0
border: 0 0 0 0
margin: 18.72 0 18.72 0
inline_context: 1 lines, height=22.464005, max_width=18.376387
line[0]: rect=(8, 138, 18.376387, 22.464) fragments=1
frag[0]: rect=(8, 138, 18.376387, 18.72) text="H3" start=false end=false
LayoutBox node=#11 tag=anonymous box=anon
content: (0, 0, 18.376387, 18.72)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "H3"
LayoutBox node=#13 tag=h4 box=block
content: (8, 181.744, 784, 19.199997)
padding: 0 0 0 0
border: 0 0 0 0
margin: 21.28 0 21.28 0
inline_context: 1 lines, height=19.199997, max_width=15.706314
line[0]: rect=(8, 181.744, 15.706314, 19.2) fragments=1
frag[0]: rect=(8, 181.744, 15.706314, 16) text="H4" start=false end=false
LayoutBox node=#14 tag=anonymous box=anon
content: (0, 0, 15.706314, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "H4"
LayoutBox node=#16 tag=h5 box=block
content: (8, 223.1216, 784, 15.936005)
padding: 0 0 0 0
border: 0 0 0 0
margin: 22.177599 0 22.177599 0
inline_context: 1 lines, height=15.936005, max_width=13.03624
line[0]: rect=(8, 223.1216, 13.03624, 15.936) fragments=1
frag[0]: rect=(8, 223.1216, 13.036241, 13.28) text="H5" start=false end=false
LayoutBox node=#17 tag=anonymous box=anon
content: (0, 0, 13.036241, 13.28)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "H5"
LayoutBox node=#19 tag=h6 box=block
content: (8, 264.03522, 784, 12.864014)
padding: 0 0 0 0
border: 0 0 0 0
margin: 24.9776 0 24.9776 0
inline_context: 1 lines, height=12.864014, max_width=10.5232315
line[0]: rect=(8, 264.03522, 10.5232315, 12.864001) fragments=1
frag[0]: rect=(8, 264.03522, 10.523231, 10.72) text="H6" start=false end=false
LayoutBox node=#20 tag=anonymous box=anon
content: (0, 0, 10.523231, 10.72)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "H6"