mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:07:34 +00:00
LibWeb: Remove Layout::TableBox
Solves conflict in layout tree "type system" when elements <label> (or <button>) can't have `display: table` because Box can't be Layout::Label (or Layout::ButtonBox) and Layout::TableBox at the same time.
This commit is contained in:
parent
269310268d
commit
258f3ea952
34 changed files with 55 additions and 118 deletions
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 0x0 [BFC] children: not-inline
|
||||
TableBox <table> at (8,8) content-size 0x0 [TFC] children: not-inline
|
||||
Box <table> at (8,8) content-size 0x0 [TFC] children: not-inline
|
||||
TableRowGroupBox <tbody> at (8,8) content-size 0x0 children: not-inline
|
||||
TableRowBox <tr> at (8,8) content-size 0x0 children: not-inline
|
||||
TableCellBox <(anonymous)> at (8,8) content-size 0x0 [BFC] children: not-inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (1,1) content-size 798x120 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 780x102 children: not-inline
|
||||
TableWrapper <(anonymous)> at (10,10) content-size 102x102 [BFC] children: not-inline
|
||||
TableBox <table> at (11,11) content-size 100x100 [TFC] children: not-inline
|
||||
Box <table> at (11,11) content-size 100x100 [TFC] children: not-inline
|
||||
TableRowGroupBox <tbody> at (11,11) content-size 100x100 children: not-inline
|
||||
TableRowBox <tr> at (11,11) content-size 100x100 children: not-inline
|
||||
TableCellBox <td> at (13,49.082031) content-size 96x23.835937 [BFC] children: not-inline
|
||||
|
|
|
@ -6,7 +6,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 784x600 [BFC] children: not-inline
|
||||
TableBox <div.aligncenter.block-image> at (8,8) content-size 1200x600 [TFC] children: inline
|
||||
Box <div.aligncenter.block-image> at (8,8) content-size 1200x600 [TFC] children: inline
|
||||
TableRowBox <(anonymous)> at (8,8) content-size 1200x600 children: inline
|
||||
TableCellBox <(anonymous)> at (8,8) content-size 1200x600 [BFC] children: inline
|
||||
line 0 width: 1200, height: 600, bottom: 600, baseline: 600
|
||||
|
|
|
@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <body> at (10,10) content-size 780x42.9375 children: not-inline
|
||||
BlockContainer <div> at (11,11) content-size 778x19.46875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (11,11) content-size 29.15625x19.46875 [BFC] children: not-inline
|
||||
TableBox <(anonymous)> at (11,11) content-size 29.15625x19.46875 [TFC] children: not-inline
|
||||
Box <(anonymous)> at (11,11) content-size 29.15625x19.46875 [TFC] children: not-inline
|
||||
TableRowBox <(anonymous)> at (11,11) content-size 29.15625x19.46875 children: not-inline
|
||||
TableCellBox <span> at (12,12) content-size 27.15625x17.46875 [BFC] children: inline
|
||||
line 0 width: 27.15625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
@ -12,7 +12,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <div> at (11,32.46875) content-size 778x19.46875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (11,32.46875) content-size 29.640625x19.46875 [BFC] children: not-inline
|
||||
TableBox <(anonymous)> at (11,32.46875) content-size 29.640625x19.46875 [TFC] children: not-inline
|
||||
Box <(anonymous)> at (11,32.46875) content-size 29.640625x19.46875 [TFC] children: not-inline
|
||||
TableRowBox <(anonymous)> at (11,32.46875) content-size 29.640625x19.46875 children: not-inline
|
||||
TableCellBox <span> at (12,33.46875) content-size 27.640625x17.46875 [BFC] children: inline
|
||||
line 0 width: 27.640625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
|
|
@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <body> at (8,8) content-size 784x17.46875 children: not-inline
|
||||
BlockContainer <div.wrapper> at (8,8) content-size 784x17.46875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (235.265625,8) content-size 329.46875x17.46875 [BFC] children: not-inline
|
||||
TableBox <div.box> at (235.265625,8) content-size 329.46875x17.46875 [TFC] children: not-inline
|
||||
Box <div.box> at (235.265625,8) content-size 329.46875x17.46875 [TFC] children: not-inline
|
||||
TableRowBox <(anonymous)> at (235.265625,8) content-size 329.46875x17.46875 children: not-inline
|
||||
TableCellBox <div.cell> at (235.265625,8) content-size 329.46875x17.46875 [BFC] children: inline
|
||||
line 0 width: 329.46875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
|
|
@ -2,12 +2,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x58.40625 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 0x0 [BFC] children: not-inline
|
||||
TableBox <table#empty-table> at (8,8) content-size 0x0 [TFC] children: not-inline
|
||||
Box <table#empty-table> at (8,8) content-size 0x0 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 95.171875x58.40625 [BFC] children: not-inline
|
||||
TableBox <table#full-table> at (8,8) content-size 95.171875x58.40625 [TFC] children: not-inline
|
||||
Box <table#full-table> at (8,8) content-size 95.171875x58.40625 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <caption> at (8,8) content-size 0x0 [BFC] children: inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x277.625 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 164.296875x66.40625 [BFC] children: not-inline
|
||||
TableBox <table.table-border-black> at (9,9) content-size 164.296875x64.40625 [TFC] children: not-inline
|
||||
Box <table.table-border-black> at (9,9) content-size 164.296875x64.40625 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowGroupBox <tbody> at (9,9) content-size 166.296875x64.40625 children: not-inline
|
||||
|
@ -67,7 +67,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,74.40625) content-size 164.296875x62.40625 [BFC] children: not-inline
|
||||
TableBox <table.table-border-black> at (8,74.40625) content-size 164.296875x62.40625 [TFC] children: not-inline
|
||||
Box <table.table-border-black> at (8,74.40625) content-size 164.296875x62.40625 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,74.40625) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowGroupBox <tbody> at (8,74.40625) content-size 164.296875x62.40625 children: not-inline
|
||||
|
@ -132,7 +132,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,136.8125) content-size 160.296875x56.40625 [BFC] children: not-inline
|
||||
TableBox <div.table.border-black> at (8,136.8125) content-size 160.296875x56.40625 [TFC] children: not-inline
|
||||
Box <div.table.border-black> at (8,136.8125) content-size 160.296875x56.40625 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,136.8125) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowBox <div.table-row.border-black> at (8,136.8125) content-size 160.296875x18.46875 children: not-inline
|
||||
|
@ -196,7 +196,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,193.21875) content-size 178.296875x92.40625 [BFC] children: not-inline
|
||||
TableBox <div.table.thick-border-black> at (8,193.21875) content-size 178.296875x92.40625 [TFC] children: not-inline
|
||||
Box <div.table.thick-border-black> at (8,193.21875) content-size 178.296875x92.40625 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,193.21875) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowBox <div.table-row.thick-border-black> at (8,193.21875) content-size 178.296875x27.46875 children: not-inline
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 102x100 [BFC] children: not-inline
|
||||
TableBox <body> at (8,8) content-size 102x100 [TFC] children: not-inline
|
||||
Box <body> at (8,8) content-size 102x100 [TFC] children: not-inline
|
||||
TableRowBox <div.row> at (8,8) content-size 102x100 children: not-inline
|
||||
TableCellBox <div.cell> at (9,9) content-size 100x0 [BFC] children: not-inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x92.21875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 782x92.21875 [BFC] children: not-inline
|
||||
TableBox <table.ambox> at (9,9) content-size 780x90.21875 [TFC] children: not-inline
|
||||
Box <table.ambox> at (9,9) content-size 780x90.21875 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowGroupBox <tbody> at (9,9) content-size 780x90.21875 children: not-inline
|
||||
|
|
|
@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <body> at (8,8) content-size 784x35.40625 children: not-inline
|
||||
BlockContainer <div.wrapper> at (8,8) content-size 784x35.40625 children: not-inline
|
||||
TableWrapper <(anonymous)> at (108,8) content-size 584x35.40625 [BFC] children: not-inline
|
||||
TableBox <div.box> at (108,8) content-size 584x35.40625 [TFC] children: not-inline
|
||||
Box <div.box> at (108,8) content-size 584x35.40625 [TFC] children: not-inline
|
||||
TableRowBox <(anonymous)> at (108,8) content-size 584x35.40625 children: not-inline
|
||||
TableCellBox <div.cell> at (108,8) content-size 584x35.40625 [BFC] children: inline
|
||||
line 0 width: 569.859375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
|
|
@ -3,7 +3,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <body> at (10,10) content-size 780x21.46875 flex-container(row) [FFC] children: not-inline
|
||||
BlockContainer <div.upper> at (11,11) content-size 41.78125x19.46875 flex-item [BFC] children: not-inline
|
||||
TableWrapper <(anonymous)> at (11,11) content-size 41.78125x19.46875 [BFC] children: not-inline
|
||||
TableBox <(anonymous)> at (11,11) content-size 41.78125x19.46875 [TFC] children: not-inline
|
||||
Box <(anonymous)> at (11,11) content-size 41.78125x19.46875 [TFC] children: not-inline
|
||||
TableRowBox <(anonymous)> at (11,11) content-size 41.78125x19.46875 children: not-inline
|
||||
TableCellBox <div.cell> at (12,12) content-size 39.78125x17.46875 [BFC] children: inline
|
||||
line 0 width: 39.78125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
|
|
@ -5,7 +5,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 129.984375x38.9375]
|
||||
BlockContainer <table> at (9,9) content-size 129.984375x38.9375 inline-block [BFC] children: not-inline
|
||||
TableWrapper <(anonymous)> at (9,9) content-size 129.984375x38.9375 inline-block [BFC] children: not-inline
|
||||
TableBox <(anonymous)> at (9,9) content-size 129.984375x38.9375 inline-table [TFC] children: not-inline
|
||||
Box <(anonymous)> at (9,9) content-size 129.984375x38.9375 inline-table [TFC] children: not-inline
|
||||
TableRowGroupBox <tbody> at (9,9) content-size 129.984375x38.9375 children: not-inline
|
||||
TableRowBox <tr> at (9,9) content-size 129.984375x19.46875 children: not-inline
|
||||
TableCellBox <td> at (10,10) content-size 87.90625x17.46875 [BFC] children: inline
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 102x100 [BFC] children: not-inline
|
||||
TableBox <body> at (8,8) content-size 102x100 [TFC] children: not-inline
|
||||
Box <body> at (8,8) content-size 102x100 [TFC] children: not-inline
|
||||
TableRowBox <div.row> at (8,8) content-size 102x100 children: not-inline
|
||||
TableCellBox <div.cell> at (9,9) content-size 100x0 [BFC] children: not-inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x150 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 200x150 [BFC] children: not-inline
|
||||
TableBox <div.table> at (8,8) content-size 200x150 [TFC] children: not-inline
|
||||
Box <div.table> at (8,8) content-size 200x150 [TFC] children: not-inline
|
||||
TableRowBox <div.row.a> at (8,8) content-size 200x50 children: not-inline
|
||||
TableCellBox <div.cell> at (8,8) content-size 200x0 [BFC] children: not-inline
|
||||
TableRowBox <div.row.b> at (8,58) content-size 200x100 children: not-inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
|
||||
TableBox <div.table> at (8,8) content-size 200x300 [TFC] children: not-inline
|
||||
Box <div.table> at (8,8) content-size 200x300 [TFC] children: not-inline
|
||||
TableRowBox <div.row.a> at (8,8) content-size 200x150 children: not-inline
|
||||
TableCellBox <div.cell> at (8,8) content-size 200x0 [BFC] children: not-inline
|
||||
TableRowBox <div.row.b> at (8,158) content-size 200x150 children: not-inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
|
||||
TableBox <div.table> at (8,8) content-size 200x300 [TFC] children: not-inline
|
||||
Box <div.table> at (8,8) content-size 200x300 [TFC] children: not-inline
|
||||
TableRowBox <div.row.a> at (8,8) content-size 200x150 children: not-inline
|
||||
TableCellBox <div.cell> at (8,8) content-size 200x17.46875 [BFC] children: inline
|
||||
line 0 width: 9.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
|
||||
TableBox <div.table> at (8,8) content-size 200x300 [TFC] children: not-inline
|
||||
Box <div.table> at (8,8) content-size 200x300 [TFC] children: not-inline
|
||||
TableRowBox <div.row.a> at (8,8) content-size 200x100 children: not-inline
|
||||
TableCellBox <div.cell> at (8,8) content-size 200x17.46875 [BFC] children: inline
|
||||
line 0 width: 9.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
|
|
|
@ -6,7 +6,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 221.359375x77.875 [BFC] children: not-inline
|
||||
TableBox <table> at (8,8) content-size 221.359375x77.875 [TFC] children: not-inline
|
||||
Box <table> at (8,8) content-size 221.359375x77.875 [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowGroupBox <tbody> at (8,8) content-size 221.359375x77.875 children: not-inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x17.46875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (350,8) content-size 100x17.46875 [BFC] children: not-inline
|
||||
TableBox <div> at (350,8) content-size 100x17.46875 [TFC] children: not-inline
|
||||
Box <div> at (350,8) content-size 100x17.46875 [TFC] children: not-inline
|
||||
TableRowBox <(anonymous)> at (350,8) content-size 2000x17.46875 children: not-inline
|
||||
TableCellBox <(anonymous)> at (350,8) content-size 2000x17.46875 [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (350,8) content-size 2000x0 children: inline
|
||||
|
|
|
@ -2,7 +2,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x210 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 584x210 [BFC] children: not-inline
|
||||
TableBox <table.table> at (108,108) content-size 584x10 [TFC] children: not-inline
|
||||
Box <table.table> at (108,108) content-size 584x10 [TFC] children: not-inline
|
||||
TableRowGroupBox <tbody> at (108,108) content-size 584x10 children: not-inline
|
||||
TableRowBox <tr> at (108,108) content-size 584x10 children: not-inline
|
||||
TableCellBox <td.cell> at (109,113) content-size 582x0 [BFC] children: not-inline
|
||||
|
|
|
@ -2,6 +2,6 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 200x0 [BFC] children: not-inline
|
||||
TableBox <div.table> at (8,8) content-size 200x0 [TFC] children: not-inline
|
||||
Box <div.table> at (8,8) content-size 200x0 [TFC] children: not-inline
|
||||
TableRowBox <div.row> at (8,8) content-size 200x0 children: not-inline
|
||||
TableCellBox <div.cell> at (8,8) content-size 200x0 [BFC] children: not-inline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue