mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +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
|
@ -97,6 +97,8 @@ public:
|
|||
float absolute_y() const { return absolute_rect().y(); }
|
||||
Gfx::FloatPoint absolute_position() const { return absolute_rect().location(); }
|
||||
|
||||
bool is_out_of_flow(FormattingContext const&) const;
|
||||
|
||||
virtual HitTestResult hit_test(const Gfx::IntPoint&, HitTestType) const override;
|
||||
virtual void set_needs_display() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue