mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
LibWeb: Consider colgroups while calculating table grid size
We should take in account <col> elements in column groups while finding number of columns in a table.
This commit is contained in:
parent
6d31d81309
commit
2660bbb94f
4 changed files with 35 additions and 0 deletions
|
@ -65,6 +65,11 @@ public:
|
|||
return box.display().is_table_row();
|
||||
}
|
||||
|
||||
static bool is_table_column_group(Box const& box)
|
||||
{
|
||||
return box.display().is_table_column_group();
|
||||
}
|
||||
|
||||
template<typename Matcher, typename Callback>
|
||||
static void for_each_child_box_matching(Box const& parent, Matcher matcher, Callback callback)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue