Skip to content

Commit 7c51c3d

Browse files
Bashamegasaschanaz
andauthored
Migrate HTMLTableElement and HTMLTableSectionElement to KDL format (#2332)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent ead5404 commit 7c51c3d

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

inputfiles/overridingTypes.jsonc

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,30 +1166,6 @@
11661166
}
11671167
}
11681168
},
1169-
"HTMLTableElement": {
1170-
"properties": {
1171-
"property": {
1172-
"rows": {
1173-
"name": "rows",
1174-
"overrideType": "HTMLCollectionOf<HTMLTableRowElement>"
1175-
},
1176-
"tBodies": {
1177-
"name": "tBodies",
1178-
"overrideType": "HTMLCollectionOf<HTMLTableSectionElement>"
1179-
}
1180-
}
1181-
}
1182-
},
1183-
"HTMLTableSectionElement": {
1184-
"properties": {
1185-
"property": {
1186-
"rows": {
1187-
"name": "rows",
1188-
"overrideType": "HTMLCollectionOf<HTMLTableRowElement>"
1189-
}
1190-
}
1191-
}
1192-
},
11931169
"Element": {
11941170
"methods": {
11951171
"method": {

inputfiles/patches/html.kdl

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,28 @@ interface HTMLIFrameElement {
1414
property loading overrideType=#""eager" | "lazy""#
1515
}
1616

17+
interface HTMLTableElement {
18+
property rows {
19+
type HTMLCollectionOf {
20+
type HTMLTableRowElement
21+
}
22+
}
23+
24+
property tBodies {
25+
type HTMLCollectionOf {
26+
type HTMLTableSectionElement
27+
}
28+
}
29+
}
30+
31+
interface HTMLTableSectionElement {
32+
property rows {
33+
type HTMLCollectionOf {
34+
type HTMLTableRowElement
35+
}
36+
}
37+
}
38+
1739
interface-mixin MessageEventTarget overrideThis=T typeParameters=T
1840

1941
interface-mixin WindowEventHandlers {

0 commit comments

Comments
 (0)