mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
LibWeb: Keep track of the parent of each formatting context
This will allow us to find the containing block formatting context when needed later on.
This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
TableFormattingContext::TableFormattingContext(Box& context_box)
|
||||
: BlockFormattingContext(context_box)
|
||||
TableFormattingContext::TableFormattingContext(Box& context_box, FormattingContext* parent)
|
||||
: BlockFormattingContext(context_box, parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user