mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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:
parent
a58704296c
commit
fa5800ebc5
Notes:
github-actions[bot]
2024-08-06 23:54:34 +00:00
Author: https://github.com/jamierocks
Commit: fa5800ebc5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/996
Reviewed-by: https://github.com/tcl3 ✅
5 changed files with 50 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue