From 785e75c60b751f8d6f6cabf3f6d5c27bafa5755a Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sat, 27 Dec 2025 17:50:35 +0200 Subject: [PATCH 1/2] Migrate HTMLTableElement and HTMLTableSectionElement to KDL format --- inputfiles/overridingTypes.jsonc | 24 ------------------------ inputfiles/patches/html.kdl | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 24 deletions(-) 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..898dc7f72 100644 --- a/inputfiles/patches/html.kdl +++ b/inputfiles/patches/html.kdl @@ -14,6 +14,29 @@ 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 { From a2f6dda07716ce9a981fb931efb8d2637205d400 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sat, 27 Dec 2025 17:51:12 +0200 Subject: [PATCH 2/2] - --- inputfiles/patches/html.kdl | 1 - 1 file changed, 1 deletion(-) diff --git a/inputfiles/patches/html.kdl b/inputfiles/patches/html.kdl index 898dc7f72..edb9f0ed5 100644 --- a/inputfiles/patches/html.kdl +++ b/inputfiles/patches/html.kdl @@ -36,7 +36,6 @@ interface HTMLTableSectionElement { } } - interface-mixin MessageEventTarget overrideThis=T typeParameters=T interface-mixin WindowEventHandlers {