mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Add fast_is<T> for form, embed, image, and object elements
These are used by Window::supported_property_names(), which can get very hot.
This commit is contained in:
parent
70779e43ed
commit
75d5429d66
5 changed files with 31 additions and 0 deletions
|
@ -103,6 +103,10 @@ public:
|
|||
virtual bool is_html_br_element() const { return false; }
|
||||
virtual bool is_html_button_element() const { return false; }
|
||||
virtual bool is_html_slot_element() const { return false; }
|
||||
virtual bool is_html_embed_element() const { return false; }
|
||||
virtual bool is_html_object_element() const { return false; }
|
||||
virtual bool is_html_form_element() const { return false; }
|
||||
virtual bool is_html_image_element() const { return false; }
|
||||
virtual bool is_navigable_container() const { return false; }
|
||||
virtual bool is_lazy_loading() const { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue