mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 05:22:24 +00:00
LibWeb: Override width calculation for table wrappers
Introduce `TableWrapper` type so table wrappers could be distinguished from block containers and override width calculation for table wrappers (CSS 2.2 spec, section 17.5.2) inside BFCs in the way that their width should be equal to width of table box they wrap.
This commit is contained in:
parent
7526f9a8b7
commit
709fe01f52
Notes:
sideshowbarker
2024-07-17 16:23:55 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 709fe01f52
Pull-request: https://github.com/SerenityOS/serenity/pull/17011
8 changed files with 74 additions and 1 deletions
|
@ -59,6 +59,8 @@ private:
|
|||
|
||||
void compute_width_for_block_level_replaced_element_in_normal_flow(ReplacedBox const&, AvailableSpace const&);
|
||||
|
||||
CSSPixels compute_width_for_table_wrapper(Box const&, AvailableSpace const&);
|
||||
|
||||
void layout_initial_containing_block(LayoutMode, AvailableSpace const&);
|
||||
|
||||
void layout_block_level_children(BlockContainer const&, LayoutMode, AvailableSpace const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue