Files
rust_browser/tests/goldens/expected/202-table-layout-fixed-col.layout.txt
Zachary D. Rowitsch 17e93d867b
All checks were successful
ci / fast (linux) (push) Successful in 7m14s
Implement table-layout: fixed CSS property (CSS 2.1 §17.5.2.1)
Column widths are determined by <col> elements and first-row cells only,
ignoring content in subsequent rows for faster, more predictable layout.
Falls back to auto layout when table has no explicit width.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 06:44:39 -05:00

63 lines
2.2 KiB
Plaintext

LayoutBox node=#2 tag=html box=block
content: (0, 0, 800, 33.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#10 tag=body box=block
content: (0, 0, 800, 33.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#12 tag=table box=table
content: (1, 1, 398, 31.2)
padding: 0 0 0 0
border: 1 1 1 1
margin: 0 0 0 0
LayoutBox node=#20 tag=tr box=table-row
content: (1, 1, 398, 31.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#22 tag=td box=table-cell
content: (7, 7, 138, 19.2)
padding: 5 5 5 5
border: 1 1 1 1
margin: 0 0 0 0
inline_context: 1 lines, height=19.2, max_width=7.506608
line[0]: rect=(7, 7, 7.506608, 19.2) fragments=1
frag[0]: rect=(7, 7, 7.506608, 16) text="A" start=false end=false
LayoutBox node=#23 tag=anonymous box=anon
content: (0, 7, 7.506608, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "A"
LayoutBox node=#25 tag=td box=table-cell
content: (157, 7, 88, 19.2)
padding: 5 5 5 5
border: 1 1 1 1
margin: 0 0 0 0
inline_context: 1 lines, height=19.2, max_width=7.6358337
line[0]: rect=(157, 7, 7.6358337, 19.2) fragments=1
frag[0]: rect=(157, 7, 7.6358294, 16) text="B" start=false end=false
LayoutBox node=#26 tag=anonymous box=anon
content: (0, 7, 7.6358294, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "B"
LayoutBox node=#28 tag=td box=table-cell
content: (257, 7, 136, 19.2)
padding: 5 5 5 5
border: 1 1 1 1
margin: 0 0 0 0
inline_context: 1 lines, height=19.2, max_width=7.4243774
line[0]: rect=(257, 7, 7.4243774, 19.2) fragments=1
frag[0]: rect=(257, 7, 7.424376, 16) text="C" start=false end=false
LayoutBox node=#29 tag=anonymous box=anon
content: (0, 7, 7.424376, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "C"