1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

LibWeb: Move Layout::Box::is_out_of_flow() to Layout::Node

I want to use this function in inline layout, where we're not just
dealing with boxes.
This commit is contained in:
Andreas Kling 2022-03-22 18:34:02 +01:00
parent 150e6a59c0
commit 74927fd218
4 changed files with 18 additions and 25 deletions

View file

@ -21,8 +21,6 @@ class Box : public NodeWithStyleAndBoxModelMetrics {
public:
Painting::PaintableBox const* paint_box() const;
bool is_out_of_flow(FormattingContext const&) const;
virtual void set_needs_display() override;
bool is_body() const;