The CSS spec initial value for border-spacing is 0, not 2px. The 2px default for <table> elements belongs in the UA stylesheet (which already has it), not in Default::default(). This caused non-table elements with display:table (e.g. <ul>) to incorrectly get 2px spacing instead of 0. Promotes 69 WPT tests from known_fail to pass. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
101 lines
4.1 KiB
Plaintext
101 lines
4.1 KiB
Plaintext
LayoutBox node=#2 tag=html box=block
|
|
content: (0, 0, 800, 70)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#10 tag=body box=block
|
|
content: (8, 8, 784, 54)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 8 8 8 8
|
|
LayoutBox node=#16 tag=ul box=table
|
|
content: (9, 9, 400, 52)
|
|
padding: 0 0 0 0
|
|
border: 1 1 1 1
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#18 tag=(anonymous-table-row) box=table-row
|
|
content: (9, 9, 400, 52)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#18 tag=li box=table-cell
|
|
content: (15, 15, 88, 40)
|
|
padding: 5 5 5 5
|
|
border: 1 1 1 1
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=29.885468
|
|
line[0]: rect=(15, 15, 29.885468, 19.2) fragments=2
|
|
frag[0]: rect=(15, 16.6, 20.111603, 16) text="Cell" start=false end=false
|
|
frag[1]: rect=(38.165936, 16.6, 6.71953, 16) text="1" start=false end=false
|
|
LayoutBox node=#19 tag=anonymous box=anon
|
|
content: (0, 15, 29.885466, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Cell 1"
|
|
LayoutBox node=#21 tag=(anonymous-table-cell) box=table-cell
|
|
content: (109, 9, 102, 52)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#21 tag=li box=table
|
|
content: (110, 10, 100, 0)
|
|
padding: 0 0 0 0
|
|
border: 1 1 1 1
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#22 tag=(anonymous-table-row) box=table-row
|
|
content: (110, 10, 100, 19.2)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#22 tag=(anonymous-table-cell) box=table-cell
|
|
content: (110, 10, 100, 19.2)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=39.77681
|
|
line[0]: rect=(110, 10, 39.77681, 19.2) fragments=2
|
|
frag[0]: rect=(110, 11.6, 30.00294, 16) text="Table" start=false end=false
|
|
frag[1]: rect=(143.05728, 11.6, 6.71953, 16) text="2" start=false end=false
|
|
LayoutBox node=#22 tag=anonymous box=anon
|
|
content: (0, 10, 39.776802, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Table 2"
|
|
LayoutBox node=#24 tag=li box=table-cell
|
|
content: (217, 15, 88, 40)
|
|
padding: 5 5 5 5
|
|
border: 1 1 1 1
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=29.885468
|
|
line[0]: rect=(217, 15, 29.885468, 19.2) fragments=2
|
|
frag[0]: rect=(217, 16.6, 20.111603, 16) text="Cell" start=false end=false
|
|
frag[1]: rect=(240.16594, 16.6, 6.71953, 16) text="3" start=false end=false
|
|
LayoutBox node=#25 tag=anonymous box=anon
|
|
content: (0, 15, 29.885466, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Cell 3"
|
|
LayoutBox node=#27 tag=(anonymous-table-cell) box=table-cell
|
|
content: (311, 9, 102, 52)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
LayoutBox node=#27 tag=li box=block
|
|
content: (312, 10, 100, 40)
|
|
padding: 0 0 0 0
|
|
border: 1 1 1 1
|
|
margin: 0 0 0 0
|
|
inline_context: 1 lines, height=19.2, max_width=39.459625
|
|
line[0]: rect=(312, 10, 39.459625, 19.2) fragments=2
|
|
frag[0]: rect=(312, 11.6, 29.685757, 16) text="Block" start=false end=false
|
|
frag[1]: rect=(344.74008, 11.6, 6.71953, 16) text="4" start=false end=false
|
|
LayoutBox node=#28 tag=anonymous box=anon
|
|
content: (0, 9, 39.459618, 16)
|
|
padding: 0 0 0 0
|
|
border: 0 0 0 0
|
|
margin: 0 0 0 0
|
|
text: "Block 4"
|