mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibWeb: Add fast way to check if a DOM node is an SVG element
This commit is contained in:
parent
8177ecb17f
commit
dd19f61538
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/awesomekling
Commit: dd19f61538
Pull-request: https://github.com/SerenityOS/serenity/pull/19006
2 changed files with 11 additions and 0 deletions
|
@ -73,6 +73,7 @@ public:
|
|||
|
||||
virtual bool requires_svg_container() const { return false; }
|
||||
virtual bool is_svg_container() const { return false; }
|
||||
virtual bool is_svg_element() const { return false; }
|
||||
virtual bool is_svg_svg_element() const { return false; }
|
||||
|
||||
bool in_a_document_tree() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue