mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09: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:
parent
2f491e7769
commit
b1e75437c9
Notes:
sideshowbarker
2024-07-19 01:16:00 +09:00
Author: https://github.com/awesomekling
Commit: b1e75437c9
9 changed files with 25 additions and 19 deletions
|
@ -33,7 +33,7 @@ namespace Web::Layout {
|
|||
|
||||
class InlineFormattingContext final : public FormattingContext {
|
||||
public:
|
||||
InlineFormattingContext(Box& containing_block);
|
||||
InlineFormattingContext(Box& containing_block, FormattingContext* parent);
|
||||
~InlineFormattingContext();
|
||||
|
||||
virtual void run(LayoutMode) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue