Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,7 @@ interface TextEncoderEncodeIntoResult {
interface ToggleEventInit extends EventInit {
newState?: string;
oldState?: string;
source?: Element | null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Browsers were super quick and Gecko and Blink already have this 👀

}

interface TouchEventInit extends EventModifierInit {
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -30640,7 +30645,7 @@ interface ScreenOrientation extends EventTarget {
*/
lock(orientation: OrientationLockType): Promise<void>;
/**
* 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)
*/
Expand Down Expand Up @@ -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";
Expand Down
17 changes: 11 additions & 6 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2306,6 +2306,7 @@ interface TextEncoderEncodeIntoResult {
interface ToggleEventInit extends EventInit {
newState?: string;
oldState?: string;
source?: Element | null;
}

interface TouchEventInit extends EventModifierInit {
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -30615,7 +30620,7 @@ interface ScreenOrientation extends EventTarget {
*/
lock(orientation: OrientationLockType): Promise<void>;
/**
* 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)
*/
Expand Down Expand Up @@ -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";
Expand Down
17 changes: 11 additions & 6 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2306,6 +2306,7 @@ interface TextEncoderEncodeIntoResult {
interface ToggleEventInit extends EventInit {
newState?: string;
oldState?: string;
source?: Element | null;
}

interface TouchEventInit extends EventModifierInit {
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -30637,7 +30642,7 @@ interface ScreenOrientation extends EventTarget {
*/
lock(orientation: OrientationLockType): Promise<void>;
/**
* 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)
*/
Expand Down Expand Up @@ -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";
Expand Down
17 changes: 11 additions & 6 deletions baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2306,6 +2306,7 @@ interface TextEncoderEncodeIntoResult {
interface ToggleEventInit extends EventInit {
newState?: string;
oldState?: string;
source?: Element | null;
}

interface TouchEventInit extends EventModifierInit {
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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)
*/
Expand Down Expand Up @@ -30637,7 +30642,7 @@ interface ScreenOrientation extends EventTarget {
*/
lock(orientation: OrientationLockType): Promise<void>;
/**
* 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)
*/
Expand Down Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion inputfiles/mdn
Submodule mdn updated 995 files
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading