mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibWeb: Support fast_is<T>() for table, table sections, rows and cells
3.2x speed-up on WebKit/PerformanceTests/DOM/GridSort.html
This commit is contained in:
parent
76580bb9ba
commit
354d2ccc3c
5 changed files with 32 additions and 0 deletions
|
@ -95,6 +95,10 @@ public:
|
|||
virtual bool is_html_progress_element() const { return false; }
|
||||
virtual bool is_html_script_element() const { return false; }
|
||||
virtual bool is_html_template_element() const { return false; }
|
||||
virtual bool is_html_table_element() const { return false; }
|
||||
virtual bool is_html_table_section_element() const { return false; }
|
||||
virtual bool is_html_table_row_element() const { return false; }
|
||||
virtual bool is_html_table_cell_element() const { return false; }
|
||||
virtual bool is_navigable_container() const { return false; }
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Node>> pre_insert(JS::NonnullGCPtr<Node>, JS::GCPtr<Node>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue