diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 9b6c7a2bc..7584db610 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2309,6 +2309,7 @@ interface TextEncoderEncodeIntoResult { interface ToggleEventInit extends EventInit { newState?: string; oldState?: string; + source?: Element | null; } interface TouchEventInit extends EventModifierInit { @@ -3277,7 +3278,11 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ + /** + * The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or `null`. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) + */ readonly duration: CSSNumberish | null; } @@ -14137,7 +14142,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit */ innerText: string; /** - * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')]. + * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) */ @@ -15486,7 +15491,7 @@ interface HTMLLabelElement extends HTMLElement { */ readonly control: HTMLElement | null; /** - * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a control owned by a form. + * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a labelable form-associated element (button, input, output, select, textarea, or form-associated custom elements) that is owned by a form. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/form) */ @@ -16797,7 +16802,7 @@ interface HTMLScriptElement extends HTMLElement { */ src: string; /** - * The **`text`** property of the HTMLScriptElement interface is a string that reflects the text content inside the script element. + * The **`text`** property of the HTMLScriptElement interface represents the inline text content of the script element. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) */ @@ -30640,7 +30645,7 @@ interface ScreenOrientation extends EventTarget { */ lock(orientation: OrientationLockType): Promise; /** - * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. + * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock) */ @@ -40144,7 +40149,7 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required"; type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop"; type MediaSessionPlaybackState = "none" | "paused" | "playing"; type MediaStreamTrackState = "ended" | "live"; -type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"; +type NavigationTimingType = "back_forward" | "navigate" | "reload"; type NavigationType = "push" | "reload" | "replace" | "traverse"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 1c9b1f90e..397dddb2b 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -2306,6 +2306,7 @@ interface TextEncoderEncodeIntoResult { interface ToggleEventInit extends EventInit { newState?: string; oldState?: string; + source?: Element | null; } interface TouchEventInit extends EventModifierInit { @@ -3274,7 +3275,11 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ + /** + * The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or `null`. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) + */ readonly duration: CSSNumberish | null; } @@ -14121,7 +14126,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit */ innerText: string; /** - * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')]. + * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) */ @@ -15468,7 +15473,7 @@ interface HTMLLabelElement extends HTMLElement { */ readonly control: HTMLElement | null; /** - * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a control owned by a form. + * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a labelable form-associated element (button, input, output, select, textarea, or form-associated custom elements) that is owned by a form. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/form) */ @@ -16774,7 +16779,7 @@ interface HTMLScriptElement extends HTMLElement { */ src: string; /** - * The **`text`** property of the HTMLScriptElement interface is a string that reflects the text content inside the script element. + * The **`text`** property of the HTMLScriptElement interface represents the inline text content of the script element. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) */ @@ -30615,7 +30620,7 @@ interface ScreenOrientation extends EventTarget { */ lock(orientation: OrientationLockType): Promise; /** - * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. + * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock) */ @@ -40118,7 +40123,7 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required"; type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop"; type MediaSessionPlaybackState = "none" | "paused" | "playing"; type MediaStreamTrackState = "ended" | "live"; -type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"; +type NavigationTimingType = "back_forward" | "navigate" | "reload"; type NavigationType = "push" | "reload" | "replace" | "traverse"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 0facfd4ee..70d9933e1 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -2306,6 +2306,7 @@ interface TextEncoderEncodeIntoResult { interface ToggleEventInit extends EventInit { newState?: string; oldState?: string; + source?: Element | null; } interface TouchEventInit extends EventModifierInit { @@ -3274,7 +3275,11 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ + /** + * The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or `null`. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) + */ readonly duration: CSSNumberish | null; } @@ -14134,7 +14139,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit */ innerText: string; /** - * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')]. + * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) */ @@ -15483,7 +15488,7 @@ interface HTMLLabelElement extends HTMLElement { */ readonly control: HTMLElement | null; /** - * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a control owned by a form. + * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a labelable form-associated element (button, input, output, select, textarea, or form-associated custom elements) that is owned by a form. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/form) */ @@ -16794,7 +16799,7 @@ interface HTMLScriptElement extends HTMLElement { */ src: string; /** - * The **`text`** property of the HTMLScriptElement interface is a string that reflects the text content inside the script element. + * The **`text`** property of the HTMLScriptElement interface represents the inline text content of the script element. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) */ @@ -30637,7 +30642,7 @@ interface ScreenOrientation extends EventTarget { */ lock(orientation: OrientationLockType): Promise; /** - * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. + * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock) */ @@ -40141,7 +40146,7 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required"; type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop"; type MediaSessionPlaybackState = "none" | "paused" | "playing"; type MediaStreamTrackState = "ended" | "live"; -type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"; +type NavigationTimingType = "back_forward" | "navigate" | "reload"; type NavigationType = "push" | "reload" | "replace" | "traverse"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 91787efe1..e33b79e08 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -2306,6 +2306,7 @@ interface TextEncoderEncodeIntoResult { interface ToggleEventInit extends EventInit { newState?: string; oldState?: string; + source?: Element | null; } interface TouchEventInit extends EventModifierInit { @@ -3274,7 +3275,11 @@ interface AnimationTimeline { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime) */ readonly currentTime: CSSNumberish | null; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */ + /** + * The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or `null`. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) + */ readonly duration: CSSNumberish | null; } @@ -14134,7 +14139,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit */ innerText: string; /** - * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')]. + * The **`lang`** property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang) */ @@ -15483,7 +15488,7 @@ interface HTMLLabelElement extends HTMLElement { */ readonly control: HTMLElement | null; /** - * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a control owned by a form. + * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a labelable form-associated element (button, input, output, select, textarea, or form-associated custom elements) that is owned by a form. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/form) */ @@ -16794,7 +16799,7 @@ interface HTMLScriptElement extends HTMLElement { */ src: string; /** - * The **`text`** property of the HTMLScriptElement interface is a string that reflects the text content inside the script element. + * The **`text`** property of the HTMLScriptElement interface represents the inline text content of the script element. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text) */ @@ -30637,7 +30642,7 @@ interface ScreenOrientation extends EventTarget { */ lock(orientation: OrientationLockType): Promise; /** - * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation. + * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document, effectively locking it to the default screen orientation. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock) */ @@ -40141,7 +40146,7 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required"; type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop"; type MediaSessionPlaybackState = "none" | "paused" | "playing"; type MediaStreamTrackState = "ended" | "live"; -type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"; +type NavigationTimingType = "back_forward" | "navigate" | "reload"; type NavigationType = "push" | "reload" | "replace" | "traverse"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; diff --git a/inputfiles/mdn b/inputfiles/mdn index c148812e0..f60b328b6 160000 --- a/inputfiles/mdn +++ b/inputfiles/mdn @@ -1 +1 @@ -Subproject commit c148812e0874220770cab62c16f33f48ceb98e99 +Subproject commit f60b328b611150a5c62230de561c36b2a63d7483 diff --git a/package-lock.json b/package-lock.json index 888e48c1a..8626ffc89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1038,9 +1038,9 @@ } }, "node_modules/@webref/css": { - "version": "6.23.10", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.23.10.tgz", - "integrity": "sha512-Z7QjoTKpoNEs2A3t+yKE8KB9YXwnSvJfDCux+Fkn1h5U2V3wSj5Xlc4j2AJ8k5E+Vrq8h9ZP3QHly29xnva6RQ==", + "version": "6.23.11", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.23.11.tgz", + "integrity": "sha512-RyRWiSjmSyrs+n2Qv5SVg45fay8YF76PZ3YxDmF8HndC4K9D5NQuR2AfTeqspiwJdOsfTKBDAZD0vPw4Rxpu7g==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1048,9 +1048,9 @@ } }, "node_modules/@webref/elements": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@webref/elements/-/elements-2.5.0.tgz", - "integrity": "sha512-8sOq8RgoQukYeuKi/lf1ioSrD2dla+0fnEWIr6PGp1Dc6sUHTL0AOc2LqcmAmjuICgaShSk6u72y0Uu4B5bF6Q==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@webref/elements/-/elements-2.5.1.tgz", + "integrity": "sha512-AGAuITJeKPAUAM4KqMh47KOl71Js8Nqs6IMUrS7KCbaQFrtBMRC6zAz/JbfZtcV+FaYqEXg3T0S343VEgXY/wQ==", "dev": true, "license": "MIT" }, @@ -1062,9 +1062,9 @@ "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.68.0", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.68.0.tgz", - "integrity": "sha512-YbYiRRCTBOXRHiKvCasjQHKXgj2j/d8RAJbVFeABB66bg7pjQQTrRMxKjApLp2seYRKUeqNwTYrOM248PuVbjw==", + "version": "3.68.1", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.68.1.tgz", + "integrity": "sha512-ZCsF8jxVxtHcyYLaueF68SXSq9uiZv+49ilk6c2RfzKDhj+kpJKhkR2zRe8tcDdhWD/CWAhA3ADWNHayLhx72A==", "dev": true, "license": "MIT", "peerDependencies": {