Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1166,30 +1166,6 @@
}
}
},
"HTMLTableElement": {
"properties": {
"property": {
"rows": {
"name": "rows",
"overrideType": "HTMLCollectionOf<HTMLTableRowElement>"
},
"tBodies": {
"name": "tBodies",
"overrideType": "HTMLCollectionOf<HTMLTableSectionElement>"
}
}
}
},
"HTMLTableSectionElement": {
"properties": {
"property": {
"rows": {
"name": "rows",
"overrideType": "HTMLCollectionOf<HTMLTableRowElement>"
}
}
}
},
"Element": {
"methods": {
"method": {
Expand Down
22 changes: 22 additions & 0 deletions inputfiles/patches/html.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@ interface HTMLIFrameElement {
property loading overrideType=#""eager" | "lazy""#
}

interface HTMLTableElement {
property rows {
type HTMLCollectionOf {
type HTMLTableRowElement
}
}

property tBodies {
type HTMLCollectionOf {
type HTMLTableSectionElement
}
}
}

interface HTMLTableSectionElement {
property rows {
type HTMLCollectionOf {
type HTMLTableRowElement
}
}
}

interface-mixin MessageEventTarget overrideThis=T typeParameters=T

interface-mixin WindowEventHandlers {
Expand Down