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

LibWeb: Remove redundant BFC::is_block_formatting_context() method

This is marked as virtual, but the super-method isn't, and also, the
super-method already returns the correct value, so this isn't needed.
This commit is contained in:
Sam Atkins 2023-01-06 15:56:25 +00:00 committed by Sam Atkins
parent 25dd0a4d2d
commit 33f42e3490

View file

@ -53,8 +53,6 @@ public:
virtual void determine_height_of_child(Box const&, AvailableSpace const&) override; virtual void determine_height_of_child(Box const&, AvailableSpace const&) override;
private: private:
virtual bool is_block_formatting_context() const final { return true; }
CSSPixels compute_auto_height_for_block_level_element(Box const&, AvailableSpace const&); CSSPixels compute_auto_height_for_block_level_element(Box const&, AvailableSpace const&);
void compute_width_for_floating_box(Box const&, AvailableSpace const&); void compute_width_for_floating_box(Box const&, AvailableSpace const&);