mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37: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
|
@ -21,6 +21,7 @@ public:
|
|||
const FormattingContext* parent() const { return m_parent; }
|
||||
|
||||
virtual bool is_block_formatting_context() const { return false; }
|
||||
virtual bool inhibits_floating() const { return false; }
|
||||
|
||||
static bool creates_block_formatting_context(const Box&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue