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
7 changes: 4 additions & 3 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3097,7 +3097,7 @@ interface AbstractRange {
*/
readonly endOffset: number;
/**
* The read-only **`startContainer`** property of the AbstractRange interface returns the start Node for the range.
* The read-only **`startContainer`** property of the AbstractRange interface returns the Node in which the start of the range is located.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startContainer)
*/
Expand Down Expand Up @@ -8385,7 +8385,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
scrollMarginTop: string;
/**
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once, much like the padding property does for padding on an element.
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding)
*/
Expand Down Expand Up @@ -29105,7 +29105,7 @@ declare var RadioNodeList: {
*/
interface Range extends AbstractRange {
/**
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container.
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if startContainer and endContainer both refer to the same node, this node is the common ancestor container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/commonAncestorContainer)
*/
Expand Down Expand Up @@ -42383,6 +42383,7 @@ interface SVGElementTagNameMap {
}

interface MathMLElementTagNameMap {
"a": MathMLElement;
Copy link
Collaborator

Choose a reason for hiding this comment

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

(This is technically new but still not invalid, as createElementNS does return MathMLElement today. It's not adding any new interface so I'm leaving it as is.)

"annotation": MathMLElement;
"annotation-xml": MathMLElement;
"maction": MathMLElement;
Expand Down
7 changes: 4 additions & 3 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3094,7 +3094,7 @@ interface AbstractRange {
*/
readonly endOffset: number;
/**
* The read-only **`startContainer`** property of the AbstractRange interface returns the start Node for the range.
* The read-only **`startContainer`** property of the AbstractRange interface returns the Node in which the start of the range is located.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startContainer)
*/
Expand Down Expand Up @@ -8375,7 +8375,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
scrollMarginTop: string;
/**
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once, much like the padding property does for padding on an element.
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding)
*/
Expand Down Expand Up @@ -29081,7 +29081,7 @@ declare var RadioNodeList: {
*/
interface Range extends AbstractRange {
/**
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container.
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if startContainer and endContainer both refer to the same node, this node is the common ancestor container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/commonAncestorContainer)
*/
Expand Down Expand Up @@ -42357,6 +42357,7 @@ interface SVGElementTagNameMap {
}

interface MathMLElementTagNameMap {
"a": MathMLElement;
"annotation": MathMLElement;
"annotation-xml": MathMLElement;
"maction": MathMLElement;
Expand Down
7 changes: 4 additions & 3 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3094,7 +3094,7 @@ interface AbstractRange {
*/
readonly endOffset: number;
/**
* The read-only **`startContainer`** property of the AbstractRange interface returns the start Node for the range.
* The read-only **`startContainer`** property of the AbstractRange interface returns the Node in which the start of the range is located.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startContainer)
*/
Expand Down Expand Up @@ -8382,7 +8382,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
scrollMarginTop: string;
/**
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once, much like the padding property does for padding on an element.
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding)
*/
Expand Down Expand Up @@ -29102,7 +29102,7 @@ declare var RadioNodeList: {
*/
interface Range extends AbstractRange {
/**
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container.
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if startContainer and endContainer both refer to the same node, this node is the common ancestor container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/commonAncestorContainer)
*/
Expand Down Expand Up @@ -42380,6 +42380,7 @@ interface SVGElementTagNameMap {
}

interface MathMLElementTagNameMap {
"a": MathMLElement;
"annotation": MathMLElement;
"annotation-xml": MathMLElement;
"maction": MathMLElement;
Expand Down
7 changes: 4 additions & 3 deletions baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3094,7 +3094,7 @@ interface AbstractRange {
*/
readonly endOffset: number;
/**
* The read-only **`startContainer`** property of the AbstractRange interface returns the start Node for the range.
* The read-only **`startContainer`** property of the AbstractRange interface returns the Node in which the start of the range is located.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startContainer)
*/
Expand Down Expand Up @@ -8382,7 +8382,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
*/
scrollMarginTop: string;
/**
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once, much like the padding property does for padding on an element.
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding)
*/
Expand Down Expand Up @@ -29102,7 +29102,7 @@ declare var RadioNodeList: {
*/
interface Range extends AbstractRange {
/**
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if Range.startContainer and Range.endContainer both refer to the same node, this node is the common ancestor container.
* The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range. This means that if startContainer and endContainer both refer to the same node, this node is the common ancestor container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/commonAncestorContainer)
*/
Expand Down Expand Up @@ -42380,6 +42380,7 @@ interface SVGElementTagNameMap {
}

interface MathMLElementTagNameMap {
"a": MathMLElement;
"annotation": MathMLElement;
"annotation-xml": MathMLElement;
"maction": MathMLElement;
Expand Down
56 changes: 3 additions & 53 deletions inputfiles/mdn.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
{
"mdn_url": "/en-US/docs/Web/API/AbstractRange/startContainer",
"pageType": "web-api-instance-property",
"summary": "The read-only startContainer property of the AbstractRange interface returns the start Node for the range."
"summary": "The read-only startContainer property of the AbstractRange interface returns the Node in which the start of the range is located."
},
{
"mdn_url": "/en-US/docs/Web/API/AbstractRange/startOffset",
Expand Down Expand Up @@ -23169,15 +23169,10 @@
"pageType": "web-api-instance-method",
"summary": "The collapse() method of the Range interface collapses the\nRange to one of its boundary points."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/collapsed",
"pageType": "web-api-instance-property",
"summary": "The Range.collapsed read-only property returns a\nboolean flag indicating whether the start and end points of the\nRange are at the same position. It returns true if the start\nand end boundary points of the Range are the same point in the DOM,\nfalse if not."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/commonAncestorContainer",
"pageType": "web-api-instance-property",
"summary": "The Range.commonAncestorContainer read-only property\nreturns the deepest — or furthest down the document tree — Node that\ncontains both boundary points of the Range. This means that if\nRange.startContainer and Range.endContainer both refer to\nthe same node, this node is the common ancestor container."
"summary": "The Range.commonAncestorContainer read-only property\nreturns the deepest — or furthest down the document tree — Node that\ncontains both boundary points of the Range. This means that if\nstartContainer and endContainer both refer to\nthe same node, this node is the common ancestor container."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/compareBoundaryPoints",
Expand Down Expand Up @@ -23209,16 +23204,6 @@
"pageType": "web-api-instance-method",
"summary": "The Range.detach() method does nothing. It used to\ndisable the Range object and enable the browser to release associated\nresources. The method has been kept for compatibility."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/endContainer",
"pageType": "web-api-instance-property",
"summary": "The Range.endContainer read-only property returns the\nNode within which the Range ends. To change the end\nposition of a node, use the Range.setEnd() method or a similar one."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/endOffset",
"pageType": "web-api-instance-property",
"summary": "The Range.endOffset read-only property returns a number\nrepresenting where in the Range.endContainer the Range\nends."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/extractContents",
"pageType": "web-api-instance-method",
Expand Down Expand Up @@ -23294,16 +23279,6 @@
"pageType": "web-api-instance-method",
"summary": "The Range.setStartBefore() method sets the start position\nof a Range relative to another Node. The parent\nNode of the start of the Range will be the same as that\nfor the referenceNode."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/startContainer",
"pageType": "web-api-instance-property",
"summary": "The Range.startContainer read-only property returns the\nNode within which the Range starts. To change the start\nposition of a node, use one of the Range.setStart() methods."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/startOffset",
"pageType": "web-api-instance-property",
"summary": "The Range.startOffset read-only property returns a number\nrepresenting where in the startContainer the Range starts."
},
{
"mdn_url": "/en-US/docs/Web/API/Range/surroundContents",
"pageType": "web-api-instance-method",
Expand Down Expand Up @@ -28044,31 +28019,6 @@
"pageType": "web-api-interface",
"summary": "The DOM StaticRange interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don't update to reflect changes which occur within the DOM tree."
},
{
"mdn_url": "/en-US/docs/Web/API/StaticRange/collapsed",
"pageType": "web-api-instance-property",
"summary": "The collapsed read-only property\nof the StaticRange interface returns true if the range's\nstart position and end position are the same."
},
{
"mdn_url": "/en-US/docs/Web/API/StaticRange/endContainer",
"pageType": "web-api-instance-property",
"summary": "The endContainer property of the StaticRange interface returns the end Node for the range."
},
{
"mdn_url": "/en-US/docs/Web/API/StaticRange/endOffset",
"pageType": "web-api-instance-property",
"summary": "The endOffset property of the StaticRange\ninterface returns the offset into the end node of the range's end position."
},
{
"mdn_url": "/en-US/docs/Web/API/StaticRange/startContainer",
"pageType": "web-api-instance-property",
"summary": "The read-only startContainer\nproperty of the StaticRange interface returns the start\nNode for the range."
},
{
"mdn_url": "/en-US/docs/Web/API/StaticRange/startOffset",
"pageType": "web-api-instance-property",
"summary": "The read-only startOffset\nproperty of the StaticRange interface returns the offset into the start\nnode of the range's start position."
},
{
"mdn_url": "/en-US/docs/Web/API/StaticRange/StaticRange",
"pageType": "web-api-constructor",
Expand Down Expand Up @@ -41507,7 +41457,7 @@
{
"mdn_url": "/en-US/docs/Web/CSS/Reference/Properties/scroll-padding",
"pageType": "css-shorthand-property",
"summary": "The scroll-padding shorthand property sets scroll padding on all sides of an element at once, much like the padding property does for padding on an element."
"summary": "The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container."
},
{
"mdn_url": "/en-US/docs/Web/CSS/Reference/Properties/scroll-padding-block",
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

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