mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
LibWeb: Implement "out-of-flow" property of Layout Box
In some situations, a layout box should not participate in the standard layout process, for example when set to `position: absolute`.
This commit is contained in:
parent
e80396e044
commit
2844f89a83
4 changed files with 30 additions and 0 deletions
|
@ -15,6 +15,8 @@ public:
|
|||
FlexFormattingContext(Box& containing_block, FormattingContext* parent);
|
||||
~FlexFormattingContext();
|
||||
|
||||
virtual bool inhibits_floating() const override { return true; }
|
||||
|
||||
virtual void run(Box&, LayoutMode) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue