mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Add fast_is<HTMLTemplateElement>()
This was showing up as hot in profiles, as the HTML parser calls it quite a lot.
This commit is contained in:
parent
cb895edad4
commit
58b84f953c
Notes:
sideshowbarker
2024-07-18 03:54:13 +09:00
Author: https://github.com/awesomekling
Commit: 58b84f953c
2 changed files with 9 additions and 0 deletions
|
@ -77,6 +77,8 @@ public:
|
|||
|
||||
virtual bool is_editable() const;
|
||||
|
||||
virtual bool is_html_template_element() const { return false; }
|
||||
|
||||
ExceptionOr<NonnullRefPtr<Node>> pre_insert(NonnullRefPtr<Node>, RefPtr<Node>);
|
||||
ExceptionOr<NonnullRefPtr<Node>> pre_remove(NonnullRefPtr<Node>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue