mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibWeb: Fix division by zero in table columns width distribution
If total max columns width (grid_max) is zero then available width should be divided equally between columns. Previously there was division by zero: `column.max_width / grid_max`.
This commit is contained in:
parent
77a5f40736
commit
9fd51a59ff
3 changed files with 33 additions and 2 deletions
|
@ -0,0 +1,7 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x16 children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 200x0 children: not-inline
|
||||
TableBox <div.table> at (8,8) content-size 200x0 children: not-inline
|
||||
TableRowBox <div.row> at (8,8) content-size 200x0 children: not-inline
|
||||
TableCellBox <div.cell> at (8,8) content-size 200x0 children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue