From 81c5e592a74b30080f918c6e539235cd6590b450 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sat, 27 Sep 2025 19:47:47 +0200 Subject: [PATCH 1/2] Regroup patches into each spec It's not useful to have separate files for single line patchs. --- inputfiles/patches/child-parent-node.kdl | 3 --- inputfiles/patches/dom.kdl | 4 ++++ inputfiles/patches/html.kdl | 2 ++ inputfiles/patches/message.kdl | 1 - inputfiles/patches/service-worker.kdl | 2 ++ inputfiles/patches/type-rename.kdl | 1 - 6 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 inputfiles/patches/child-parent-node.kdl delete mode 100644 inputfiles/patches/message.kdl create mode 100644 inputfiles/patches/service-worker.kdl delete mode 100644 inputfiles/patches/type-rename.kdl diff --git a/inputfiles/patches/child-parent-node.kdl b/inputfiles/patches/child-parent-node.kdl deleted file mode 100644 index 63bf8de68..000000000 --- a/inputfiles/patches/child-parent-node.kdl +++ /dev/null @@ -1,3 +0,0 @@ -// ChildNode and ParentNode are actually defined as mixins, but because of their names they have historically been used as a sub-interface of Node. -interface-mixin ChildNode extends=Node -interface-mixin ParentNode extends=Node diff --git a/inputfiles/patches/dom.kdl b/inputfiles/patches/dom.kdl index bca3da9d0..6dd9bc558 100644 --- a/inputfiles/patches/dom.kdl +++ b/inputfiles/patches/dom.kdl @@ -4,3 +4,7 @@ enum InsertPosition { afterbegin afterend } + +// ChildNode and ParentNode are actually defined as mixins, but because of their names they have historically been used as a sub-interface of Node. +interface-mixin ChildNode extends=Node +interface-mixin ParentNode extends=Node diff --git a/inputfiles/patches/html.kdl b/inputfiles/patches/html.kdl index 96b44b149..78fc0837c 100644 --- a/inputfiles/patches/html.kdl +++ b/inputfiles/patches/html.kdl @@ -8,3 +8,5 @@ enum ImageOrientation { interface HTMLTableDataCellElement extends=HTMLTableCellElement exposed=Window deprecated="prefer HTMLTableCellElement" noInterfaceObject=#true interface HTMLTableHeaderCellElement extends=HTMLTableCellElement exposed=Window deprecated="prefer HTMLTableCellElement" noInterfaceObject=#true interface HTMLDocument extends=Document exposed=Window + +interface-mixin MessageEventTarget overrideThis=T typeParameters=T diff --git a/inputfiles/patches/message.kdl b/inputfiles/patches/message.kdl deleted file mode 100644 index dfcb66828..000000000 --- a/inputfiles/patches/message.kdl +++ /dev/null @@ -1 +0,0 @@ -interface-mixin MessageEventTarget overrideThis=T typeParameters=T diff --git a/inputfiles/patches/service-worker.kdl b/inputfiles/patches/service-worker.kdl new file mode 100644 index 000000000..425da66ae --- /dev/null +++ b/inputfiles/patches/service-worker.kdl @@ -0,0 +1,2 @@ +// Prevent conflict with DefinitelyTyped libraries +enum ClientType name=ClientTypes diff --git a/inputfiles/patches/type-rename.kdl b/inputfiles/patches/type-rename.kdl deleted file mode 100644 index a69effab9..000000000 --- a/inputfiles/patches/type-rename.kdl +++ /dev/null @@ -1 +0,0 @@ -enum ClientType name=ClientTypes From 0ac36c9e4293ee4587fe933b2fb07e956965bcfb Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sat, 27 Sep 2025 19:52:52 +0200 Subject: [PATCH 2/2] html-autocomplete --- inputfiles/patches/{autocomplete.kdl => html-autocomplete.kdl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename inputfiles/patches/{autocomplete.kdl => html-autocomplete.kdl} (100%) diff --git a/inputfiles/patches/autocomplete.kdl b/inputfiles/patches/html-autocomplete.kdl similarity index 100% rename from inputfiles/patches/autocomplete.kdl rename to inputfiles/patches/html-autocomplete.kdl