mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibWeb: Set width in compute_width_for_table_wrapper()
Width of table wrapper need to be set to to calculate width of table box inside. Otherwise TFC will set wrong width assuming width of containing block is 0.
This commit is contained in:
parent
88e060907b
commit
3a605d8c19
3 changed files with 42 additions and 0 deletions
10
Tests/LibWeb/Layout/input/table/inline-table-width.html
Normal file
10
Tests/LibWeb/Layout/input/table/inline-table-width.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<style type="text/css">
|
||||
* {
|
||||
font-family: 'SerenitySans';
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid #333;
|
||||
display: inline-block;
|
||||
}
|
||||
</style><table><tr><td>ID</td><td>null</td></tr><tr><td>Is Selected</td><td>false</td></tr></table>
|
Loading…
Add table
Add a link
Reference in a new issue