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

LibWeb: Add fast_is<T>() for SVGBox and SVGPathBox

This commit is contained in:
Andreas Kling 2021-10-18 16:26:05 +02:00
parent 04c0c103e0
commit 225a5f2fe6
3 changed files with 14 additions and 0 deletions

View file

@ -101,6 +101,8 @@ public:
virtual bool is_block_container() const { return false; }
virtual bool is_text_node() const { return false; }
virtual bool is_initial_containing_block_box() const { return false; }
virtual bool is_svg_box() const { return false; }
virtual bool is_svg_path_box() const { return false; }
template<typename T>
bool fast_is() const = delete;