diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 1c68f394c..af2258aa5 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -1166,30 +1166,6 @@ } } }, - "HTMLTableElement": { - "properties": { - "property": { - "rows": { - "name": "rows", - "overrideType": "HTMLCollectionOf" - }, - "tBodies": { - "name": "tBodies", - "overrideType": "HTMLCollectionOf" - } - } - } - }, - "HTMLTableSectionElement": { - "properties": { - "property": { - "rows": { - "name": "rows", - "overrideType": "HTMLCollectionOf" - } - } - } - }, "Element": { "methods": { "method": { diff --git a/inputfiles/patches/html.kdl b/inputfiles/patches/html.kdl index f3716f4ee..edb9f0ed5 100644 --- a/inputfiles/patches/html.kdl +++ b/inputfiles/patches/html.kdl @@ -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 {