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

LibWeb: Implement HTMLOrSVGElement.tabIndex

This commit is contained in:
Luke Wilde 2022-11-05 03:58:14 +00:00 committed by Andreas Kling
parent 6c21c72492
commit 1473bc9169
22 changed files with 119 additions and 0 deletions

View file

@ -154,6 +154,9 @@ public:
void clear_pseudo_element_nodes(Badge<Layout::TreeBuilder>);
void serialize_pseudo_elements_as_json(JsonArraySerializer<StringBuilder>& children_array) const;
i32 tab_index() const;
void set_tab_index(i32 tab_index);
bool is_actually_disabled() const;
WebIDL::ExceptionOr<JS::GCPtr<Element>> insert_adjacent_element(String const& where, JS::NonnullGCPtr<Element> element);
@ -167,6 +170,7 @@ protected:
virtual void initialize(JS::Realm&) override;
virtual void children_changed() override;
virtual i32 default_tab_index_value() const;
virtual void visit_edges(Cell::Visitor&) override;