LibWeb: Implement HTMLTableCellElement.cellIndex

See:
 - http://wpt.live/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html
This commit is contained in:
Jamie Mansfield 2024-08-06 21:55:36 +01:00 committed by Tim Ledbetter
commit fa5800ebc5
Notes: github-actions[bot] 2024-08-06 23:54:34 +00:00
5 changed files with 50 additions and 1 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include <LibWeb/HTML/HTMLElement.h>
#include <LibWeb/WebIDL/Types.h>
namespace Web::HTML {
@ -23,6 +24,8 @@ public:
WebIDL::ExceptionOr<void> set_col_span(unsigned);
WebIDL::ExceptionOr<void> set_row_span(unsigned);
WebIDL::Long cell_index() const;
virtual Optional<ARIA::Role> default_role() const override;
private: