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
18 changes: 18 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20921,6 +20921,12 @@ interface HTMLScriptElement extends HTMLElement {
fetchPriority: "high" | "low" | "auto";
/** @deprecated */
htmlFor: string;
/**
* The **`innerText`** property of the HTMLScriptElement interface represents the text content of the <script> element. It behaves in the same way as the textContent and text properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/innerText)
*/
innerText: string;
/**
* The **`integrity`** property of the HTMLScriptElement interface is a string that contains inline metadata that a browser can use to verify that a fetched resource has been delivered without unexpected manipulation.
*
Expand Down Expand Up @@ -20951,6 +20957,12 @@ interface HTMLScriptElement extends HTMLElement {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
*/
text: string;
/**
* The **`textContent`** property of the HTMLScriptElement interface represents the inline text content of the <script> element. It behaves in the same way as the text and innerText properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/textContent)
*/
textContent: string;
/**
* The **`type`** property of the HTMLScriptElement interface is a string that reflects the type of the script.
*
Expand Down Expand Up @@ -34962,6 +34974,9 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand All @@ -34977,6 +34992,9 @@ declare var SVGTextPathElement: {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
};

/**
Expand Down
18 changes: 18 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20898,6 +20898,12 @@ interface HTMLScriptElement extends HTMLElement {
fetchPriority: "high" | "low" | "auto";
/** @deprecated */
htmlFor: string;
/**
* The **`innerText`** property of the HTMLScriptElement interface represents the text content of the <script> element. It behaves in the same way as the textContent and text properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/innerText)
*/
innerText: string;
/**
* The **`integrity`** property of the HTMLScriptElement interface is a string that contains inline metadata that a browser can use to verify that a fetched resource has been delivered without unexpected manipulation.
*
Expand Down Expand Up @@ -20928,6 +20934,12 @@ interface HTMLScriptElement extends HTMLElement {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
*/
text: string;
/**
* The **`textContent`** property of the HTMLScriptElement interface represents the inline text content of the <script> element. It behaves in the same way as the text and innerText properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/textContent)
*/
textContent: string;
/**
* The **`type`** property of the HTMLScriptElement interface is a string that reflects the type of the script.
*
Expand Down Expand Up @@ -34937,6 +34949,9 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand All @@ -34952,6 +34967,9 @@ declare var SVGTextPathElement: {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
};

/**
Expand Down
18 changes: 18 additions & 0 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20918,6 +20918,12 @@ interface HTMLScriptElement extends HTMLElement {
fetchPriority: "high" | "low" | "auto";
/** @deprecated */
htmlFor: string;
/**
* The **`innerText`** property of the HTMLScriptElement interface represents the text content of the <script> element. It behaves in the same way as the textContent and text properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/innerText)
*/
innerText: string;
/**
* The **`integrity`** property of the HTMLScriptElement interface is a string that contains inline metadata that a browser can use to verify that a fetched resource has been delivered without unexpected manipulation.
*
Expand Down Expand Up @@ -20948,6 +20954,12 @@ interface HTMLScriptElement extends HTMLElement {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
*/
text: string;
/**
* The **`textContent`** property of the HTMLScriptElement interface represents the inline text content of the <script> element. It behaves in the same way as the text and innerText properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/textContent)
*/
textContent: string;
/**
* The **`type`** property of the HTMLScriptElement interface is a string that reflects the type of the script.
*
Expand Down Expand Up @@ -34959,6 +34971,9 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand All @@ -34974,6 +34989,9 @@ declare var SVGTextPathElement: {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
};

/**
Expand Down
18 changes: 18 additions & 0 deletions baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20918,6 +20918,12 @@ interface HTMLScriptElement extends HTMLElement {
fetchPriority: "high" | "low" | "auto";
/** @deprecated */
htmlFor: string;
/**
* The **`innerText`** property of the HTMLScriptElement interface represents the text content of the <script> element. It behaves in the same way as the textContent and text properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/innerText)
*/
innerText: string;
/**
* The **`integrity`** property of the HTMLScriptElement interface is a string that contains inline metadata that a browser can use to verify that a fetched resource has been delivered without unexpected manipulation.
*
Expand Down Expand Up @@ -20948,6 +20954,12 @@ interface HTMLScriptElement extends HTMLElement {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
*/
text: string;
/**
* The **`textContent`** property of the HTMLScriptElement interface represents the inline text content of the <script> element. It behaves in the same way as the text and innerText properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/textContent)
*/
textContent: string;
/**
* The **`type`** property of the HTMLScriptElement interface is a string that reflects the type of the script.
*
Expand Down Expand Up @@ -34959,6 +34971,9 @@ interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand All @@ -34974,6 +34989,9 @@ declare var SVGTextPathElement: {
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;
readonly TEXTPATH_SPACINGTYPE_AUTO: 1;
readonly TEXTPATH_SPACINGTYPE_EXACT: 2;
readonly TEXTPATH_SIDETYPE_UNKNOWN: 0;
readonly TEXTPATH_SIDETYPE_LEFT: 1;
readonly TEXTPATH_SIDETYPE_RIGHT: 2;
};

/**
Expand Down
9 changes: 9 additions & 0 deletions inputfiles/patches/html.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,12 @@ removals {
member javascriptURLs // Gecko-only as of 2026-11
}
}

interface HTMLScriptElement {
property textContent {
// Spec says nullable, but that is incompatible with HTMLElement definition.
// Decide what to do with this when we actually add Trusted Types.
// See also: https://github.com/whatwg/html/pull/12195
type nullable=#false
}
}
3 changes: 1 addition & 2 deletions inputfiles/removedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@
"image": null,
"navigate": null, // WebKit only as of 2025-08
"renotify": null,
"timestamp": null,
"vibrate": null
"timestamp": null
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

Loading