mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Add scope
attribute to HTMLTableCellElement
This commit is contained in:
parent
9f9ec45a31
commit
d1bea9c2a4
Notes:
github-actions[bot]
2024-09-02 11:11:18 +00:00
Author: https://github.com/khaledev
Commit: d1bea9c2a4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1242
1 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,13 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope
|
||||
enum ScopeAttribute {
|
||||
"row",
|
||||
"col",
|
||||
"rowgroup",
|
||||
"colgroup"
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltablecellelement
|
||||
[Exposed=Window]
|
||||
interface HTMLTableCellElement : HTMLElement {
|
||||
|
@ -11,7 +19,7 @@ interface HTMLTableCellElement : HTMLElement {
|
|||
[CEReactions, Reflect] attribute DOMString headers;
|
||||
readonly attribute long cellIndex;
|
||||
|
||||
[FIXME, CEReactions] attribute DOMString scope; // only conforming for th elements
|
||||
[CEReactions, Enumerated=ScopeAttribute, Reflect] attribute DOMString scope; // only conforming for th elements
|
||||
[CEReactions, Reflect] attribute DOMString abbr; // only conforming for th elements
|
||||
|
||||
// Obsolete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue