From 002d5523d88bfbbb70a799e10254199ed6225c7f Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Wed, 15 Nov 2023 23:28:43 +0000 Subject: [PATCH 01/33] Introduce MathMLAttributes --- src/jsx.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index a87297d97c..e89924311e 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2501,6 +2501,22 @@ export namespace JSXInternal { | SignalLike; } + export interface MathMLAttributes + extends HTMLAttributes { + dir?: 'ltr' | 'rtl' | undefined | SignalLike<'ltr' | 'rtl' | undefined>; + displaystyle?: boolean | undefined | SignalLike; + /** @deprecated This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/href */ + href?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathbackground */ + mathbackground?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathcolor */ + mathcolor?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathsize */ + mathsize?: string | undefined | SignalLike; + nonce?: string | undefined | SignalLike; + scriptlevel?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; From 4a4f1e156352df9ccec65cc649f19f99cd35b6c5 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:00:26 +0000 Subject: [PATCH 02/33] Add HTMLAnnotationElement interface --- src/jsx.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index e89924311e..8d6e9c4e1c 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2517,6 +2517,12 @@ export namespace JSXInternal { scriptlevel?: string | undefined | SignalLike; } + export interface HTMLAnnotationElement extends MathMLElement { + encoding?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics#src */ + src?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2696,5 +2702,8 @@ export namespace JSXInternal { tspan: SVGAttributes; use: SVGAttributes; view: SVGAttributes; + + // MathML See https://developer.mozilla.org/en-US/docs/Web/MathML + annotation: MathMLAttributes; } } From 59a9f30fda4fe1015c1d640c7fbfa17a91c99274 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:00:46 +0000 Subject: [PATCH 03/33] Add HTMLAnnotationXmlElement interface --- src/jsx.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 8d6e9c4e1c..7d7bfd4fd1 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2523,6 +2523,12 @@ export namespace JSXInternal { src?: string | undefined | SignalLike; } + export interface HTMLAnnotationXmlElement extends MathMLElement { + encoding?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics#src */ + src?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2704,6 +2710,7 @@ export namespace JSXInternal { view: SVGAttributes; // MathML See https://developer.mozilla.org/en-US/docs/Web/MathML + 'annotation-xml': MathMLAttributes; annotation: MathMLAttributes; } } From b2e962582ebeaf4d9916384953bb13d81cbda6d0 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:00:57 +0000 Subject: [PATCH 04/33] Add HTMLMActionElement interface --- src/jsx.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 7d7bfd4fd1..d065ed5a47 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2529,6 +2529,17 @@ export namespace JSXInternal { src?: string | undefined | SignalLike; } + export interface HTMLMActionElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction#actiontype */ + actiontype?: + | 'statusline' + | 'toggle' + | undefined + | SignalLike<'statusline' | 'toggle' | undefined>; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction#selection */ + selection?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2712,5 +2723,7 @@ export namespace JSXInternal { // MathML See https://developer.mozilla.org/en-US/docs/Web/MathML 'annotation-xml': MathMLAttributes; annotation: MathMLAttributes; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction */ + maction: MathMLAttributes; } } From 8efdf45c4428d142a55afc00e80e870a8bf61999 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:01:11 +0000 Subject: [PATCH 05/33] Add HTMLMathElement interface --- src/jsx.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index d065ed5a47..a439ce1b54 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2540,6 +2540,14 @@ export namespace JSXInternal { selection?: string | undefined | SignalLike; } + export interface HTMLMathElement extends MathMLElement { + display?: + | 'block' + | 'inline' + | undefined + | SignalLike<'block' | 'inline' | undefined>; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2725,5 +2733,6 @@ export namespace JSXInternal { annotation: MathMLAttributes; /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction */ maction: MathMLAttributes; + math: MathMLAttributes; } } From 0824148c873df15696e62b90fbdba3eca9ebb58d Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:01:25 +0000 Subject: [PATCH 06/33] Add HTMLMEncloseElement interface --- src/jsx.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index a439ce1b54..822f18c9dc 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2548,6 +2548,10 @@ export namespace JSXInternal { | SignalLike<'block' | 'inline' | undefined>; } + export interface HTMLMEncloseElement extends MathMLElement { + notation?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2734,5 +2738,7 @@ export namespace JSXInternal { /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction */ maction: MathMLAttributes; math: MathMLAttributes; + /** This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose */ + menclose: MathMLAttributes; } } From 2e68f6e6fcda6a94933d6cbb786c3238f36153e6 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:01:42 +0000 Subject: [PATCH 07/33] Add HTMLMErrorElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 822f18c9dc..c7011fc308 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2552,6 +2552,8 @@ export namespace JSXInternal { notation?: string | undefined | SignalLike; } + export interface HTMLMErrorElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2740,5 +2742,6 @@ export namespace JSXInternal { math: MathMLAttributes; /** This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose */ menclose: MathMLAttributes; + merror: MathMLAttributes; } } From 3539fb2862dbf519e8e5c9863303417972c22e65 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:01:52 +0000 Subject: [PATCH 08/33] Add HTMLMFracElement interface --- src/jsx.d.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index c7011fc308..28322def77 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2554,6 +2554,24 @@ export namespace JSXInternal { export interface HTMLMErrorElement extends MathMLElement {} + export interface HTMLMFracElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#denomalign */ + denomalign?: + | 'center' + | 'left' + | 'right' + | undefined + | SignalLike<'center' | 'left' | 'right' | undefined>; + linethickness?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#numalign */ + numalign?: + | 'center' + | 'left' + | 'right' + | undefined + | SignalLike<'center' | 'left' | 'right' | undefined>; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2743,5 +2761,6 @@ export namespace JSXInternal { /** This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose */ menclose: MathMLAttributes; merror: MathMLAttributes; + mfrac: MathMLAttributes; } } From 01a66e2309bbd1d7c3c8e48d7917dfcee113807b Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:02:06 +0000 Subject: [PATCH 09/33] Add HTMLMiElement interface --- src/jsx.d.ts | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 28322def77..c45be9cbbb 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2572,6 +2572,52 @@ export namespace JSXInternal { | SignalLike<'center' | 'left' | 'right' | undefined>; } + export interface HTMLMiElement extends MathMLElement { + /** The only value allowed in the current specification is normal (case insensitive) + * See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi#mathvariant */ + mathvariant?: + | 'normal' + | 'bold' + | 'italic' + | 'bold-italic' + | 'double-struck' + | 'bold-fraktur' + | 'script' + | 'bold-script' + | 'fraktur' + | 'sans-serif' + | 'bold-sans-serif' + | 'sans-serif-italic' + | 'sans-serif-bold-italic' + | 'monospace' + | 'initial' + | 'tailed' + | 'looped' + | 'stretched' + | undefined + | SignalLike< + | 'normal' + | 'bold' + | 'italic' + | 'bold-italic' + | 'double-struck' + | 'bold-fraktur' + | 'script' + | 'bold-script' + | 'fraktur' + | 'sans-serif' + | 'bold-sans-serif' + | 'sans-serif-italic' + | 'sans-serif-bold-italic' + | 'monospace' + | 'initial' + | 'tailed' + | 'looped' + | 'stretched' + | undefined + >; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2762,5 +2808,6 @@ export namespace JSXInternal { menclose: MathMLAttributes; merror: MathMLAttributes; mfrac: MathMLAttributes; + mi: MathMLAttributes; } } From bac764d1dd2bf9ebaec8012b6096ac00d9b0e5da Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:02:19 +0000 Subject: [PATCH 10/33] Add HTMLMmultiScriptsElement interface --- src/jsx.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index c45be9cbbb..a1e5378383 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2618,6 +2618,13 @@ export namespace JSXInternal { >; } + export interface HTMLMmultiScriptsElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts#subscriptshift */ + subscriptshift?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts#superscriptshift */ + superscriptshift?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2809,5 +2816,6 @@ export namespace JSXInternal { merror: MathMLAttributes; mfrac: MathMLAttributes; mi: MathMLAttributes; + mmultiscripts: MathMLAttributes; } } From b82bf72b54150d530efd48de58c3b91ae9a2ef48 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:02:30 +0000 Subject: [PATCH 11/33] Add HTMLMNElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index a1e5378383..f6019ef870 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2625,6 +2625,8 @@ export namespace JSXInternal { superscriptshift?: string | undefined | SignalLike; } + export interface HTMLMNElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2817,5 +2819,6 @@ export namespace JSXInternal { mfrac: MathMLAttributes; mi: MathMLAttributes; mmultiscripts: MathMLAttributes; + mn: MathMLAttributes; } } From 548f34e7555ac3a07dc86a6d50a0f8755aa230f9 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:02:39 +0000 Subject: [PATCH 12/33] Add HTMLMOElement interface --- src/jsx.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index f6019ef870..3c140adb14 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2627,6 +2627,21 @@ export namespace JSXInternal { export interface HTMLMNElement extends MathMLElement {} + export interface HTMLMOElement extends MathMLElement { + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo#accent */ + accent?: boolean | undefined | SignalLike; + fence?: boolean | undefined | SignalLike; + largeop?: boolean | undefined | SignalLike; + lspace?: string | undefined | SignalLike; + maxsize?: string | undefined | SignalLike; + minsize?: string | undefined | SignalLike; + movablelimits?: boolean | undefined | SignalLike; + rspace?: string | undefined | SignalLike; + separator?: boolean | undefined | SignalLike; + stretchy?: boolean | undefined | SignalLike; + symmetric?: boolean | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2820,5 +2835,6 @@ export namespace JSXInternal { mi: MathMLAttributes; mmultiscripts: MathMLAttributes; mn: MathMLAttributes; + mo: MathMLAttributes; } } From 0a40528b281c33ff8ea6f2b0ebc1c9cde5027220 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:02:50 +0000 Subject: [PATCH 13/33] Add HTMLMOverElement interface --- src/jsx.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 3c140adb14..762e856039 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2642,6 +2642,10 @@ export namespace JSXInternal { symmetric?: boolean | undefined | SignalLike; } + export interface HTMLMOverElement extends MathMLElement { + accent?: boolean | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2836,5 +2840,6 @@ export namespace JSXInternal { mmultiscripts: MathMLAttributes; mn: MathMLAttributes; mo: MathMLAttributes; + mover: MathMLAttributes; } } From ab5da23f64ecfcd911909672c03dd8a46cac6423 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:03:12 +0000 Subject: [PATCH 14/33] Add HTMLMPaddedElement interface --- src/jsx.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 762e856039..4fbe4c8893 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2646,6 +2646,14 @@ export namespace JSXInternal { accent?: boolean | undefined | SignalLike; } + export interface HTMLMPaddedElement extends MathMLElement { + depth?: string | undefined | SignalLike; + height?: string | undefined | SignalLike; + lspace?: string | undefined | SignalLike; + voffset?: string | undefined | SignalLike; + width?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2841,5 +2849,6 @@ export namespace JSXInternal { mn: MathMLAttributes; mo: MathMLAttributes; mover: MathMLAttributes; + mpadded: MathMLAttributes; } } From 832c6705bf37657333fc97e410a1448aae57ed9a Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:03:29 +0000 Subject: [PATCH 15/33] Add HTMLMPhantomElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 4fbe4c8893..b8018f2b1a 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2654,6 +2654,8 @@ export namespace JSXInternal { width?: string | undefined | SignalLike; } + export interface HTMLMPhantomElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2850,5 +2852,6 @@ export namespace JSXInternal { mo: MathMLAttributes; mover: MathMLAttributes; mpadded: MathMLAttributes; + mphantom: MathMLAttributes; } } From 47d403b952dcbf9a17810e536d8f3614b5fbff93 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:03:40 +0000 Subject: [PATCH 16/33] Add HTMLMPrescriptsElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index b8018f2b1a..9d0faedf82 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2656,6 +2656,8 @@ export namespace JSXInternal { export interface HTMLMPhantomElement extends MathMLElement {} + export interface HTMLMPrescriptsElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2853,5 +2855,6 @@ export namespace JSXInternal { mover: MathMLAttributes; mpadded: MathMLAttributes; mphantom: MathMLAttributes; + mprescripts: MathMLAttributes; } } From 2368f17aee023b14f29c47aeb733668ff2e56477 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:03:49 +0000 Subject: [PATCH 17/33] Add HTMLMRootElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 9d0faedf82..d0c8b21337 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2658,6 +2658,8 @@ export namespace JSXInternal { export interface HTMLMPrescriptsElement extends MathMLElement {} + export interface HTMLMRootElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2856,5 +2858,6 @@ export namespace JSXInternal { mpadded: MathMLAttributes; mphantom: MathMLAttributes; mprescripts: MathMLAttributes; + mroot: MathMLAttributes; } } From 5b4b41654fb59bfc0943a16a199653b1ef421fdf Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:04:01 +0000 Subject: [PATCH 18/33] Add HTMLMRowElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index d0c8b21337..f30172582a 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2660,6 +2660,8 @@ export namespace JSXInternal { export interface HTMLMRootElement extends MathMLElement {} + export interface HTMLMRowElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2859,5 +2861,6 @@ export namespace JSXInternal { mphantom: MathMLAttributes; mprescripts: MathMLAttributes; mroot: MathMLAttributes; + mrow: MathMLAttributes; } } From 0a6820781293af8e8849d2473b2276c27fc18601 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:04:12 +0000 Subject: [PATCH 19/33] Add HTMLMSElement interface --- src/jsx.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index f30172582a..be2af380b7 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2662,6 +2662,13 @@ export namespace JSXInternal { export interface HTMLMRowElement extends MathMLElement {} + export interface HTMLMSElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms#browser_compatibility */ + lquote?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms#browser_compatibility */ + rquote?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2862,5 +2869,6 @@ export namespace JSXInternal { mprescripts: MathMLAttributes; mroot: MathMLAttributes; mrow: MathMLAttributes; + ms: MathMLAttributes; } } From 7a96458b1980ffd3a44dc39fa4522b5bc18c5e0e Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:04:21 +0000 Subject: [PATCH 20/33] Add HTMLMSpaceElement interface --- src/jsx.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index be2af380b7..787dcbfde4 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2669,6 +2669,12 @@ export namespace JSXInternal { rquote?: string | undefined | SignalLike; } + export interface HTMLMSpaceElement extends MathMLElement { + depth?: string | undefined | SignalLike; + height?: string | undefined | SignalLike; + width?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2870,5 +2876,6 @@ export namespace JSXInternal { mroot: MathMLAttributes; mrow: MathMLAttributes; ms: MathMLAttributes; + mspace: MathMLAttributes; } } From 15f0cc88dc469661886d60e1b69eed0f958f3926 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:04:32 +0000 Subject: [PATCH 21/33] Add HTMLMSqrtElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 787dcbfde4..1bcb8977c2 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2675,6 +2675,8 @@ export namespace JSXInternal { width?: string | undefined | SignalLike; } + export interface HTMLMSqrtElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2877,5 +2879,6 @@ export namespace JSXInternal { mrow: MathMLAttributes; ms: MathMLAttributes; mspace: MathMLAttributes; + msqrt: MathMLAttributes; } } From 7d712511af09105be64441804670e5b904179341 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:04:42 +0000 Subject: [PATCH 22/33] Add HTMLMStyleElement interface --- src/jsx.d.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 1bcb8977c2..ddb0a51f60 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2677,6 +2677,23 @@ export namespace JSXInternal { export interface HTMLMSqrtElement extends MathMLElement {} + export interface HTMLMStyleElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#background */ + background?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#color */ + color?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontsize */ + fontsize?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontstyle */ + fontstyle?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontweight */ + fontweight?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#scriptminsize */ + scriptminsize?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#scriptsizemultiplier */ + scriptsizemultiplier?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2880,5 +2897,6 @@ export namespace JSXInternal { ms: MathMLAttributes; mspace: MathMLAttributes; msqrt: MathMLAttributes; + mstyle: MathMLAttributes; } } From 037a23c958ed4723e9f7144b05668465b5c6c3dc Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:05:00 +0000 Subject: [PATCH 23/33] Add HTMLMSubElement interface --- src/jsx.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index ddb0a51f60..fe075c2e8a 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2694,6 +2694,11 @@ export namespace JSXInternal { scriptsizemultiplier?: string | undefined | SignalLike; } + export interface HTMLMSubElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub#subscriptshift */ + subscriptshift?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2898,5 +2903,6 @@ export namespace JSXInternal { mspace: MathMLAttributes; msqrt: MathMLAttributes; mstyle: MathMLAttributes; + msub: MathMLAttributes; } } From 001d5be0fe0397523b17a0f7e767bf6e1c39bb7b Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:05:10 +0000 Subject: [PATCH 24/33] Add HTMLMSubsupElement interface --- src/jsx.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index fe075c2e8a..56d673f37d 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2699,6 +2699,13 @@ export namespace JSXInternal { subscriptshift?: string | undefined | SignalLike; } + export interface HTMLMSubsupElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup#subscriptshift */ + subscriptshift?: string | undefined | SignalLike; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup#superscriptshift */ + superscriptshift?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2904,5 +2911,6 @@ export namespace JSXInternal { msqrt: MathMLAttributes; mstyle: MathMLAttributes; msub: MathMLAttributes; + msubsup: MathMLAttributes; } } From 5b0d2fc966710d5fc185bbffee75a7257dbb7a31 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:05:21 +0000 Subject: [PATCH 25/33] Add HTMLMSupElement interface --- src/jsx.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 56d673f37d..fcc25ec5a0 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2706,6 +2706,11 @@ export namespace JSXInternal { superscriptshift?: string | undefined | SignalLike; } + export interface HTMLMSupElement extends MathMLElement { + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup#superscriptshift */ + superscriptshift?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2912,5 +2917,6 @@ export namespace JSXInternal { mstyle: MathMLAttributes; msub: MathMLAttributes; msubsup: MathMLAttributes; + msup: MathMLAttributes; } } From 93648b2453a740bf68ddc65e612e5dd68eac383d Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:05:34 +0000 Subject: [PATCH 26/33] Add HTMLMTableElement interface --- src/jsx.d.ts | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index fcc25ec5a0..4cce27ee4f 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2711,6 +2711,67 @@ export namespace JSXInternal { superscriptshift?: string | undefined | SignalLike; } + export interface HTMLMTableElement extends MathMLElement { + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#align */ + align?: + | 'axis' + | 'baseline' + | 'bottom' + | 'center' + | 'top' + | undefined + | SignalLike< + 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined + >; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnalign */ + columnalign?: + | 'center' + | 'left' + | 'right' + | undefined + | SignalLike<'center' | 'left' | 'right' | undefined>; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnlines */ + columnlines?: + | 'dashed' + | 'none' + | 'solid' + | undefined + | SignalLike<'dashed' | 'none' | 'solid' | undefined>; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnspacing */ + columnspacing?: string | undefined | SignalLike; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#frame */ + frame?: + | 'dashed' + | 'none' + | 'solid' + | undefined + | SignalLike<'dashed' | 'none' | 'solid' | undefined>; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#framespacing */ + framespacing?: string | undefined | SignalLike; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowalign */ + rowalign?: + | 'axis' + | 'baseline' + | 'bottom' + | 'center' + | 'top' + | undefined + | SignalLike< + 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined + >; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowlines */ + rowlines?: + | 'dashed' + | 'none' + | 'solid' + | undefined + | SignalLike<'dashed' | 'none' | 'solid' | undefined>; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowspacing */ + rowspacing?: string | undefined | SignalLike; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#width */ + width?: string | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2918,5 +2979,6 @@ export namespace JSXInternal { msub: MathMLAttributes; msubsup: MathMLAttributes; msup: MathMLAttributes; + mtable: MathMLAttributes; } } From d13125e508f4e14b7cc78758c982667aa3611b27 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:05:47 +0000 Subject: [PATCH 27/33] Add HTMLMTdElement interface --- src/jsx.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 4cce27ee4f..d231b31fcb 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2772,6 +2772,29 @@ export namespace JSXInternal { width?: string | undefined | SignalLike; } + export interface HTMLMTdElement extends MathMLElement { + columnspan?: number | undefined | SignalLike; + rowspan?: number | undefined | SignalLike; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#columnalign */ + columnalign?: + | 'center' + | 'left' + | 'right' + | undefined + | SignalLike<'center' | 'left' | 'right' | undefined>; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#rowalign */ + rowalign?: + | 'axis' + | 'baseline' + | 'bottom' + | 'center' + | 'top' + | undefined + | SignalLike< + 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined + >; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -2980,5 +3003,6 @@ export namespace JSXInternal { msubsup: MathMLAttributes; msup: MathMLAttributes; mtable: MathMLAttributes; + mtd: MathMLAttributes; } } From 89db29d54f8d3a71dd195e6800157d89c171e348 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:06:03 +0000 Subject: [PATCH 28/33] Add HTMLMTextElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index d231b31fcb..2247e1d147 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2795,6 +2795,8 @@ export namespace JSXInternal { >; } + export interface HTMLMTextElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -3004,5 +3006,6 @@ export namespace JSXInternal { msup: MathMLAttributes; mtable: MathMLAttributes; mtd: MathMLAttributes; + mtext: MathMLAttributes; } } From e877e11b2d96f0996043b87999fdc1320e38c288 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:06:15 +0000 Subject: [PATCH 29/33] Add HTMLMTrElement interface --- src/jsx.d.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 2247e1d147..5b977c31b7 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2797,6 +2797,27 @@ export namespace JSXInternal { export interface HTMLMTextElement extends MathMLElement {} + export interface HTMLMTrElement extends MathMLElement { + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#columnalign */ + columnalign?: + | 'center' + | 'left' + | 'right' + | undefined + | SignalLike<'center' | 'left' | 'right' | undefined>; + /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#rowalign */ + rowalign?: + | 'axis' + | 'baseline' + | 'bottom' + | 'center' + | 'top' + | undefined + | SignalLike< + 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined + >; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -3007,5 +3028,6 @@ export namespace JSXInternal { mtable: MathMLAttributes; mtd: MathMLAttributes; mtext: MathMLAttributes; + mtr: MathMLAttributes; } } From 14c7ef2d819b3946a9aa6fc2095b9c605395430a Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:06:24 +0000 Subject: [PATCH 30/33] Add HTMLMUnderElement interface --- src/jsx.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 5b977c31b7..90cb820a60 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2818,6 +2818,10 @@ export namespace JSXInternal { >; } + export interface HTMLMUnderElement extends MathMLElement { + accentunder?: boolean | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -3029,5 +3033,6 @@ export namespace JSXInternal { mtd: MathMLAttributes; mtext: MathMLAttributes; mtr: MathMLAttributes; + munder: MathMLAttributes; } } From a2093d7af3a98165daa0581d7f471ada3a307de7 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:06:32 +0000 Subject: [PATCH 31/33] Add HTMLMUnderoverElement interface --- src/jsx.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index 90cb820a60..c551876b83 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2822,6 +2822,11 @@ export namespace JSXInternal { accentunder?: boolean | undefined | SignalLike; } + export interface HTMLMUnderoverElement extends MathMLElement { + accent?: boolean | undefined | SignalLike; + accentunder?: boolean | undefined | SignalLike; + } + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -3034,5 +3039,6 @@ export namespace JSXInternal { mtext: MathMLAttributes; mtr: MathMLAttributes; munder: MathMLAttributes; + munderover: MathMLAttributes; } } From ae8d7ef34848e149931266160715ad4dcacb1ac2 Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Thu, 16 Nov 2023 00:06:46 +0000 Subject: [PATCH 32/33] Add HTMLSemanticsElement interface --- src/jsx.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index c551876b83..e97dc9716c 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2827,6 +2827,8 @@ export namespace JSXInternal { accentunder?: boolean | undefined | SignalLike; } + export interface HTMLSemanticsElement extends MathMLElement {} + export interface IntrinsicElements { // HTML a: HTMLAttributes; @@ -3040,5 +3042,6 @@ export namespace JSXInternal { mtr: MathMLAttributes; munder: MathMLAttributes; munderover: MathMLAttributes; + semantics: MathMLAttributes; } } From 6eb5309a52a240340dad12368d069d63b79b716d Mon Sep 17 00:00:00 2001 From: Bence Fekete Date: Fri, 8 Dec 2023 10:24:44 +0000 Subject: [PATCH 33/33] Add HTMLMFencedElement interface --- src/jsx.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jsx.d.ts b/src/jsx.d.ts index e97dc9716c..8f2b98cc92 100644 --- a/src/jsx.d.ts +++ b/src/jsx.d.ts @@ -2554,6 +2554,12 @@ export namespace JSXInternal { export interface HTMLMErrorElement extends MathMLElement {} + export interface HTMLMFencedElement extends MathMLElement { + close?: string | undefined | SignalLike; + open?: string | undefined | SignalLike; + separators?: string | undefined | SignalLike; + } + export interface HTMLMFracElement extends MathMLElement { /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#denomalign */ denomalign?: @@ -3018,6 +3024,8 @@ export namespace JSXInternal { /** This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose */ menclose: MathMLAttributes; merror: MathMLAttributes; + /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced */ + mfenced: HTMLAttributes; mfrac: MathMLAttributes; mi: MathMLAttributes; mmultiscripts: MathMLAttributes;