From bf416d8f993488218825dfd643b5e0a576f60aa8 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:31:33 +0300 Subject: [PATCH 1/8] feat: FontDisplay --- inputfiles/addedTypes.jsonc | 11 ----------- inputfiles/patches/FontDisplay.kdl | 8 ++++++++ 2 files changed, 8 insertions(+), 11 deletions(-) create mode 100644 inputfiles/patches/FontDisplay.kdl diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index fbc48d8dd..dd4a9ac84 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -298,17 +298,6 @@ "afterend" ] }, - "FontDisplay": { - "name": "FontDisplay", - // https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc - "value": [ - "auto", - "block", - "swap", - "fallback", - "optional" - ] - }, "ClientType": { "name": "ClientTypes" }, diff --git a/inputfiles/patches/FontDisplay.kdl b/inputfiles/patches/FontDisplay.kdl new file mode 100644 index 000000000..97ad55e49 --- /dev/null +++ b/inputfiles/patches/FontDisplay.kdl @@ -0,0 +1,8 @@ +enum FontDisplay { + // https://w3c.github.io/csswg-drafts/css-fonts-4/#font-display-desc + value "auto" + value "block" + value "swap" + value "fallback" + value "optional" +} \ No newline at end of file From f26758b34d5b6b93160a91b35ee3fd09967da56e Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:32:31 +0300 Subject: [PATCH 2/8] rename --- inputfiles/patches/{FontDisplay.kdl => fontDisplay.kdl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename inputfiles/patches/{FontDisplay.kdl => fontDisplay.kdl} (100%) diff --git a/inputfiles/patches/FontDisplay.kdl b/inputfiles/patches/fontDisplay.kdl similarity index 100% rename from inputfiles/patches/FontDisplay.kdl rename to inputfiles/patches/fontDisplay.kdl From c5c18acd292cbda8348b8d7dcda2c5c775bd62f8 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:36:47 +0300 Subject: [PATCH 3/8] feat: InsertPosition --- inputfiles/addedTypes.jsonc | 9 --------- inputfiles/patches/insertPosition.kdl | 6 ++++++ 2 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 inputfiles/patches/insertPosition.kdl diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index dd4a9ac84..f0d40d420 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -289,15 +289,6 @@ }, "enums": { "enum": { - "InsertPosition": { - "name": "InsertPosition", - "value": [ - "beforebegin", - "beforeend", - "afterbegin", - "afterend" - ] - }, "ClientType": { "name": "ClientTypes" }, diff --git a/inputfiles/patches/insertPosition.kdl b/inputfiles/patches/insertPosition.kdl new file mode 100644 index 000000000..c08b9af86 --- /dev/null +++ b/inputfiles/patches/insertPosition.kdl @@ -0,0 +1,6 @@ +enum InsertPosition { + value "beforebegin" + value "beforeend" + value "afterbegin" + value "afterend" +} \ No newline at end of file From 7d575402502f1fb3d016a6ee6d05780233e96653 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:38:43 +0300 Subject: [PATCH 4/8] feat: RTCStatsIceCandidatePairState --- inputfiles/addedTypes.jsonc | 5 ----- inputfiles/patches/RTCStatsIceCandidatePairState.kdl | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 inputfiles/patches/RTCStatsIceCandidatePairState.kdl diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index f0d40d420..95ebc4cdf 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -292,11 +292,6 @@ "ClientType": { "name": "ClientTypes" }, - "RTCStatsIceCandidatePairState": { - "value": [ - "inprogress" - ] - }, "GlobalCompositeOperation": { "name": "GlobalCompositeOperation", "value": [ diff --git a/inputfiles/patches/RTCStatsIceCandidatePairState.kdl b/inputfiles/patches/RTCStatsIceCandidatePairState.kdl new file mode 100644 index 000000000..6d5fbe4d4 --- /dev/null +++ b/inputfiles/patches/RTCStatsIceCandidatePairState.kdl @@ -0,0 +1,3 @@ +enum RTCStatsIceCandidatePairState { + value "inprogress" +} \ No newline at end of file From 466f344d05ae08b5706c0f4a092a3c6e2cfb6381 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:44:51 +0300 Subject: [PATCH 5/8] feat: GlobalCompositeOperation --- inputfiles/addedTypes.jsonc | 31 ------------------- .../patches/globalCompositeOperation.kdl | 28 +++++++++++++++++ 2 files changed, 28 insertions(+), 31 deletions(-) create mode 100644 inputfiles/patches/globalCompositeOperation.kdl diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index d98ccd88d..f02099428 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -292,37 +292,6 @@ "ClientType": { "name": "ClientTypes" }, - "GlobalCompositeOperation": { - "name": "GlobalCompositeOperation", - "value": [ - "source-over", - "source-in", - "source-out", - "source-atop", - "destination-over", - "destination-in", - "destination-out", - "destination-atop", - "lighter", - "copy", - "xor", - "multiply", - "screen", - "overlay", - "darken", - "lighten", - "color-dodge", - "color-burn", - "hard-light", - "soft-light", - "difference", - "exclusion", - "hue", - "saturation", - "color", - "luminosity" - ] - }, "PermissionName": { "name": "PermissionName", // This is a subset of the permissions defined in the spec: diff --git a/inputfiles/patches/globalCompositeOperation.kdl b/inputfiles/patches/globalCompositeOperation.kdl new file mode 100644 index 000000000..f3528f8bb --- /dev/null +++ b/inputfiles/patches/globalCompositeOperation.kdl @@ -0,0 +1,28 @@ +enum GlobalCompositeOperation { + value "source-over" + value "source-in" + value "source-out" + value "source-atop" + value "destination-over" + value "destination-in" + value "destination-out" + value "destination-atop" + value "lighter" + value "copy" + value "xor" + value "multiply" + value "screen" + value "overlay" + value "darken" + value "lighten" + value "color-dodge" + value "color-burn" + value "hard-light" + value "soft-light" + value "difference" + value "exclusion" + value "hue" + value "saturation" + value "color" + value "luminosity" +} \ No newline at end of file From a348b4f85db83124019c9d5753a404da544a37bf Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:48:03 +0300 Subject: [PATCH 6/8] PermissionName --- inputfiles/addedTypes.jsonc | 26 -------------------------- inputfiles/patches/permissionName.kdl | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 26 deletions(-) create mode 100644 inputfiles/patches/permissionName.kdl diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index f02099428..d8484156f 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -291,32 +291,6 @@ "enum": { "ClientType": { "name": "ClientTypes" - }, - "PermissionName": { - "name": "PermissionName", - // This is a subset of the permissions defined in the spec: - // https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features - // Please add a feature only when it's supported by multiple engines. - "value": [ - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility - "camera", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility - "geolocation", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility - "microphone", - // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API#browser_compatibility - "midi", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility - "notifications", - // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility - "persistent-storage", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility - "push", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility - "screen-wake-lock", - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility - "storage-access" - ] } } }, diff --git a/inputfiles/patches/permissionName.kdl b/inputfiles/patches/permissionName.kdl new file mode 100644 index 000000000..b0b62596c --- /dev/null +++ b/inputfiles/patches/permissionName.kdl @@ -0,0 +1,23 @@ +enum PermissionName { + // This is a subset of the permissions defined in the spec: + // https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features + // Please add a feature only when it's supported by multiple engines. + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "camera" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "geolocation" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "microphone" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "midi" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "notifications" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "persistent-storage" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "push" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "screen-wake-lock" + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility + value "storage-access" +} \ No newline at end of file From e658c7bf9a688332d390eadb5f01dc82366df4f6 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Thu, 10 Jul 2025 14:50:15 +0300 Subject: [PATCH 7/8] - --- inputfiles/overridingTypes.jsonc | 8 -------- inputfiles/patches/ImageOrientation.kdl | 3 +++ inputfiles/patches/imageOrientation.kdl | 0 3 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 inputfiles/patches/ImageOrientation.kdl create mode 100644 inputfiles/patches/imageOrientation.kdl diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 1b9559938..2c7f7e820 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -504,14 +504,6 @@ }, "TableKind": { "legacyNamespace": "WebAssembly" - }, - "ImageOrientation": { - "value": [ - // The spec removed this but it's still in browsers and WebKit doesn't support the new one. - // Keep it until it's safer to fully migrate. - // See https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1507#issuecomment-1454792451 - "none" - ] } } }, diff --git a/inputfiles/patches/ImageOrientation.kdl b/inputfiles/patches/ImageOrientation.kdl new file mode 100644 index 000000000..fee446280 --- /dev/null +++ b/inputfiles/patches/ImageOrientation.kdl @@ -0,0 +1,3 @@ +enum ImageOrientation { + value "none" +} \ No newline at end of file diff --git a/inputfiles/patches/imageOrientation.kdl b/inputfiles/patches/imageOrientation.kdl new file mode 100644 index 000000000..e69de29bb From 850cfe0f8646602fafa7021c38aca8a1a243c51a Mon Sep 17 00:00:00 2001 From: Adam Naji <110662505+Bashamega@users.noreply.github.com> Date: Thu, 10 Jul 2025 14:52:28 +0300 Subject: [PATCH 8/8] Delete inputfiles/patches/imageOrientation.kdl --- inputfiles/patches/imageOrientation.kdl | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 inputfiles/patches/imageOrientation.kdl diff --git a/inputfiles/patches/imageOrientation.kdl b/inputfiles/patches/imageOrientation.kdl deleted file mode 100644 index e69de29bb..000000000