From f125bb213912cdc870a3d44fef2901a5290c0e4f Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 14:10:54 -0400 Subject: [PATCH 01/12] Manual rewrite of the first three, plus preparation for others "Preparation" consists of uniformizing markup and fixing some bad tags so that an automated pass won't mess things up too much --- source | 266 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 153 insertions(+), 113 deletions(-) diff --git a/source b/source index 3cc7013f662..b141385efd8 100644 --- a/source +++ b/source @@ -600,12 +600,9 @@ interface Example { };
+
variable = object.method([optionalArgument])
-
variable = object . method( [ optionalArgument ] )
- -
-

This is a note to authors describing the usage of an interface.

-
+

This is a note to authors describing the usage of an interface.

/* this is a CSS fragment */
@@ -6909,11 +6906,13 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute empty string. Unless otherwise specified, the slot's value is the empty string.

-
element . nonce
-
-

Returns the value of the element's [[CryptographicNonce]] internal slot.

-

Can be set, to update that slot's value.

-
+
element.nonce
+

Returns the value set for element's cryptographic nonce. If the setter was not + used, this will be the value originally found in the nonce + content attribute.

+ +
element.nonce = value
+

Updates element's cryptographic nonce value.

The HTMLAllCollection { };

+
collection.length
+

Returns the number of elements in collection.

+ +
element = collection.item(index)
+
element = collection(index)
+
element = collection[index]
+

Returns the item at index index from collection (determined by + tree order).

+ +
element = collection.item(name)
+
collection = collection.item(name)
+
element = collection.namedItem(name)
+
collection = collection.namedItem(name)
+
element = collection(name)
+
collection = collection(name)
+
element = collection[name]
+
collection = collection[name]
+
+

Returns the item with ID or name name from + collection.

+ +

If there are multiple matching items, then an HTMLCollection object containing + all those elements is returned.

-
collection . length
-
-

Returns the number of elements in the collection.

-
- -
element = collection . item(index)
-
element = collection(index)
-
element = collection[index]
-
-

Returns the item with index index from the collection (determined by tree order).

-
- -
element = collection . item(name)
-
collection = collection . item(name)
-
element = collection . namedItem(name)
-
collection = collection . namedItem(name)
-
element = collection(name)
-
collection = collection(name)
-
element = collection[name]
-
collection = collection[name]
-
-

Returns the item with ID or name name from the collection.

-

If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.

Only button, form, iframe, input, map, meta, object, @@ -7592,32 +7591,33 @@ interface RadioNodeList : NodeList { };

+
collection.length
+

Returns the number of elements in collection.

-
collection . length
-
-

Returns the number of elements in the collection.

-
+
element = collection.item(index)
+
element = collection[index]
+

Returns the item at index index in collection. The items are sorted + in tree order.

-
element = collection . item(index)
-
element = collection[index]
+
element = collection.namedItem(name)
+
radioNodeList = collection.namedItem(name)
+
element = collection[name]
+
radioNodeList = collection[name]
-

Returns the item with index index from the collection. The items are sorted in tree order.

-
+

Returns the item with ID or name name from collection.

-
element = collection . namedItem(name)
-
radioNodeList = collection . namedItem(name)
-
element = collection[name]
-
radioNodeList = collection[name]
-
-

Returns the item with ID or name name from the collection.

-

If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.

+

If there are multiple matching items, then a RadioNodeList object containing all + those elements is returned.

-
radioNodeList . value [ = value ]
-
-

Returns the value of the first checked radio button represented by the object.

-

Can be set, to check the first radio button with the given value represented by the object.

-
+
radioNodeList.value
+

Returns the value of the first checked radio button represented by + radioNodeList.

+ +
radioNodeList.value = value
+

Checks the first first radio button represented by radioNodeList that has value + value.

@@ -7729,59 +7729,68 @@ interface HTMLOptionsCollection : HTMLCollection
+
collection.length
+

Returns the number of elements in collection.

-
collection . length [ = value ]
+
collection.length = value
-

Returns the number of elements in the collection.

-

When set to a smaller number, truncates the number of option elements in the corresponding container.

-

When set to a greater number, adds new blank option elements to that container.

-
+

When set to a smaller number than the existing length, truncates the number of + option elements in the container corresponding to collection.

-
element = collection . item(index)
-
element = collection[index]
-
-

Returns the item with index index from the collection. The items are sorted in tree order.

+

When set to a greater number than the existing length, adds new blank option + elements to the container corresponding to collection.

-
collection[index] = element
+
element = collection.item(index)
+
element = collection[index]
+

Returns the item at index index in collection. The items are sorted + in tree order.

+ +
collection[index] = element
-

When index is a greater number than the number of items in the collection, adds - new blank option elements in the corresponding container. -

When set to null, removes the item at index index from the collection.

-

When set to an option element, adds or replaces it at index index - from the collection.

+

When index is a greater number than the number of items in collection, + adds new blank option elements in the corresponding container.

+ +

When set to null, removes the item at index index from collection.

+ +

When set to an option element, adds or replaces it at index index in + collection.

-
element = collection . namedItem(name)
-
element = collection[name]
+
element = collection.namedItem(name)
+
element = collection[name]
-

Returns the item with ID or name name from the collection.

+

Returns the item with ID or name name from collection.

+

If there are multiple matching items, then the first is returned.

-
collection . add(element [, before ] )
+
collection.add(element[, before])

Inserts element before the node given by before.

-

The before argument can be a number, in which case element is inserted before the item with that number, or an element from the - collection, in which case element is inserted before that element.

-

If before is omitted, null, or a number out of range, then element will be added at the end of the list.

-

This method will throw a "HierarchyRequestError" DOMException if + +

The before argument can be a number, in which case element is inserted + before the item with that number, or an element from collection, in which case + element is inserted before that element.

+ +

If before is omitted, null, or a number out of range, then element will + be added at the end of the list.

+ +

Throws a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.

-
collection . remove(index)
-
-

Removes the item with index index from the collection.

-
+
collection.remove(index)
+

Removes the item with index index from collection.

-
collection . selectedIndex [ = value ]
+
collection.selectedIndex
+

Returns the index of the first selected item, if any, or −1 if there is no selected + item.

-
-

Returns the index of the first selected item, if any, or −1 if there is no selected - item.

- -

Can be set, to change the selection.

-
+
collection.selectedIndex = index
+

Changes the selection to the option element at index index in + collection.

@@ -9410,6 +9419,7 @@ partial interface Document {

Returns the date of the last modification to the document, as reported by the server, in the form "MM/DD/YYYY hh:mm:ss", in the user's local time zone.

+

If the last modification date is not known, the current time is returned instead.

@@ -12241,7 +12251,9 @@ Transport Protocol">HTTP</abbr> today.</p> @@ -23263,6 +23278,7 @@ document.body.appendChild(wbr);
hyperlink . password

Returns the hyperlink's URL's password.

+

Can be set, to change the URL's password.

@@ -23271,24 +23287,28 @@ document.body.appendChild(wbr);

Returns the hyperlink's URL's host and port (if different from the default port for the scheme).

+

Can be set, to change the URL's host and port.

hyperlink . hostname

Returns the hyperlink's URL's host.

+

Can be set, to change the URL's host.

hyperlink . port

Returns the hyperlink's URL's port.

+

Can be set, to change the URL's port.

hyperlink . pathname

Returns the hyperlink's URL's path.

+

Can be set, to change the URL's path.

@@ -23296,6 +23316,7 @@ document.body.appendChild(wbr);

Returns the hyperlink's URL's query (includes leading "?" if non-empty).

+

Can be set, to change the URL's query (ignores leading "?").

@@ -23303,6 +23324,7 @@ document.body.appendChild(wbr);

Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

+

Can be set, to change the URL's fragment (ignores leading "#").

@@ -38036,6 +38058,7 @@ interface TextTrackCueList {
cuelist . getCueById( id )

Returns the first text track cue (in text track cue order) with text track cue identifier id.

+

Returns null if none of the cues have the given identifier or if the argument is the empty string.

@@ -38096,25 +38119,30 @@ interface TextTrackCue : EventTarget {
cue . id [ = value ]

Returns the text track cue identifier.

+

Can be set.

cue . startTime [ = value ]

Returns the text track cue start time, in seconds.

+

Can be set.

cue . endTime [ = value ]

Returns the text track cue end time, in seconds.

+

Returns positive Infinity for an unbounded text track cue.

+

Can be set.

cue . pauseOnExit [ = value ]

Returns true if the text track cue pause-on-exit flag is set, false otherwise.

+

Can be set.

@@ -66519,7 +66547,7 @@ interface OffscreenCanvas : EventTarget {
offscreenCanvas = new OffscreenCanvas(width, - height)
+ height)

Returns a new OffscreenCanvas object that is not linked to a placeholder canvas element, and @@ -85395,6 +85423,7 @@ interface Location { // but see also href

Returns the Location object's URL.

+

Can be set, to navigate to the given URL.

@@ -85406,6 +85435,7 @@ interface Location { // but see also protocol

Returns the Location object's URL's scheme.

+

Can be set, to navigate to the same URL with a changed scheme.

@@ -85413,24 +85443,28 @@ interface Location { // but see also
hostname

Returns the Location object's URL's host.

+

Can be set, to navigate to the same URL with a changed host.

location . port

Returns the Location object's URL's port.

+

Can be set, to navigate to the same URL with a changed port.

location . pathname

Returns the Location object's URL's path.

+

Can be set, to navigate to the same URL with a changed path.

@@ -85438,6 +85472,7 @@ interface Location { // but see also
?" if non-empty).

+

Can be set, to navigate to the same URL with a changed query (ignores leading "?").

@@ -85446,6 +85481,7 @@ interface Location { // but see also
#" if non-empty).

+

Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").

@@ -88569,10 +88605,14 @@ dictionary PageTransitionEventInit : EventInit
  • The user agent decided to not keep the Document alive in a session - history entry after unload -
  • Having iframes that are not salvageable -
  • Active WebSocket objects -
  • Aborting a Document + history entry after unload
  • + +
  • Having iframes that are not salvageable
  • + +
  • Active WebSocket objects
  • + +
  • Aborting a Document
  • @@ -98369,7 +98409,7 @@ dictionary EventSourceInit {
    source . url
    -

    Returns the URL providing the event stream. +

    Returns the URL providing the event stream.

    source . withCredentials
    @@ -101611,9 +101651,9 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalSc
    dedicatedWorkerGlobal . name
    -
    Returns dedicatedWorkerGlobal's

    Returns dedicatedWorkerGlobal's name, i.e. the value given to the - Worker constructor. Primarily useful for debugging.

    + Worker constructor. Primarily useful for debugging.

    dedicatedWorkerGlobal . postMessage(message [, @@ -101621,13 +101661,13 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalSc
    dedicatedWorkerGlobal . postMessage(message [, { transfer } ])
    -
    Clones message and transmits it to the Worker object associated with +

    Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are - to be transferred rather than cloned.

    + to be transferred rather than cloned.

    dedicatedWorkerGlobal . close()
    -
    Aborts dedicatedWorkerGlobal.
    +

    Aborts dedicatedWorkerGlobal.

    @@ -101714,15 +101754,15 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope
    sharedWorkerGlobal . name
    -
    Returns sharedWorkerGlobal's

    Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same - name.

    + name.

    sharedWorkerGlobal . close()
    -
    Aborts sharedWorkerGlobal.
    +

    Aborts sharedWorkerGlobal.

    @@ -102349,26 +102389,26 @@ enum WorkerType { "classic", "module" };
    worker = new Worker(scriptURL [, options ])
    -
    Returns a new Worker object. scriptURL will be fetched and executed +

    Returns a new Worker object. scriptURL will be fetched and executed in the background, creating a new global environment for which worker represents the communication channel. options can be used to define the name of that global environment via the name option, primarily for debugging purposes. It can also ensure this new global environment supports JavaScript modules (specify type: "module"), and if that is specified, can also be used to specify how scriptURL is fetched through - the credentials option. + the credentials option.

    worker . terminate()
    Aborts worker's associated global environment.
    worker . postMessage(message [, transfer ] ) + data-x="dom-Worker-postMessage">postMessage(message [, transfer ] )
    worker . postMessage(message [, { transfer } ] ) -
    Clones message and transmits it to worker's global environment. + data-x="dom-PostMessageOptions-transfer">transfer } ] ) +

    Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than - cloned.

    + cloned.

    @@ -102482,13 +102522,13 @@ interface SharedWorker : EventTarget {
    sharedWorker = new SharedWorker(scriptURL [, name ])
    -
    Returns a new SharedWorker object. scriptURL will be fetched and +

    Returns a new SharedWorker object. scriptURL will be fetched and executed in the background, creating a new global environment for which sharedWorker represents the communication channel. name can be used to define the name of that global environment.

    + data-x="concept-WorkerGlobalScope-name">name of that global environment.

    sharedWorker = new SharedWorker(scriptURL [, options ])
    -
    Returns a new SharedWorker object. scriptURL will be fetched and +

    Returns a new SharedWorker object. scriptURL will be fetched and executed in the background, creating a new global environment for which sharedWorker represents the communication channel. options can be used to define the name of that global environment via the SharedWorker : EventTarget { data-x="">credentials option. Note that attempting to construct a shared worker with options whose type or credentials values mismatch an existing shared worker will cause the returned sharedWorker to - fire an error event and not connect to the existing shared worker.

    + fire an error event and not connect to the existing shared worker.

    sharedWorker . port
    -
    Returns sharedWorker's MessagePort object which can be used to - communicate with the global environment.
    +

    Returns sharedWorker's MessagePort object which can be used to + communicate with the global environment.

    From 44ac3555ed73bb33600a3907889915ebedde2b89 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 15:42:41 -0400 Subject: [PATCH 02/12] Automated parse/reparse/rewrap pass Almost all wrapping changes. --- source | 611 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 300 insertions(+), 311 deletions(-) diff --git a/source b/source index b141385efd8..1e06a68169c 100644 --- a/source +++ b/source @@ -7432,10 +7432,10 @@ interface HTMLAllCollection { all those elements is returned.

    -

    Only button, form, iframe, - input, map, meta, object, - select, and textarea elements can have a name for the purpose of this - method; their name is given by the value of their name attribute.

    +

    Only button, form, iframe, input, + map, meta, object, select, and + textarea elements can have a name for the purpose of this method; their name is + given by the value of their name attribute.

    @@ -9321,9 +9321,9 @@ partial interface Document {
    document . referrer
    -

    Returns the URL of the Document - from which the user navigated to this one, unless it was blocked or there was no such document, - in which case it returns the empty string.

    +

    Returns the URL of the Document from + which the user navigated to this one, unless it was blocked or there was no such document, in + which case it returns the empty string.

    The noreferrer link type can be used to block the referrer.

    @@ -9781,13 +9781,15 @@ partial interface Document {
    document . images
    -

    Returns an HTMLCollection of the img elements in the Document.

    +

    Returns an HTMLCollection of the img elements in the + Document.

    document . embeds
    document . plugins
    -

    Return an HTMLCollection of the embed elements in the Document.

    +

    Return an HTMLCollection of the embed elements in the + Document.

    document . links
    @@ -9799,12 +9801,14 @@ partial interface Document {
    document . forms
    -

    Return an HTMLCollection of the form elements in the Document.

    +

    Return an HTMLCollection of the form elements in the + Document.

    document . scripts
    -

    Return an HTMLCollection of the script elements in the Document.

    +

    Return an HTMLCollection of the script elements in the + Document.

    @@ -9871,12 +9875,12 @@ partial interface Document {
    document . currentScript

    Returns the script element, or the SVG script element, - that is currently executing, as long as the element represents a classic script. - In the case of reentrant script execution, returns the one that most recently started executing + that is currently executing, as long as the element represents a classic script. In + the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.

    -

    Returns null if the Document is not currently executing a script - or SVG script element (e.g., because the running script is an event +

    Returns null if the Document is not currently executing a script or + SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.

    @@ -12250,11 +12254,15 @@ Transport Protocol">HTTP</abbr> today.</p> -

    These attributes return the actual rendered dimensions of the - image, or zero if the dimensions are not known.

    +

    These attributes return the actual rendered dimensions of the image, or zero if the + dimensions are not known.

    -

    They can be set, to change the corresponding content - attributes.

    +

    They can be set, to change the corresponding content attributes.

    image . naturalWidth
    @@ -27030,16 +27038,16 @@ interface HTMLImageElement : HTMLElement {
    -

    These attributes return the intrinsic dimensions of the image, - or zero if the dimensions are not known.

    +

    These attributes return the intrinsic dimensions of the image, or zero if the dimensions are + not known.

    image . complete
    -

    Returns true if the image has been completely downloaded or if - no image is specified; otherwise, returns false.

    +

    Returns true if the image has been completely downloaded or if no image is specified; + otherwise, returns false.

    image . currentSrc
    @@ -27062,10 +27070,9 @@ interface HTMLImageElement : HTMLElement {
    -

    Returns a new img element, with the width and height attributes set to the values - passed in the relevant arguments, if applicable.

    +

    Returns a new img element, with the width + and height attributes set to the values passed in the + relevant arguments, if applicable.

    @@ -32617,8 +32624,8 @@ interface HTMLVideoElement : HTMLMediaElement
    video . videoHeight
    -

    These attributes return the intrinsic dimensions of the video, - or zero if the dimensions are not known.

    +

    These attributes return the intrinsic dimensions of the video, or zero if the dimensions are + not known.

    @@ -33112,8 +33119,8 @@ interface HTMLTrackElement : HTMLElement {
    track . readyState
    -

    Returns the text track readiness state, - represented by a number from the following list:

    +

    Returns the text track readiness state, represented by a number from the + following list:

    track . NONE (0)
    @@ -33137,7 +33144,8 @@ interface HTMLTrackElement : HTMLElement {
    track . track
    -

    Returns the TextTrack object corresponding to the text track of the track element.

    +

    Returns the TextTrack object corresponding to the text track of the + track element.

    @@ -33501,7 +33509,8 @@ interface MediaError {
    media . srcObject [ = source ]
    -

    Allows the media element to be assigned a media provider object.

    +

    Allows the media element to be assigned a media provider + object.

    media . currentSrc
    @@ -36158,9 +36167,9 @@ interface MediaError {
    media . fastSeek( time )
    -

    Seeks to near the given time as fast as possible, trading precision for - speed. (To seek to a precise time, use the currentTime attribute.)

    +

    Seeks to near the given time as fast as possible, trading precision for speed. (To + seek to a precise time, use the currentTime + attribute.)

    This does nothing if the media resource has not been loaded.

    @@ -36431,7 +36440,8 @@ interface VideoTrack {
    videoTrack = media . videoTracks . getTrackById( id )
    -

    Returns the AudioTrack or VideoTrack object with the given identifier, or null if no track has that identifier.

    +

    Returns the AudioTrack or VideoTrack object with the given + identifier, or null if no track has that identifier.

    audioTrack . id
    @@ -36447,7 +36457,8 @@ interface VideoTrack {
    videoTrack . kind
    -

    Returns the category the given track falls into. The possible track categories are given below.

    +

    Returns the category the given track falls into. The possible track categories are given below.

    audioTrack . label
    @@ -37643,18 +37654,23 @@ interface TextTrackList : EventTarget {
    media . textTracks . length
    -

    Returns the number of text tracks associated with the media element (e.g. from track elements). This is the number of text tracks in the media element's list of text tracks.

    +

    Returns the number of text tracks associated with the + media element (e.g. from track elements). This is the number of text tracks in the media element's list of text + tracks.

    media . textTracks[ n ]
    -

    Returns the TextTrack object representing the nth text track in the media element's list of text tracks.

    +

    Returns the TextTrack object representing the nth text + track in the media element's list of text tracks.

    textTrack = media . textTracks . getTrackById( id )
    -

    Returns the TextTrack object with the given identifier, or null if no track has that identifier.

    +

    Returns the TextTrack object with the given identifier, or null if no track has + that identifier.

    @@ -37795,7 +37811,8 @@ interface TextTrack : EventTarget {
    textTrack . cues
    -

    Returns the text track list of cues, as a TextTrackCueList object.

    +

    Returns the text track list of cues, as a TextTrackCueList + object.

    textTrack . activeCues
    @@ -38052,14 +38069,17 @@ interface TextTrackCueList {
    cuelist[index]
    -

    Returns the text track cue with index index in the list. The cues are sorted in text track cue order.

    +

    Returns the text track cue with index index in the list. The cues are + sorted in text track cue order.

    cuelist . getCueById( id )
    -

    Returns the first text track cue (in text track cue order) with text track cue identifier id.

    +

    Returns the first text track cue (in text track cue order) with + text track cue identifier id.

    -

    Returns null if none of the cues have the given identifier or if the argument is the empty string.

    +

    Returns null if none of the cues have the given identifier or if the argument is the empty + string.

    @@ -38111,9 +38131,8 @@ interface TextTrackCue : EventTarget {
    cue . track
    -

    Returns the TextTrack object to which this - text track cue belongs, if any, or null - otherwise.

    +

    Returns the TextTrack object to which this text track cue belongs, + if any, or null otherwise.

    cue . id [ = value ]
    @@ -38141,7 +38160,8 @@ interface TextTrackCue : EventTarget {
    cue . pauseOnExit [ = value ]
    -

    Returns true if the text track cue pause-on-exit flag is set, false otherwise.

    +

    Returns true if the text track cue pause-on-exit flag is set, false + otherwise.

    Can be set.

    @@ -41539,8 +41559,8 @@ interface HTMLTableCellElement : HTMLElement {

    Returns the position of the cell in the row's cells list. - This does not necessarily correspond to the x-position of the cell in the - table, since earlier cells might cover multiple rows or columns.

    + This does not necessarily correspond to the x-position of the cell in the table, + since earlier cells might cover multiple rows or columns.

    Returns −1 if the element isn't in a row.

    @@ -43397,8 +43417,8 @@ interface HTMLFormElement : HTMLElement {
    form . elements
    -

    Returns an HTMLFormControlsCollection of the form controls in the form (excluding image - buttons for historical reasons).

    +

    Returns an HTMLFormControlsCollection of the form controls in the form + (excluding image buttons for historical reasons).

    form . length
    @@ -43411,8 +43431,8 @@ interface HTMLFormElement : HTMLElement {
    form[index]
    -

    Returns the indexth element in the form (excluding image buttons for - historical reasons).

    +

    Returns the indexth element in the form (excluding image buttons for historical + reasons).

    form[name]
    @@ -43474,7 +43494,8 @@ interface HTMLFormElement : HTMLElement {
    form . reportValidity()
    -

    Returns true if the form's controls are all valid; otherwise, returns false and informs the user.

    +

    Returns true if the form's controls are all valid; otherwise, returns false and informs the + user.

    @@ -49870,8 +49891,8 @@ You cannot submit this form when the field is incorrect.
    input . valueAsNumber [ = value ]
    -

    Returns a number representing the form control's value, - if applicable; otherwise, returns NaN.

    +

    Returns a number representing the form control's value, if applicable; otherwise, returns NaN.

    Can be set, to change the value. Setting this to NaN will set the underlying value to the empty string.

    @@ -49885,8 +49906,8 @@ You cannot submit this form when the field is incorrect.

    Changes the form control's value by the value given in - the step attribute, multiplied by n. - The default value for n is 1.

    + the step attribute, multiplied by n. The + default value for n is 1.

    Throws "InvalidStateError" DOMException if the control is neither date- or time-based nor numeric, or if the step @@ -50818,13 +50839,17 @@ interface HTMLSelectElement : HTMLElement {

    Inserts element before the node given by before.

    -

    The before argument can be a number, in which case element is inserted before the item with that number, or an element from the - list of options, in which case element is inserted before that element.

    +

    The before argument can be a number, in which case element is inserted + before the item with that number, or an element from the list of options, in which case element is + inserted before that element.

    -

    If before is omitted, null, or a number out of range, then element will be added at the end of the list.

    +

    If before is omitted, null, or a number out of range, then element will + be added at the end of the list.

    -

    This method will throw a "HierarchyRequestError" DOMException if - element is an ancestor of the element into which it is to be inserted.

    +

    This method will throw a "HierarchyRequestError" + DOMException if element is an ancestor of the element into which it is + to be inserted.

    select . selectedOptions
    @@ -51416,7 +51441,8 @@ interface HTMLOptionElement : HTMLElement {
    option . text
    -

    Same as textContent, except that spaces are collapsed and script elements are skipped.

    +

    Same as textContent, except that spaces are collapsed and script + elements are skipped.

    option = new Option( [ text [, value [, defaultSelected [, selected ] ] ] ] )
    @@ -51432,8 +51458,8 @@ interface HTMLOptionElement : HTMLElement {

    The defaultSelected argument sets the selected attribute.

    -

    The selected argument sets whether or not the element is selected. If it - is omitted, even if the defaultSelected argument is true, the element is not +

    The selected argument sets whether or not the element is selected. If it is + omitted, even if the defaultSelected argument is true, the element is not selected.

    @@ -55458,7 +55484,8 @@ MIT Room 32-G524

    Can be set, to change the direction of the selection.

    -

    The possible values are "forward", "backward", and "none".

    +

    The possible values are "forward", "backward", + and "none".

    element . setSelectionRange(start, end [, direction] )
    @@ -55471,10 +55498,11 @@ MIT Room 32-G524
    element . setRangeText(replacement [, start, end [, selectionMode ] ] )
    -

    Replaces a range of text with the new text. If the start and end arguments are not provided, the range is assumed to be the selection.

    +

    Replaces a range of text with the new text. If the start and end + arguments are not provided, the range is assumed to be the selection.

    -

    The final argument determines how the selection will be set after the text has been - replaced. The possible values are:

    +

    The final argument determines how the selection will be set after the text has been replaced. + The possible values are:

    @@ -56249,7 +56277,8 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
    element . validity . tooLong
    -

    Returns true if the element's value is longer than the provided maximum length; false otherwise.

    +

    Returns true if the element's value is longer than the provided maximum length; false + otherwise.

    element . validity . tooShort
    @@ -57468,8 +57497,8 @@ dictionary SubmitEventInit : EventInit {
    event . submitter

    Returns the element representing the submit - button that triggered the form submission, or null if the submission was - not triggered by a button.

    + button that triggered the form submission, or null if the submission was not + triggered by a button.

    @@ -57499,8 +57528,8 @@ dictionary FormDataEventInit : EventInit {

    Returns a FormData object representing names and values of elements associated - to the target form. Operations on the FormData object will affect - form data to be submitted.

    + to the target form. Operations on the FormData object will affect form + data to be submitted.

    @@ -60723,16 +60752,15 @@ callback BlobCallback = undefined (Blob? blob); indicating the desired quality level for the resulting image.

    -
    canvas . transferControlToOffscreen()
    +
    canvas . transferControlToOffscreen()
    -

    Returns a newly created OffscreenCanvas object that uses the - canvas element as a placeholder. Once the canvas element has become a - placeholder for an OffscreenCanvas object, its intrinsic size can no longer be - changed, and it cannot have a rendering context. The content of the placeholder canvas is - updated by calling the commit() method of the - OffscreenCanvas object's rendering context. +

    Returns a newly created OffscreenCanvas object that uses the canvas + element as a placeholder. Once the canvas element has become a placeholder for an + OffscreenCanvas object, its intrinsic size can no longer be changed, and it cannot + have a rendering context. The content of the placeholder canvas is updated by calling the commit() method of the OffscreenCanvas + object's rendering context.

    @@ -61168,17 +61196,14 @@ interface Path2D { channel, or false if it was forced to be opaque.
  • desynchronized - member is true if the context can be desynchronized.
  • + member is true if the context can be desynchronized.
  • colorSpace member is a string indicating the context's color space.
  • -
  • willReadFrequently - member is true if the context is marked for readback optimization.
  • +
  • willReadFrequently + member is true if the context is marked for readback optimization.
  • @@ -62042,8 +62067,8 @@ transform. ack Shaun Morris. -->

    Returns the current spacing between words in the text.

    -

    Can be set, to change spacing between words. Postive values spreads words further - apart, while negative values brings them closer together. The default is 0.

    +

    Can be set, to change spacing between words. Postive values spreads words further apart, + while negative values brings them closer together. The default is 0.

    context . fontKerning [ = value ]
    @@ -62071,8 +62096,8 @@ transform. ack Shaun Morris. -->

    Returns the current font variant caps settings.

    -

    Can be set, to change the font variant caps. The possible values and their meanings are - given below. Other values are ignored. The default is "Can be set, to change the font variant caps. The possible values and their meanings are given + below. Other values are ignored. The default is "normal".

    @@ -62710,15 +62735,15 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);

    Adds the given point to the current subpath, connected to the previous one by a quadratic - Bézier curve with the given control point.

    + Bézier curve with the given control point.

    context . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    path . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    -

    Adds the given point to the current subpath, connected to the previous one by a cubic - Bézier curve with the given control points.

    +

    Adds the given point to the current subpath, connected to the previous one by a cubic Bézier + curve with the given control points.

    context . arcTo(x1, y1, x2, y2, radius)
    @@ -62734,9 +62759,9 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
    - - - + + +
    - + -
    element . focus([ { preventScroll: true } ])
    +
    element . focus([ { preventScroll: true } ])

    Moves the focus to the element.

    @@ -75666,8 +75672,8 @@ END:VCARD
    -

    For example, to hide the outline from textarea elements and instead use - a yellow background to indicate focus, you could use:

    +

    For example, to hide the outline from textarea elements and instead use a + yellow background to indicate focus, you could use:

    textarea:focus-visible { outline: none; background: yellow; color: black; }
    @@ -77760,8 +77766,8 @@ DND-v5: DataTransferItem?

    Adds a new entry for the given data to the drag data store. If the data is plain - text then a type string has to be provided - also.

    + text then a type string has to be provided also.

    @@ -77934,8 +77939,8 @@ callback FunctionObjectCallback = undefined (any data);-->item . kind
    -

    Returns the drag data item kind, one of: "string", - "file".

    +

    Returns the drag data item kind, one of: "string", + "file".

    item . type
    @@ -77952,13 +77957,15 @@ callback FunctionObjectCallback = undefined (any data);-->file = item . getAsBlob()
    -

    Returns a Blob object, if the drag data item kind is Blob or File.

    +

    Returns a Blob object, if the drag data item kind is Blob or + File.

    -->
    file = item . getAsFile()
    -

    Returns a File object, if the drag data item kind is File.

    +

    Returns a File object, if the drag data item kind is + File.

    element . focus([ { preventScroll: true } ])
    @@ -76278,9 +76138,7 @@ body { display:none }
    element . isContentEditable
    -
    -

    Returns true if the element is editable; otherwise, returns false.

    -
    +

    Returns true if the element is editable; otherwise, returns false.

    @@ -77427,9 +77285,7 @@ interface DataTransfer {
    dataTransfer . items
    -
    -

    Returns a DataTransferItemList object, with the drag data.

    -
    +

    Returns a DataTransferItemList object, with the drag data.

    dataTransfer . setDragImage(element, x, y)
    @@ -77451,30 +77307,23 @@ interface DataTransfer {
    data = dataTransfer . getData(format)
    -
    -

    Returns the specified data. If there is no such data, returns the empty string.

    -
    +

    Returns the specified data. If there is no such data, returns the empty string.

    dataTransfer . setData(format, data)
    -
    -

    Adds the specified data.

    -
    +

    Adds the specified data.

    dataTransfer . clearData( [ format ] )
    -
    -

    Removes the data of the specified formats. Removes all data if the argument is omitted.

    -
    +

    Removes the data of the specified formats. Removes all data if the argument is + omitted.

    dataTransfer . files
    -
    -

    Returns a FileList of the files being dragged, if any.

    -
    +

    Returns a FileList of the files being dragged, if any.

    DataTransfer objects that are created as part of DataTransferItem? remove(index) -

    -

    Removes the indexth entry in the drag data store.

    -
    +

    Removes the indexth entry in the drag data store.

    items . clear()
    -
    -

    Removes all the entries in the drag data store.

    -
    +

    Removes all the entries in the drag data store.

    items . add(data)
    @@ -77944,9 +77789,7 @@ callback FunctionObjectCallback = undefined (any data);-->
    item . type
    -
    -

    Returns the drag data item type string.

    -
    +

    Returns the drag data item type string.

    item . getAsString(callback)
    @@ -78134,9 +77977,7 @@ dictionary DragEventInit : MouseEventInit {
    event . dataTransfer
    -
    -

    Returns the DataTransfer object for the event.

    -
    +

    Returns the DataTransfer object for the event.

    Although, for consistency with other event interfaces, the DragEvent @@ -79645,9 +79486,8 @@ popup4.close();

    window . top
    -
    -

    Returns the WindowProxy for the top-level browsing context.

    -
    +

    Returns the WindowProxy for the top-level browsing + context.

    window . opener [ = value ]
    @@ -79659,9 +79499,8 @@ popup4.close();
    window . parent
    -
    -

    Returns the WindowProxy for the parent browsing context.

    -
    +

    Returns the WindowProxy for the parent browsing + context.

    window . frameElement
    @@ -80675,21 +80514,15 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    window . window
    window . frames
    window . self
    -
    -

    These attributes all return window.

    -
    +

    These attributes all return window.

    window . document
    -
    -

    Returns the Document associated with window.

    -
    +

    Returns the Document associated with window.

    document . defaultView
    -
    -

    Returns the Window object of the active document.

    -
    +

    Returns the Window object of the active document.

    @@ -80767,21 +80600,15 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    window . close()
    -
    -

    Closes the window.

    -
    +

    Closes the window.

    window . closed
    -
    -

    Returns true if the window has been closed, false otherwise.

    -
    +

    Returns true if the window has been closed, false otherwise.

    window . stop()
    -
    -

    Cancels the document load.

    -
    +

    Cancels the document load.

    @@ -81130,9 +80957,7 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    window[index]
    -
    -

    Returns the indicated document-tree child browsing context.

    -
    +

    Returns the indicated document-tree child browsing context.

    @@ -81394,34 +81219,22 @@ interface BarProp {
    window . locationbar . visible
    -
    -

    Returns true if the location bar is visible; otherwise, returns false.

    -
    +

    Returns true if the location bar is visible; otherwise, returns false.

    window . menubar . visible
    -
    -

    Returns true if the menu bar is visible; otherwise, returns false.

    -
    +

    Returns true if the menu bar is visible; otherwise, returns false.

    window . personalbar . visible
    -
    -

    Returns true if the personal bar is visible; otherwise, returns false.

    -
    +

    Returns true if the personal bar is visible; otherwise, returns false.

    window . scrollbars . visible
    -
    -

    Returns true if the scrollbars are visible; otherwise, returns false.

    -
    +

    Returns true if the scrollbars are visible; otherwise, returns false.

    window . statusbar . visible
    -
    -

    Returns true if the status bar is visible; otherwise, returns false.

    -
    +

    Returns true if the status bar is visible; otherwise, returns false.

    window . toolbar . visible
    -
    -

    Returns true if the toolbar is visible; otherwise, returns false.

    -
    +

    Returns true if the toolbar is visible; otherwise, returns false.

    @@ -84731,9 +84544,7 @@ interface History {
    window . history . length
    -
    -

    Returns the number of entries in the joint session history.

    -
    +

    Returns the number of entries in the joint session history.

    window . history . scrollRestoration [ = value ]
    @@ -84747,9 +84558,7 @@ interface History {
    window . history . state
    -
    -

    Returns the current serialized state, deserialized into an object.

    -
    +

    Returns the current serialized state, deserialized into an object.

    window . history . go( [ delta ] )
    @@ -85436,9 +85245,7 @@ interface Location { // but see also
    origin -
    -

    Returns the Location object's URL's origin.

    -
    +

    Returns the Location object's URL's origin.

    location . protocol
    @@ -85495,20 +85302,14 @@ interface Location { // but see also assign(url) -
    -

    Navigates to the given URL.

    -
    +

    Navigates to the given URL.

    location . replace(url)
    -
    -

    Removes the current page from the session history and navigates to the given URL.

    -
    +

    Removes the current page from the session history and navigates to the given URL.

    location . reload()
    -
    -

    Reloads the current page.

    -
    +

    Reloads the current page.

    location . ancestorOrigins
    @@ -88517,11 +88318,9 @@ dictionary PopStateEventInit : EventInit {
    event . state
    -
    -

    Returns a copy of the information that was provided to pushState() or replaceState().

    -
    +

    Returns a copy of the information that was provided to pushState() or replaceState().

    @@ -95622,9 +95421,7 @@ document.body.appendChild(frame)
    parser = new DOMParser()
    -
    -

    Constructs a new DOMParser object.

    -
    +

    Constructs a new DOMParser object.

    document = parser . parseFromString( string, type )
    @@ -95786,10 +95583,8 @@ enum DOMParserSupportedType {
    self . clearTimeout( handle )
    -
    -

    Cancels the timeout set with setTimeout() or setInterval() identified by handle.

    -
    +

    Cancels the timeout set with setTimeout() or setInterval() identified by handle.

    handle = self . setInterval( handler [, timeout [, arguments... ] ] )
    @@ -95808,10 +95603,8 @@ enum DOMParserSupportedType {
    self . clearInterval( handle )
    -
    -

    Cancels the timeout set with setInterval() or setTimeout() identified by handle.

    -
    +

    Cancels the timeout set with setInterval() or setTimeout() identified by handle.

    Timers can be nested; after five such nested timers, however, the interval is @@ -96219,9 +96012,8 @@ function sendData(data) {

    window . alert(message)
    -
    -

    Displays a modal alert with the given message, and waits for the user to dismiss it.

    -
    +

    Displays a modal alert with the given message, and waits for the user to dismiss + it.

    result = window . confirm(message)
    @@ -96364,9 +96156,7 @@ function sendData(data) {
    window . print()
    -
    -

    Prompts the user to print the page.

    -
    +

    Prompts the user to print the page.

    @@ -97086,9 +96876,7 @@ interface Navigator {
    window . navigator . cookieEnabled
    -
    -

    Returns false if setting a cookie will be ignored, and true otherwise.

    -
    +

    Returns false if setting a cookie will be ignored, and true otherwise.

    @@ -97469,10 +97257,8 @@ dictionary ImageBitmapOptions {
    imageBitmap . close()
    -
    -

    Releases imageBitmap's underlying bitmap data.

    -
    +

    Releases imageBitmap's underlying bitmap data.

    imageBitmap . width
    @@ -98176,9 +97962,7 @@ typedef (WindowProxy or MessagePort or ServiceWo
    event . data
    -
    -

    Returns the data of the message.

    -
    +

    Returns the data of the message.

    event . origin
    @@ -98403,9 +98187,8 @@ dictionary EventSourceInit {
    source . url
    -
    -

    Returns the URL providing the event stream.

    -
    +

    Returns the URL providing the event + stream.

    source . withCredentials
    @@ -99234,9 +99017,7 @@ interface WebSocket : EventTarget {
    socket . extensions
    -
    -

    Returns the extensions selected by the server, if any.

    -
    +

    Returns the extensions selected by the server, if any.

    socket . protocol
    @@ -99253,13 +99034,10 @@ interface WebSocket : EventTarget {
    "blob"
    -
    -

    Binary data is returned in Blob form.

    -
    +

    Binary data is returned in Blob form.

    "arraybuffer"
    -
    -

    Binary data is returned in ArrayBuffer form.

    -
    +

    Binary data is returned in ArrayBuffer + form.

    Can be set, to change how binary data is returned. The default is "CloseEventInit : EventInit {

    event . wasClean
    -
    -

    Returns true if the connection closed cleanly; false otherwise.

    -
    +

    Returns true if the connection closed cleanly; false otherwise.

    event . code
    -
    -

    Returns the WebSocket connection close code provided by the server.

    -
    +

    Returns the WebSocket connection close code provided by the server.

    event . reason
    -
    -

    Returns the WebSocket connection close reason provided by the server.

    -
    +

    Returns the WebSocket connection close reason provided by the server.

    @@ -100462,15 +100234,11 @@ interface MessageChannel {
    channel . port1
    -
    -

    Returns the first MessagePort object.

    -
    +

    Returns the first MessagePort object.

    channel . port2
    -
    -

    Returns the second MessagePort object.

    -
    +

    Returns the second MessagePort object.

    @@ -100894,9 +100662,7 @@ interface BroadcastChannel : EventTarget {
    broadcastChannel . name
    -
    -

    Returns the channel name (as passed to the constructor).

    -
    +

    Returns the channel name (as passed to the constructor).

    broadcastChannel . postMessage(message)
    @@ -100907,9 +100673,8 @@ interface BroadcastChannel : EventTarget {
    broadcastChannel . close()
    -
    -

    Closes the BroadcastChannel object, opening it up to garbage collection.

    -
    +

    Closes the BroadcastChannel object, opening it up to garbage + collection.

    From 223b4edf3f9e3c3ef80a2f1357a1122320339580 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 15:56:12 -0400 Subject: [PATCH 04/12] Automated wrap all
    s in and convert inner s into s --- source | 1236 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 618 insertions(+), 618 deletions(-) diff --git a/source b/source index 702a5f3fd59..a176bdaecca 100644 --- a/source +++ b/source @@ -7766,7 +7766,7 @@ interface HTMLOptionsCollection : HTMLCollectionIf there are multiple matching items, then the first is returned.

    -
    collection.add(element[, before])
    +
    collection.add(element[, before])

    Inserts element before the node given by before.

    @@ -7930,14 +7930,14 @@ interface DOMStringList {
    -
    strings . length
    +
    strings . length

    Returns the number of strings in strings.

    -
    strings[index]
    -
    strings . item(index)
    +
    strings[index]
    +
    strings . item(index)

    Returns the string with index index from strings.

    -
    strings . contains(string)
    +
    strings . contains(string)

    Returns true if strings contains string, and false otherwise.

    @@ -9319,7 +9319,7 @@ partial interface Document {
    -
    document . referrer
    +
    document . referrer

    Returns the URL of the Document from which the user navigated to this one, unless it was blocked or there was no such document, in @@ -9341,7 +9341,7 @@ partial interface Document {

    -
    document . cookie [ = value ]
    +
    document . cookie [ = value ]

    Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.

    @@ -9415,7 +9415,7 @@ partial interface Document {
    -
    document . lastModified
    +
    document . lastModified

    Returns the date of the last modification to the document, as reported by the server, in the form "MM/DD/YYYY hh:mm:ss", in the user's local time zone.

    @@ -9473,7 +9473,7 @@ partial interface Document {
    -
    document . readyState
    +
    document . readyState

    Returns "loading" while the Document is loading, "interactive" once it is finished parsing but still loading subresources, and @@ -9587,7 +9587,7 @@ partial interface Document {

    -
    document . head
    +
    document . head

    Returns the head element.

    @@ -9607,7 +9607,7 @@ partial interface Document {
    -
    document . title [ = value ]
    +
    document . title [ = value ]

    Returns the document's title, as given by the title element for HTML and as given by the SVG title element for SVG.

    @@ -9705,7 +9705,7 @@ partial interface Document {
    -
    document . body [ = value ]
    +
    document . body [ = value ]

    Returns the body element.

    @@ -9777,33 +9777,33 @@ partial interface Document {
    -
    document . images
    +
    document . images

    Returns an HTMLCollection of the img elements in the Document.

    -
    document . embeds
    -
    document . plugins
    +
    document . embeds
    +
    document . plugins

    Return an HTMLCollection of the embed elements in the Document.

    -
    document . links
    +
    document . links

    Returns an HTMLCollection of the a and area elements in the Document that have href attributes.

    -
    document . forms
    +
    document . forms

    Return an HTMLCollection of the form elements in the Document.

    -
    document . scripts
    +
    document . scripts

    Return an HTMLCollection of the script elements in the Document.

    @@ -9846,7 +9846,7 @@ partial interface Document {
    -
    collection = document . getElementsByName(name)
    +
    collection = document . getElementsByName(name)

    Returns a NodeList of elements in the Document that have a name attribute with the value name.

    @@ -9868,7 +9868,7 @@ partial interface Document {
    -
    document . currentScript
    +
    document . currentScript

    Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In @@ -12248,7 +12248,7 @@ Transport Protocol">HTTP</abbr> today.</p> -

    hyperlink . password
    +
    hyperlink . password

    Returns the hyperlink's URL's password.

    @@ -23282,7 +23282,7 @@ document.body.appendChild(wbr);
    -
    hyperlink . host
    +
    hyperlink . host

    Returns the hyperlink's URL's host and port (if different from the default port for the scheme).

    @@ -23290,28 +23290,28 @@ document.body.appendChild(wbr);

    Can be set, to change the URL's host and port.

    -
    hyperlink . hostname
    +
    hyperlink . hostname

    Returns the hyperlink's URL's host.

    Can be set, to change the URL's host.

    -
    hyperlink . port
    +
    hyperlink . port

    Returns the hyperlink's URL's port.

    Can be set, to change the URL's port.

    -
    hyperlink . pathname
    +
    hyperlink . pathname

    Returns the hyperlink's URL's path.

    Can be set, to change the URL's path.

    -
    hyperlink . search
    +
    hyperlink . search

    Returns the hyperlink's URL's query (includes leading "?" if non-empty).

    @@ -23319,7 +23319,7 @@ document.body.appendChild(wbr);

    Can be set, to change the URL's query (ignores leading "?").

    -
    hyperlink . hash
    +
    hyperlink . hash

    Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

    @@ -27012,8 +27012,8 @@ interface HTMLImageElement : HTMLElement {
    -
    image . width [ = value ]
    -
    image . height [ = value ]
    +
    image . width [ = value ]
    +
    image . height [ = value ]
    @@ -27023,8 +27023,8 @@ interface HTMLImageElement : HTMLElement {

    They can be set, to change the corresponding content attributes.

    -
    image . naturalWidth
    -
    image . naturalHeight
    +
    image . naturalWidth
    +
    image . naturalHeight
    @@ -27032,7 +27032,7 @@ interface HTMLImageElement : HTMLElement { not known.

    -
    image . complete
    +
    image . complete
    @@ -27040,11 +27040,11 @@ interface HTMLImageElement : HTMLElement { otherwise, returns false.

    -
    image . currentSrc
    +
    image . currentSrc

    Returns the image's absolute URL.

    -
    image . decode()
    +
    image . decode()

    This method causes the user agent to decode the @@ -27054,7 +27054,7 @@ interface HTMLImageElement : HTMLElement { DOMException if the image cannot be decoded.

    -
    image = new Image( [ width [, height ] ] )
    +
    image = new Image( [ width [, height ] ] )
    @@ -32608,8 +32608,8 @@ interface HTMLVideoElement : HTMLMediaElement
    -
    video . videoWidth
    -
    video . videoHeight
    +
    video . videoWidth
    +
    video . videoHeight

    These attributes return the intrinsic dimensions of the video, or zero if the dimensions are @@ -32853,7 +32853,7 @@ interface HTMLAudioElement : HTMLMediaElement

    -
    audio = new Audio( [ url ] )
    +
    audio = new Audio( [ url ] )

    Returns a new audio element, with the src @@ -33105,23 +33105,23 @@ interface HTMLTrackElement : HTMLElement {

    -
    track . readyState
    +
    track . readyState

    Returns the text track readiness state, represented by a number from the following list:

    -
    track . NONE (0)
    +
    track . NONE (0)

    The text track not loaded state.

    -
    track . LOADING (1)
    +
    track . LOADING (1)

    The text track loading state.

    -
    track . LOADED (2)
    +
    track . LOADED (2)

    The text track loaded state.

    -
    track . ERROR (3)
    +
    track . ERROR (3)

    The text track failed to load state.

    -
    track . track
    +
    track . track

    Returns the TextTrack object corresponding to the text track of the @@ -33328,7 +33328,7 @@ interface HTMLMediaElement : HTMLElement {

    -
    media . error
    +
    media . error

    Returns a MediaError object representing the current error state of the @@ -33362,11 +33362,11 @@ interface MediaError {

    -
    media . error . code
    +
    media . error . code

    Returns the current error's error code, from the list below.

    -
    media . error . message
    +
    media . error . message

    Returns a specific informative diagnostic message about the error condition encountered. The @@ -33484,14 +33484,14 @@ interface MediaError {

    -
    media . srcObject [ = source ]
    +
    media . srcObject [ = source ]

    Allows the media element to be assigned a media provider object.

    -
    media . currentSrc
    +
    media . currentSrc

    Returns the URL of the current media resource, if any.

    @@ -33556,7 +33556,7 @@ interface MediaError {
    -
    media . canPlayType(type)
    +
    media . canPlayType(type)

    Returns the empty string (a negative response), "maybe", or "probably" based on how confident @@ -33624,7 +33624,7 @@ interface MediaError {

    -
    media . networkState
    +
    media . networkState

    Returns the current state of network activity for the element, from the codes in the list @@ -33678,7 +33678,7 @@ interface MediaError {

    -
    media . load()
    +
    media . load()

    Causes the element to reset and start selecting and loading a new media resource @@ -34774,7 +34774,7 @@ interface MediaError {

    -
    media . buffered
    +
    media . buffered

    Returns a TimeRanges object that represents the ranges of the media @@ -34812,7 +34812,7 @@ interface MediaError {

    -
    media . duration
    +
    media . duration

    Returns the length of the media resource, in seconds, assuming that the start of @@ -34823,7 +34823,7 @@ interface MediaError {

    Returns Infinity for unbounded streams.

    -
    media . currentTime [ = value ]
    +
    media . currentTime [ = value ]

    Returns the official playback position, in seconds.

    @@ -35067,7 +35067,7 @@ interface MediaError {
    -
    media . readyState
    +
    media . readyState

    Returns a value that expresses the current state of the element with respect to rendering the @@ -35350,15 +35350,15 @@ interface MediaError {

    -
    media . paused
    +
    media . paused

    Returns true if playback is paused; false otherwise.

    -
    media . ended
    +
    media . ended

    Returns true if playback has reached the end of the media resource.

    -
    media . defaultPlaybackRate [ = value ]
    +
    media . defaultPlaybackRate [ = value ]

    Returns the default rate of playback, for when the user is not fast-forwarding or reversing @@ -35371,7 +35371,7 @@ interface MediaError { will be returned to the default rate of playback.

    -
    media . playbackRate [ = value ]
    +
    media . playbackRate [ = value ]

    Returns the current rate playback, where 1.0 is normal speed.

    @@ -35379,7 +35379,7 @@ interface MediaError {

    Can be set, to change the rate of playback.

    -
    media . preservesPitch
    +
    media . preservesPitch

    Returns true if pitch-preserving algorithms are used when the MediaError { aesthetic and performance reasons.

    -
    media . played
    +
    media . played

    Returns a TimeRanges object that represents the ranges of the media resource that the user agent has played.

    -
    media . play()
    +
    media . play()

    Sets the paused attribute to false, loading the @@ -35405,7 +35405,7 @@ interface MediaError { restart it from the start.

    -
    media . pause()
    +
    media . pause()

    Sets the paused attribute to true, loading the @@ -36125,18 +36125,18 @@ interface MediaError {

    -
    media . seeking
    +
    media . seeking

    Returns true if the user agent is currently seeking.

    -
    media . seekable
    +
    media . seekable

    Returns a TimeRanges object that represents the ranges of the media resource to which it is possible for the user agent to seek.

    -
    media . fastSeek( time )
    +
    media . fastSeek( time )

    Seeks to near the given time as fast as possible, trading precision for speed. (To @@ -36311,14 +36311,14 @@ interface MediaError {

    -
    media . audioTracks
    +
    media . audioTracks

    Returns an AudioTrackList object representing the audio tracks available in the media resource.

    -
    media . videoTracks
    +
    media . videoTracks

    Returns a VideoTrackList object representing the video tracks available in the @@ -36394,26 +36394,26 @@ interface VideoTrack {

    -
    media . audioTracks . length
    -
    media . videoTracks . length
    +
    media . audioTracks . length
    +
    media . videoTracks . length

    Returns the number of tracks in the list.

    -
    audioTrack = media . audioTracks[index]
    -
    videoTrack = media . videoTracks[index]
    +
    audioTrack = media . audioTracks[index]
    +
    videoTrack = media . videoTracks[index]

    Returns the specified AudioTrack or VideoTrack object.

    -
    audioTrack = media . audioTracks . getTrackById( id )
    -
    videoTrack = media . videoTracks . getTrackById( id )
    +
    audioTrack = media . audioTracks . getTrackById( id )
    +
    videoTrack = media . videoTracks . getTrackById( id )

    Returns the AudioTrack or VideoTrack object with the given identifier, or null if no track has that identifier.

    -
    audioTrack . id
    -
    videoTrack . id
    +
    audioTrack . id
    +
    videoTrack . id

    Returns the ID of the given track. This is the ID that can be used with a VideoTrack { syntax, and that can be used with the getTrackById() method.

    -
    audioTrack . kind
    -
    videoTrack . kind
    +
    audioTrack . kind
    +
    videoTrack . kind

    Returns the category the given track falls into. The possible track categories are given below.

    -
    audioTrack . label
    -
    videoTrack . label
    +
    audioTrack . label
    +
    videoTrack . label

    Returns the label of the given track, if known, or the empty string otherwise.

    -
    audioTrack . language
    -
    videoTrack . language
    +
    audioTrack . language
    +
    videoTrack . language

    Returns the language of the given track, if known, or the empty string otherwise.

    -
    audioTrack . enabled [ = value ]
    +
    audioTrack . enabled [ = value ]

    Returns true if the given track is active, and false otherwise.

    @@ -36446,12 +36446,12 @@ interface VideoTrack { enabled simultaneously, they are mixed.

    -
    media . videoTracks . selectedIndex
    +
    media . videoTracks . selectedIndex

    Returns the index of the currently selected track, if any, or −1 otherwise.

    -
    videoTrack . selected [ = value ]
    +
    videoTrack . selected [ = value ]

    Returns true if the given track is active, and false otherwise.

    @@ -37613,7 +37613,7 @@ interface TextTrackList : EventTarget {
    -
    media . textTracks . length
    +
    media . textTracks . length

    Returns the number of text tracks associated with the media element (e.g. from track elements). This is the number of TextTrackList : EventTarget { tracks.

    -
    media . textTracks[ n ]
    +
    media . textTracks[ n ]

    Returns the TextTrack object representing the nth text track in the media element's list of text tracks.

    -
    textTrack = media . textTracks . getTrackById( id )
    +
    textTrack = media . textTracks . getTrackById( id )

    Returns the TextTrack object with the given identifier, or null if no track has @@ -37706,26 +37706,26 @@ interface TextTrack : EventTarget {

    -
    textTrack = media . addTextTrack( kind [, label [, language ] ] )
    +
    textTrack = media . addTextTrack( kind [, label [, language ] ] )

    Creates and returns a new TextTrack object, which is also added to the media element's list of text tracks.

    -
    textTrack . kind
    +
    textTrack . kind

    Returns the text track kind string.

    -
    textTrack . label
    +
    textTrack . label

    Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).

    -
    textTrack . language
    +
    textTrack . language

    Returns the text track language string.

    -
    textTrack . id
    +
    textTrack . id

    Returns the ID of the given track.

    @@ -37738,10 +37738,10 @@ interface TextTrack : EventTarget { ID of the track element.

    -
    textTrack . inBandMetadataTrackDispatchType
    +
    textTrack . inBandMetadataTrackDispatchType

    Returns the text track in-band metadata track dispatch type string.

    -
    textTrack . mode [ = value ]
    +
    textTrack . mode [ = value ]

    Returns the text track mode, represented by a string from the following list:

    @@ -37758,24 +37758,24 @@ interface TextTrack : EventTarget {

    Can be set, to change the mode.

    -
    textTrack . cues
    +
    textTrack . cues

    Returns the text track list of cues, as a TextTrackCueList object.

    -
    textTrack . activeCues
    +
    textTrack . activeCues

    Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.

    -
    textTrack . addCue( cue )
    +
    textTrack . addCue( cue )

    Adds the given cue to textTrack's text track list of cues.

    -
    textTrack . removeCue( cue )
    +
    textTrack . removeCue( cue )

    Removes the given cue from textTrack's text track list of cues.

    @@ -38009,16 +38009,16 @@ interface TextTrackCueList {
    -
    cuelist . length
    +
    cuelist . length

    Returns the number of cues in the list.

    -
    cuelist[index]
    +
    cuelist[index]

    Returns the text track cue with index index in the list. The cues are sorted in text track cue order.

    -
    cuelist . getCueById( id )
    +
    cuelist . getCueById( id )

    Returns the first text track cue (in text track cue order) with text track cue identifier id.

    @@ -38074,27 +38074,27 @@ interface TextTrackCue : EventTarget {
    -
    cue . track
    +
    cue . track

    Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.

    -
    cue . id [ = value ]
    +
    cue . id [ = value ]

    Returns the text track cue identifier.

    Can be set.

    -
    cue . startTime [ = value ]
    +
    cue . startTime [ = value ]

    Returns the text track cue start time, in seconds.

    Can be set.

    -
    cue . endTime [ = value ]
    +
    cue . endTime [ = value ]

    Returns the text track cue end time, in seconds.

    @@ -38103,7 +38103,7 @@ interface TextTrackCue : EventTarget {

    Can be set.

    -
    cue . pauseOnExit [ = value ]
    +
    cue . pauseOnExit [ = value ]

    Returns true if the text track cue pause-on-exit flag is set, false otherwise.

    @@ -38343,7 +38343,7 @@ red:89
    -
    media . volume [ = value ]
    +
    media . volume [ = value ]

    Returns the current playback volume, as a number in the range 0.0 to 1.0, where 0.0 is the @@ -38355,7 +38355,7 @@ red:89 value is not in the range 0.0 .. 1.0.

    -
    media . muted [ = value ]
    +
    media . muted [ = value ]

    Returns true if audio is muted, overriding the volume @@ -38466,11 +38466,11 @@ interface TimeRanges {

    -
    media . length
    +
    media . length

    Returns the number of ranges in the object.

    -
    time = media . start(index)
    +
    time = media . start(index)

    Returns the time for the start of the range with the given index.

    @@ -38479,7 +38479,7 @@ interface TimeRanges { is out of range.

    -
    time = media . end(index)
    +
    time = media . end(index)

    Returns the time for the end of the range with the given index.

    @@ -38555,7 +38555,7 @@ dictionary TrackEventInit : EventInit {
    -
    event . track
    +
    event . track

    Returns the track object (TextTrack, AudioTrack, or @@ -39202,7 +39202,7 @@ interface HTMLMapElement : HTMLElement {

    -
    map . areas
    +
    map . areas

    Returns an HTMLCollection of the area elements in the @@ -39821,9 +39821,9 @@ interface HTMLAreaElement : HTMLElement {


    -
    doc = iframe . getSVGDocument()
    -
    doc = embed . getSVGDocument()
    -
    doc = object . getSVGDocument()
    +
    doc = iframe . getSVGDocument()
    +
    doc = embed . getSVGDocument()
    +
    doc = object . getSVGDocument()

    Returns the Document object, in the case of iframe, embed, or object elements being used to embed SVG.

    @@ -40078,20 +40078,20 @@ interface HTMLTableElement : HTMLElement {
    -
    table . caption [ = value ]
    +
    table . caption [ = value ]

    Returns the table's caption element.

    Can be set, to replace the caption element.

    -
    caption = table . createCaption()
    +
    caption = table . createCaption()

    Ensures the table has a caption element, and returns it.

    -
    table . deleteCaption()
    +
    table . deleteCaption()

    Ensures the table does not have a caption element.

    -
    table . tHead [ = value ]
    +
    table . tHead [ = value ]

    Returns the table's thead element.

    @@ -40100,13 +40100,13 @@ interface HTMLTableElement : HTMLElement { DOMException.

    -
    thead = table . createTHead()
    +
    thead = table . createTHead()

    Ensures the table has a thead element, and returns it.

    -
    table . deleteTHead()
    +
    table . deleteTHead()

    Ensures the table does not have a thead element.

    -
    table . tFoot [ = value ]
    +
    table . tFoot [ = value ]

    Returns the table's tfoot element.

    @@ -40115,24 +40115,24 @@ interface HTMLTableElement : HTMLElement { DOMException.

    -
    tfoot = table . createTFoot()
    +
    tfoot = table . createTFoot()

    Ensures the table has a tfoot element, and returns it.

    -
    table . deleteTFoot()
    +
    table . deleteTFoot()

    Ensures the table does not have a tfoot element.

    -
    table . tBodies
    +
    table . tBodies

    Returns an HTMLCollection of the tbody elements of the table.

    -
    tbody = table . createTBody()
    +
    tbody = table . createTBody()

    Creates a tbody element, inserts it into the table, and returns it.

    -
    table . rows
    +
    table . rows

    Returns an HTMLCollection of the tr elements of the table.

    -
    tr = table . insertRow( [ index ] )
    +
    tr = table . insertRow( [ index ] )

    Creates a tr element, along with a tbody if required, inserts them into the table at the position given by the argument, and returns the tr.

    @@ -40144,7 +40144,7 @@ interface HTMLTableElement : HTMLElement { "IndexSizeError" DOMException.

    -
    table . deleteRow(index)
    +
    table . deleteRow(index)

    Removes the tr element with the given position in the table.

    @@ -40827,13 +40827,13 @@ interface HTMLTableSectionElement : HTMLElement -
    tbody . rows
    +
    tbody . rows

    Returns an HTMLCollection of the tr elements of the table section.

    -
    tr = tbody . insertRow( [ index ] )
    +
    tr = tbody . insertRow( [ index ] )

    Creates a tr element, inserts it into the table section at the position given by the argument, and returns the tr.

    @@ -40846,7 +40846,7 @@ interface HTMLTableSectionElement : HTMLElement"IndexSizeError" DOMException.

    -
    tbody . deleteRow(index)
    +
    tbody . deleteRow(index)

    Removes the tr element with the given position in the table section.

    @@ -41070,7 +41070,7 @@ interface HTMLTableRowElement : HTMLElement {
    -
    tr . rowIndex
    +
    tr . rowIndex

    Returns the position of the row in the table's rows @@ -41079,7 +41079,7 @@ interface HTMLTableRowElement : HTMLElement {

    Returns −1 if the element isn't in a table.

    -
    tr . sectionRowIndex
    +
    tr . sectionRowIndex

    Returns the position of the row in the table section's HTMLTableRowElement : HTMLElement {

    Returns −1 if the element isn't in a table section.

    -
    tr . cells
    +
    tr . cells

    Returns an HTMLCollection of the td and th elements of the row.

    -
    cell = tr . insertCell( [ index ] )
    +
    cell = tr . insertCell( [ index ] )

    Creates a td element, inserts it into the table row at the position given by the @@ -41107,7 +41107,7 @@ interface HTMLTableRowElement : HTMLElement { "IndexSizeError" DOMException.

    -
    tr . deleteCell(index)
    +
    tr . deleteCell(index)

    Removes the td or th element with the given position in the row.

    @@ -41482,7 +41482,7 @@ interface HTMLTableCellElement : HTMLElement {
    -
    cell . cellIndex
    +
    cell . cellIndex

    Returns the position of the cell in the row's cells list. @@ -43341,28 +43341,28 @@ interface HTMLFormElement : HTMLElement {

    -
    form . elements
    +
    form . elements

    Returns an HTMLFormControlsCollection of the form controls in the form (excluding image buttons for historical reasons).

    -
    form . length
    +
    form . length

    Returns the number of form controls in the form (excluding image buttons for historical reasons).

    -
    form[index]
    +
    form[index]

    Returns the indexth element in the form (excluding image buttons for historical reasons).

    -
    form[name]
    +
    form[name]

    Returns the form control (or, if there are several, a RadioNodeList of the form @@ -43379,7 +43379,7 @@ interface HTMLFormElement : HTMLElement { those elements is returned.

    -
    form . submit()
    +
    form . submit()

    Submits the form, bypassing interactive @@ -43387,7 +43387,7 @@ interface HTMLFormElement : HTMLElement { event.

    -
    form . requestSubmit( [ submitter ] )
    +
    form . requestSubmit( [ submitter ] )

    Requests to submit the form. Unlike submit(), this @@ -43406,15 +43406,15 @@ interface HTMLFormElement : HTMLElement { normally, buttons are excluded.

    -
    form . reset()
    +
    form . reset()

    Resets the form.

    -
    form . checkValidity()
    +
    form . checkValidity()

    Returns true if the form's controls are all valid; otherwise, returns false.

    -
    form . reportValidity()
    +
    form . reportValidity()

    Returns true if the form's controls are all valid; otherwise, returns false and informs the @@ -43790,11 +43790,11 @@ interface HTMLLabelElement : HTMLElement {

    -
    label . control
    +
    label . control

    Returns the form control that is associated with this element.

    -
    label . form
    +
    label . form

    Returns the form owner of the form control that is associated with this @@ -43840,7 +43840,7 @@ interface HTMLLabelElement : HTMLElement {

    -
    control . labels
    +
    control . labels

    Returns a NodeList of all the label elements that the form control @@ -47776,7 +47776,7 @@ ldh-str = < as defined in -

    input . indeterminate [ = value ]
    +
    input . indeterminate [ = value ]

    When set, overrides the rendering of checkbox @@ -48610,8 +48610,8 @@ ldh-str = < as defined in -

    image . width [ = value ]
    -
    image . height [ = value ]
    +
    image . width [ = value ]
    +
    image . height [ = value ]

    These attributes return the actual rendered dimensions of the image, or zero if the @@ -49764,7 +49764,7 @@ You cannot submit this form when the field is incorrect.

    -
    input . value [ = value ]
    +
    input . value [ = value ]

    Returns the current value of the form control.

    @@ -49775,7 +49775,7 @@ You cannot submit this form when the field is incorrect. set to any value other than the empty string when the control is a file upload control.

    -
    input . checked [ = value ]
    +
    input . checked [ = value ]

    Returns the current checkedness of the form @@ -49784,7 +49784,7 @@ You cannot submit this form when the field is incorrect.

    Can be set, to change the checkedness.

    -
    input . files [ = files ]
    +
    input . files [ = files ]

    Returns a FileList object listing the instance, as the result of a drag-and-drop operation.

    -
    input . valueAsDate [ = value ]
    +
    input . valueAsDate [ = value ]

    Returns a Date object representing the form control's control isn't date- or time-based.

    -
    input . valueAsNumber [ = value ]
    +
    input . valueAsNumber [ = value ]

    Returns a number representing the form control's control is neither date- or time-based nor numeric.

    -
    input . stepUp( [ n ] )
    -
    input . stepDown( [ n ] )
    +
    input . stepUp( [ n ] )
    +
    input . stepDown( [ n ] )

    Changes the form control's value by the value given in @@ -49835,7 +49835,7 @@ You cannot submit this form when the field is incorrect. attribute's value is "any".

    -
    input . list
    +
    input . list

    Returns the datalist element indicated by the list attribute.

    @@ -50710,7 +50710,7 @@ interface HTMLSelectElement : HTMLElement {
    -
    select . type
    +
    select . type

    Returns "select-multiple" if the element has a HTMLSelectElement : HTMLElement { otherwise.

    -
    select . options
    +
    select . options

    Returns an HTMLOptionsCollection of the list of options.

    -
    select . length [ = value ]
    +
    select . length [ = value ]

    Returns the number of elements in the list of options.

    @@ -50735,15 +50735,15 @@ interface HTMLSelectElement : HTMLElement { select.

    -
    element = select . item(index)
    -
    select[index]
    +
    element = select . item(index)
    +
    select[index]

    Returns the item with index index from the list of options. The items are sorted in tree order.

    -
    element = select . namedItem(name)
    +
    element = select . namedItem(name)

    Returns the first item with ID or name name from the HTMLSelectElement : HTMLElement {

    Returns null if no element with that ID could be found.

    -
    select . add(element [, before ] )
    +
    select . add(element [, before ] )

    Inserts element before the node given by before.

    @@ -50769,14 +50769,14 @@ interface HTMLSelectElement : HTMLElement { to be inserted.

    -
    select . selectedOptions
    +
    select . selectedOptions

    Returns an HTMLCollection of the list of options that are selected.

    -
    select . selectedIndex [ = value ]
    +
    select . selectedIndex [ = value ]

    Returns the index of the first selected item, if any, or −1 if there is no selected @@ -50785,7 +50785,7 @@ interface HTMLSelectElement : HTMLElement {

    Can be set, to change the selection.

    -
    select . value [ = value ]
    +
    select . value [ = value ]

    Returns the value of the first selected item, if @@ -51081,7 +51081,7 @@ interface HTMLDataListElement : HTMLElement {

    -
    datalist . options
    +
    datalist . options

    Returns an HTMLCollection of the option elements of the @@ -51334,7 +51334,7 @@ interface HTMLOptionElement : HTMLElement {

    -
    option . selected
    +
    option . selected

    Returns true if the element is selected, and false otherwise.

    @@ -51342,23 +51342,23 @@ interface HTMLOptionElement : HTMLElement {

    Can be set, to override the current state of the element.

    -
    option . index
    +
    option . index

    Returns the index of the element in its select element's options list.

    -
    option . form
    +
    option . form

    Returns the element's form element, if any, or null otherwise.

    -
    option . text
    +
    option . text

    Same as textContent, except that spaces are collapsed and script elements are skipped.

    -
    option = new Option( [ text [, value [, defaultSelected [, selected ] ] ] ] )
    +
    option = new Option( [ text [, value [, defaultSelected [, selected ] ] ] ] )

    Returns a new option element.

    @@ -51826,11 +51826,11 @@ interface HTMLTextAreaElement : HTMLElement {
    -
    textarea . type
    +
    textarea . type

    Returns the string "textarea".

    -
    textarea . value
    +
    textarea . value

    Returns the current value of the element.

    @@ -52069,21 +52069,21 @@ interface HTMLOutputElement : HTMLElement {
    -
    output . value [ = value ]
    +
    output . value [ = value ]

    Returns the element's current value.

    Can be set, to change the value.

    -
    output . defaultValue [ = value ]
    +
    output . defaultValue [ = value ]

    Returns the element's current default value.

    Can be set, to change the default value.

    -
    output . type
    +
    output . type

    Returns the string "output".

    @@ -52300,7 +52300,7 @@ interface HTMLProgressElement : HTMLElement {
    -
    progress . position
    +
    progress . position

    For a determinate progress bar (one with known current and maximum values), returns the @@ -52802,11 +52802,11 @@ interface HTMLFieldSetElement : HTMLElement {

    -
    fieldset . type
    +
    fieldset . type

    Returns the string "fieldset".

    -
    fieldset . elements
    +
    fieldset . elements

    Returns an HTMLCollection of the form controls in the element.

    @@ -52969,7 +52969,7 @@ interface HTMLLegendElement : HTMLElement {
    -
    legend . form
    +
    legend . form

    Returns the element's form element, if any, or null otherwise.

    @@ -53192,7 +53192,7 @@ interface HTMLLegendElement : HTMLElement {
    -
    element . form
    +
    element . form

    Returns the element's form owner.

    @@ -55358,11 +55358,11 @@ MIT Room 32-G524
    -
    element . select()
    +
    element . select()

    Selects everything in the text control.

    -
    element . selectionStart [ = value ]
    +
    element . selectionStart [ = value ]

    Returns the offset to the start of the selection.

    @@ -55370,7 +55370,7 @@ MIT Room 32-G524

    Can be set, to change the start of the selection.

    -
    element . selectionEnd [ = value ]
    +
    element . selectionEnd [ = value ]

    Returns the offset to the end of the selection.

    @@ -55378,7 +55378,7 @@ MIT Room 32-G524

    Can be set, to change the end of the selection.

    -
    element . selectionDirection [ = value ]
    +
    element . selectionDirection [ = value ]

    Returns the current direction of the selection.

    @@ -55389,14 +55389,14 @@ MIT Room 32-G524 and "none".

    -
    element . setSelectionRange(start, end [, direction] )
    +
    element . setSelectionRange(start, end [, direction] )

    Changes the selection to cover the given substring in the given direction. If the direction is omitted, it will be reset to be the platform default (none or forward).

    -
    element . setRangeText(replacement [, start, end [, selectionMode ] ] )
    +
    element . setRangeText(replacement [, start, end [, selectionMode ] ] )

    Replaces a range of text with the new text. If the start and end @@ -56141,14 +56141,14 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

    -
    element . willValidate
    +
    element . willValidate

    Returns true if the element will be validated when the form is submitted; false otherwise.

    -
    element . setCustomValidity(message)
    +
    element . setCustomValidity(message)

    Sets a custom error, so that the element would fail to validate. The given message is the @@ -56157,71 +56157,71 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

    If the argument is the empty string, clears the custom error.

    -
    element . validity . valueMissing
    +
    element . validity . valueMissing

    Returns true if the element has no value but is a required field; false otherwise.

    -
    element . validity . typeMismatch
    +
    element . validity . typeMismatch

    Returns true if the element's value is not in the correct syntax; false otherwise.

    -
    element . validity . patternMismatch
    +
    element . validity . patternMismatch

    Returns true if the element's value doesn't match the provided pattern; false otherwise.

    -
    element . validity . tooLong
    +
    element . validity . tooLong

    Returns true if the element's value is longer than the provided maximum length; false otherwise.

    -
    element . validity . tooShort
    +
    element . validity . tooShort

    Returns true if the element's value, if it is not the empty string, is shorter than the provided minimum length; false otherwise.

    -
    element . validity . rangeUnderflow
    +
    element . validity . rangeUnderflow

    Returns true if the element's value is lower than the provided minimum; false otherwise.

    -
    element . validity . rangeOverflow
    +
    element . validity . rangeOverflow

    Returns true if the element's value is higher than the provided maximum; false otherwise.

    -
    element . validity . stepMismatch
    +
    element . validity . stepMismatch

    Returns true if the element's value doesn't fit the rules given by the step attribute; false otherwise.

    -
    element . validity . badInput
    +
    element . validity . badInput

    Returns true if the user has provided input in the user interface that the user agent is unable to convert to a value; false otherwise.

    -
    element . validity . customError
    +
    element . validity . customError

    Returns true if the element has a custom error; false otherwise.

    -
    element . validity . valid
    +
    element . validity . valid

    Returns true if the element's value has no validity problems; false otherwise.

    -
    valid = element . checkValidity()
    +
    valid = element . checkValidity()

    Returns true if the element's value has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.

    -
    valid = element . reportValidity()
    +
    valid = element . reportValidity()

    Returns true if the element's value has no validity problems; otherwise, returns false, fires @@ -56229,7 +56229,7 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD canceled) reports the problem to the user.

    -
    element . validationMessage
    +
    element . validationMessage

    Returns the error message that would be shown to the user if the element was to be checked @@ -57383,7 +57383,7 @@ dictionary SubmitEventInit : EventInit { };

    -
    event . submitter
    +
    event . submitter

    Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button.

    @@ -57412,7 +57412,7 @@ dictionary FormDataEventInit : EventInit {
    -
    event . formData
    +
    event . formData

    Returns a FormData object representing names and values of elements associated @@ -58033,11 +58033,11 @@ interface HTMLDialogElement : HTMLElement {

    -
    dialog . show()
    +
    dialog . show()

    Displays the dialog element.

    -
    dialog . showModal()
    +
    dialog . showModal()

    Displays the dialog element and makes it the top-most modal dialog.

    @@ -58045,7 +58045,7 @@ interface HTMLDialogElement : HTMLElement {

    This method honors the autofocus attribute.

    -
    dialog . close( [ result ] )
    +
    dialog . close( [ result ] )

    Closes the dialog element.

    @@ -58053,7 +58053,7 @@ interface HTMLDialogElement : HTMLElement {

    The argument, if provided, provides a return value.

    -
    dialog . returnValue [ = result ]
    +
    dialog . returnValue [ = result ]

    Returns the dialog's return value.

    @@ -58565,7 +58565,7 @@ interface HTMLScriptElement : HTMLElement {
    -
    script . text [ = value ]
    +
    script . text [ = value ]

    Returns the child text content of the element.

    @@ -59854,7 +59854,7 @@ interface HTMLTemplateElement : HTMLElement {
    -
    template . content
    +
    template . content

    Returns the template contents (a DocumentFragment).

    @@ -60100,25 +60100,25 @@ dictionary AssignedNodesOptions { data-x="attr-slot">slot
    attribute value.

    -
    slot . name
    +
    slot . name
    Can be used to get and set slot's name.
    -
    slot . assignedNodes()
    +
    slot . assignedNodes()
    Returns slot's assigned nodes.
    -
    slot . assignedNodes({ flatten: true })
    +
    slot . assignedNodes({ flatten: true })
    Returns slot's assigned nodes, if any, and slot's children otherwise, and does the same for any slot elements encountered therein, recursively, until there are no slot elements left.
    -
    slot . assignedElements()
    +
    slot . assignedElements()
    Returns slot's assigned nodes, limited to elements.
    -
    slot . assignedElements({ flatten: true })
    +
    slot . assignedElements({ flatten: true })
    Returns the same as assignedNodes({ flatten: true }), limited to elements.
    -
    slot . assign(...nodes)
    +
    slot . assign(...nodes)

    Set slot's manually assigned nodes to the given nodes.

    @@ -60435,7 +60435,7 @@ callback BlobCallback = undefined (Blob? blob);
    -
    context = canvas . getContext(contextId [, options ] )
    +
    context = canvas . getContext(contextId [, options ] )

    Returns an object that exposes an API for drawing on the canvas. contextId specifies the desired API: "2d", "BlobCallback = undefined (Blob? blob);

    -
    url = canvas . toDataURL( [ type [, quality ] ] )
    +
    url = canvas . toDataURL( [ type [, quality ] ] )

    Returns a data: URL for the image in the @@ -60622,7 +60622,7 @@ callback BlobCallback = undefined (Blob? blob); which case the result might simply be "data:,".)

    -
    canvas . toBlob(callback [, type [, quality ] ] )
    +
    canvas . toBlob(callback [, type [, quality ] ] )

    Creates a Blob object representing a file containing the image in the canvas, @@ -60635,7 +60635,7 @@ callback BlobCallback = undefined (Blob? blob); indicating the desired quality level for the resulting image.

    -
    canvas . transferControlToOffscreen()
    +
    canvas . transferControlToOffscreen()

    Returns a newly created OffscreenCanvas object that uses the canvas @@ -61042,7 +61042,7 @@ interface Path2D { objects.

    -
    context = canvas . getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
    +
    context = canvas . getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )

    Returns a CanvasRenderingContext2D object that is permanently bound to a particular canvas element.

    @@ -61065,10 +61065,10 @@ interface Path2D { data-x="concept-canvas-will-read-frequently">readback optimization.

    -
    context . canvas
    +
    context . canvas

    Returns the canvas element.

    -
    attributes = canvas . getContextAttributes()
    +
    attributes = canvas . getContextAttributes()

    Returns an object whose:

    @@ -61429,13 +61429,13 @@ context.fillRect(100,0,50,50); // only this square remains
    depend on whether and how the rendering context is bound to a canvas element.

    -
    context . save()
    +
    context . save()

    Pushes the current state onto the stack.

    -
    context . restore()
    +
    context . restore()

    Pops the top state on the stack, restoring the context to that state.

    -
    context . reset()
    +
    context . reset()

    Resets the rendering context, which includes the backing buffer, the drawing state stack, path, and styles.

    @@ -61472,8 +61472,8 @@ context.fillRect(100,0,50,50); // only this square remains
    -
    context . lineWidth [ = value ]
    -
    styles . lineWidth [ = value ]
    +
    context . lineWidth [ = value ]
    +
    styles . lineWidth [ = value ]

    Returns the current line width.

    @@ -61482,8 +61482,8 @@ context.fillRect(100,0,50,50); // only this square remains ignored.

    -
    context . lineCap [ = value ]
    -
    styles . lineCap [ = value ]
    +
    context . lineCap [ = value ]
    +
    styles . lineCap [ = value ]

    Returns the current line cap style.

    @@ -61494,8 +61494,8 @@ context.fillRect(100,0,50,50); // only this square remains
    data-x="">round", and "square". Other values are ignored.

    -
    context . lineJoin [ = value ]
    -
    styles . lineJoin [ = value ]
    +
    context . lineJoin [ = value ]
    +
    styles . lineJoin [ = value ]

    Returns the current line join style.

    @@ -61506,8 +61506,8 @@ context.fillRect(100,0,50,50); // only this square remains data-x="">round
    ", and "miter". Other values are ignored.

    -
    context . miterLimit [ = value ]
    -
    styles . miterLimit [ = value ]
    +
    context . miterLimit [ = value ]
    +
    styles . miterLimit [ = value ]

    Returns the current miter limit ratio.

    @@ -61517,8 +61517,8 @@ context.fillRect(100,0,50,50); // only this square remains
    -
    context . setLineDash(segments)
    -
    styles . setLineDash(segments)
    +
    context . setLineDash(segments)
    +
    styles . setLineDash(segments)

    Sets the current line dash pattern (as used when stroking). The argument is a list of @@ -61526,8 +61526,8 @@ context.fillRect(100,0,50,50); // only this square remains

    -
    segments = context . getLineDash()
    -
    segments = styles . getLineDash()
    +
    segments = context . getLineDash()
    +
    segments = styles . getLineDash()

    Returns a copy of the current line dash pattern. The array returned will always have an even @@ -61535,8 +61535,8 @@ context.fillRect(100,0,50,50); // only this square remains

    -
    context . lineDashOffset
    -
    styles . lineDashOffset
    +
    context . lineDashOffset
    +
    styles . lineDashOffset

    Returns the phase offset (in the same units as the line dash pattern).

    @@ -61893,8 +61893,8 @@ transform. ack Shaun Morris. -->
    Text styles
    -
    context . font [ = value ]
    -
    styles . font [ = value ]
    +
    context . font [ = value ]
    +
    styles . font [ = value ]

    Returns the current font settings.

    @@ -61905,8 +61905,8 @@ transform. ack Shaun Morris. --> element.

    -
    context . textAlign [ = value ]
    -
    styles . textAlign [ = value ]
    +
    context . textAlign [ = value ]
    +
    styles . textAlign [ = value ]

    Returns the current text alignment settings.

    @@ -61914,8 +61914,8 @@ transform. ack Shaun Morris. --> below. Other values are ignored. The default is "start".

    -
    context . textBaseline [ = value ]
    -
    styles . textBaseline [ = value ]
    +
    context . textBaseline [ = value ]
    +
    styles . textBaseline [ = value ]

    Returns the current baseline alignment settings.

    @@ -61924,8 +61924,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-textBaseline-alphabetic">alphabetic
    ".

    -
    context . direction [ = value ]
    -
    styles . direction [ = value ]
    +
    context . direction [ = value ]
    +
    styles . direction [ = value ]

    Returns the current directionality.

    @@ -61934,8 +61934,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-direction-inherit">inherit".

    -
    context . textLetterSpacing [ = value ]
    -
    styles . textLetterSpacing [ = value ]
    +
    context . textLetterSpacing [ = value ]
    +
    styles . textLetterSpacing [ = value ]

    Returns the current spacing between characters in the text.

    @@ -61943,8 +61943,8 @@ transform. ack Shaun Morris. --> apart, while negative values brings them closer together. The default is 0.

    -
    context . textWordSpacing [ = value ]
    -
    styles . textWordSpacing [ = value ]
    +
    context . textWordSpacing [ = value ]
    +
    styles . textWordSpacing [ = value ]

    Returns the current spacing between words in the text.

    @@ -61952,8 +61952,8 @@ transform. ack Shaun Morris. --> while negative values brings them closer together. The default is 0.

    -
    context . fontKerning [ = value ]
    -
    styles . fontKerning [ = value ]
    +
    context . fontKerning [ = value ]
    +
    styles . fontKerning [ = value ]

    Returns the current font kerning settings.

    @@ -61962,8 +61962,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontKerning-auto">auto".

    -
    context . fontStretch [ = value ]
    -
    styles . fontStretch [ = value ]
    +
    context . fontStretch [ = value ]
    +
    styles . fontStretch [ = value ]

    Returns the current font stretch settings.

    @@ -61972,8 +61972,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontStretch-normal">normal".

    -
    context . fontVariantCaps [ = value ]
    -
    styles . fontVariantCaps [ = value ]
    +
    context . fontVariantCaps [ = value ]
    +
    styles . fontVariantCaps [ = value ]

    Returns the current font variant caps settings.

    @@ -61982,8 +61982,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontVariantCaps-normal">normal
    ".

    -
    context . textRendering [ = value ]
    -
    styles . textRendering [ = value ]
    +
    context . textRendering [ = value ]
    +
    styles . textRendering [ = value ]

    Returns the current text rendering settings.

    @@ -62588,45 +62588,45 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
    -
    context . moveTo(x, y)
    -
    path . moveTo(x, y)
    +
    context . moveTo(x, y)
    +
    path . moveTo(x, y)

    Creates a new subpath with the given point.

    -
    context . closePath()
    -
    path . closePath()
    +
    context . closePath()
    +
    path . closePath()

    Marks the current subpath as closed, and starts a new subpath with a point the same as the start and end of the newly closed subpath.

    -
    context . lineTo(x, y)
    -
    path . lineTo(x, y)
    +
    context . lineTo(x, y)
    +
    path . lineTo(x, y)

    Adds the given point to the current subpath, connected to the previous one by a straight line.

    -
    context . quadraticCurveTo(cpx, cpy, x, y)
    -
    path . quadraticCurveTo(cpx, cpy, x, y)
    +
    context . quadraticCurveTo(cpx, cpy, x, y)
    +
    path . quadraticCurveTo(cpx, cpy, x, y)

    Adds the given point to the current subpath, connected to the previous one by a quadratic Bézier curve with the given control point.

    -
    context . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    -
    path . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    +
    context . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    +
    path . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)

    Adds the given point to the current subpath, connected to the previous one by a cubic Bézier curve with the given control points.

    -
    context . arcTo(x1, y1, x2, y2, radius)
    -
    path . arcTo(x1, y1, x2, y2, radius)
    +
    context . arcTo(x1, y1, x2, y2, radius)
    +
    path . arcTo(x1, y1, x2, y2, radius)

    Adds an arc with the given control points and radius to the current subpath, connected to the @@ -62782,8 +62782,8 @@ try { -->

    -
    context . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    -
    path . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    +
    context . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    +
    path . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )

    Adds points to the subpath such that the arc described by the circumference of the circle @@ -62950,8 +62950,8 @@ try { -->

    -
    context . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    -
    path . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    +
    context . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    +
    path . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )

    Adds points to the subpath such that the arc described by the circumference of the ellipse @@ -62963,13 +62963,13 @@ try { radius is negative.

    -
    context . rect(x, y, w, h)
    -
    path . rect(x, y, w, h)
    +
    context . rect(x, y, w, h)
    +
    path . rect(x, y, w, h)

    Adds a new closed subpath to the path, representing the given rectangle.

    -
    context . roundRect(x, y, w, h, radii)
    -
    path . roundRect(x, y, w, h, radii)
    +
    context . roundRect(x, y, w, h, radii)
    +
    path . roundRect(x, y, w, h, radii)

    Adds a new closed subpath to the path representing the given rounded rectangle. @@ -63393,10 +63393,10 @@ try { add text to paths.

    -
    path = new Path2D()
    +
    path = new Path2D()

    Creates a new empty Path2D object.

    -
    path = new Path2D(path)
    +
    path = new Path2D(path)

    When path is a Path2D object, returns a copy.

    @@ -63404,7 +63404,7 @@ try { SVG path data.

    -
    path . addPath(path [, transform ] )
    +
    path . addPath(path [, transform ] )

    Adds to the path the path given by the argument.

    @@ -63501,56 +63501,56 @@ try {
    -
    context . scale(x, y)
    +
    context . scale(x, y)

    Changes the current transformation matrix to apply a scaling transformation with the given characteristics.

    -
    context . rotate(angle)
    +
    context . rotate(angle)

    Changes the current transformation matrix to apply a rotation transformation with the given characteristics. The angle is in radians.

    -
    context . translate(x, y)
    +
    context . translate(x, y)

    Changes the current transformation matrix to apply a translation transformation with the given characteristics.

    -
    context . transform(a, b, c, d, e, f)
    +
    context . transform(a, b, c, d, e, f)

    Changes the current transformation matrix to apply the matrix given by the arguments as described below.

    -
    matrix = context . getTransform()
    +
    matrix = context . getTransform()

    Returns a copy of the current transformation matrix, as a newly created DOMMatrix object.

    -
    context . setTransform(a, b, c, d, e, f)
    +
    context . setTransform(a, b, c, d, e, f)

    Changes the current transformation matrix to the matrix given by the arguments as described below.

    -
    context . setTransform(transform)
    +
    context . setTransform(transform)

    Changes the current transformation matrix to the matrix represented by the passed DOMMatrix2DInit dictionary.

    -
    context . resetTransform()
    +
    context . resetTransform()

    Changes the current transformation matrix to the identity matrix.

    @@ -63842,7 +63842,7 @@ try {
    -
    context . fillStyle [ = value ]
    +
    context . fillStyle [ = value ]

    Returns the current style used for filling shapes.

    @@ -63853,7 +63853,7 @@ try { CanvasPattern object. Invalid values are ignored.

    -
    context . strokeStyle [ = value ]
    +
    context . strokeStyle [ = value ]

    Returns the current style used for stroking shapes.

    @@ -64025,7 +64025,7 @@ try {
    -
    gradient . addColorStop(offset, color)
    +
    gradient . addColorStop(offset, color)

    Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset @@ -64036,14 +64036,14 @@ try { the color cannot be parsed.

    -
    gradient = context . createLinearGradient(x0, y0, x1, y1)
    +
    gradient = context . createLinearGradient(x0, y0, x1, y1)

    Returns a CanvasGradient object that represents a linear gradient that paints along the line given by the coordinates represented by the arguments.

    -
    gradient = context . createRadialGradient(x0, y0, r0, x1, y1, r1)
    +
    gradient = context . createRadialGradient(x0, y0, r0, x1, y1, r1)

    Returns a CanvasGradient object that represents a radial gradient that paints @@ -64053,7 +64053,7 @@ try { DOMException exception.

    -
    gradient = context . createConicGradient(startAngle, x, y)
    +
    gradient = context . createConicGradient(startAngle, x, y)

    Returns a CanvasGradient object that represents a conic gradient that paints clockwise along the rotation around the center represented by the arguments.

    @@ -64187,7 +64187,7 @@ try {
    -
    pattern = context . createPattern(image, repetition)
    +
    pattern = context . createPattern(image, repetition)

    Returns a CanvasPattern object that uses the given image and repeats in the @@ -64202,7 +64202,7 @@ try { data, throws an "InvalidStateError" DOMException.

    -
    pattern . setTransform(transform)
    +
    pattern . setTransform(transform)

    Sets the transformation matrix that will be used when rendering the pattern during a fill or @@ -64341,16 +64341,16 @@ try {

    -
    context . clearRect(x, y, w, h)
    +
    context . clearRect(x, y, w, h)

    Clears all pixels on the bitmap in the given rectangle to transparent black.

    -
    context . fillRect(x, y, w, h)
    +
    context . fillRect(x, y, w, h)

    Paints the given rectangle onto the bitmap, using the current fill style.

    -
    context . strokeRect(x, y, w, h)
    +
    context . strokeRect(x, y, w, h)

    Paints the box that outlines the given rectangle onto the bitmap, using the current stroke @@ -64425,33 +64425,33 @@ try {

    -
    context . fillText(text, x, y [, maxWidth ] )
    -
    context . strokeText(text, x, y [, maxWidth ] )
    +
    context . fillText(text, x, y [, maxWidth ] )
    +
    context . strokeText(text, x, y [, maxWidth ] )

    Fills or strokes (respectively) the given text at the given position. If a maximum width is provided, the text will be scaled to fit that width if necessary.

    -
    metrics = context . measureText(text)
    +
    metrics = context . measureText(text)

    Returns a TextMetrics object with the metrics of the given text in the current font.

    -
    metrics . width
    -
    metrics . actualBoundingBoxLeft
    -
    metrics . actualBoundingBoxRight
    -
    metrics . fontBoundingBoxAscent
    -
    metrics . fontBoundingBoxDescent
    -
    metrics . actualBoundingBoxAscent
    -
    metrics . actualBoundingBoxDescent
    -
    metrics . emHeightAscent
    -
    metrics . emHeightDescent
    -
    metrics . hangingBaseline
    -
    metrics . alphabeticBaseline
    -
    metrics . ideographicBaseline
    +
    metrics . width
    +
    metrics . actualBoundingBoxLeft
    +
    metrics . actualBoundingBoxRight
    +
    metrics . fontBoundingBoxAscent
    +
    metrics . fontBoundingBoxDescent
    +
    metrics . actualBoundingBoxAscent
    +
    metrics . actualBoundingBoxDescent
    +
    metrics . emHeightAscent
    +
    metrics . emHeightDescent
    +
    metrics . hangingBaseline
    +
    metrics . alphabeticBaseline
    +
    metrics . ideographicBaseline

    Returns the measurement described below.

    @@ -64660,12 +64660,12 @@ try {
    -
    context . beginPath()
    +
    context . beginPath()

    Resets the current default path.

    -
    context . fill( [ fillRule ] )
    -
    context . fill(path [, fillRule ] )
    +
    context . fill( [ fillRule ] )
    +
    context . fill(path [, fillRule ] )

    Fills the subpaths of the current default path or the given path with the @@ -64673,8 +64673,8 @@ try {

    -
    context . stroke()
    -
    context . stroke(path)
    +
    context . stroke()
    +
    context . stroke(path)

    Strokes the subpaths of the current default path or the given path with the @@ -64682,8 +64682,8 @@ try {

    -
    context . clip( [ fillRule ] )
    -
    context . clip(path [, fillRule ] )
    +
    context . clip( [ fillRule ] )
    +
    context . clip(path [, fillRule ] )

    Further constrains the clipping region to the current default path or the given @@ -64691,8 +64691,8 @@ try {

    -
    context . isPointInPath(x, y [, fillRule ] )
    -
    context . isPointInPath(path, x, y [, fillRule ] )
    +
    context . isPointInPath(x, y [, fillRule ] )
    +
    context . isPointInPath(path, x, y [, fillRule ] )

    Returns true if the given point is in the current default path or the given @@ -64700,8 +64700,8 @@ try {

    -
    context . isPointInStroke(x, y)
    -
    context . isPointInStroke(path, x, y)
    +
    context . isPointInStroke(x, y)
    +
    context . isPointInStroke(path, x, y)

    Returns true if the given point would be in the region covered by the stroke of the @@ -64885,8 +64885,8 @@ try {

    -
    context . drawFocusIfNeeded(element)
    -
    context . drawFocusIfNeeded(path, element)
    +
    context . drawFocusIfNeeded(element)
    +
    context . drawFocusIfNeeded(path, element)

    If the given element is focused, draws a focus ring around the current @@ -64894,8 +64894,8 @@ try {

    -
    context . scrollPathIntoView()
    -
    context . scrollPathIntoView(path)
    +
    context . scrollPathIntoView()
    +
    context . scrollPathIntoView(path)

    Scrolls the current default path or the given path into view. This is especially @@ -65004,9 +65004,9 @@ try {

    -
    context . drawImage(image, dx, dy)
    -
    context . drawImage(image, dx, dy, dw, dh)
    -
    context . drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
    +
    context . drawImage(image, dx, dy)
    +
    context . drawImage(image, dx, dy, dw, dh)
    +
    context . drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)

    Draws the given image onto the canvas. The arguments are interpreted as follows:

    @@ -65133,7 +65133,7 @@ try {
    Pixel manipulation
    -
    imagedata = new ImageData(sw, sh [, settings])
    +
    imagedata = new ImageData(sw, sh [, settings])

    Returns an ImageData object with the given dimensions and the color space indicated by settings. All the pixels in the returned object are transparent @@ -65143,7 +65143,7 @@ try { the width or height arguments are zero.

    -
    imagedata = new ImageData(data, sw [, sh [, settings ] ])
    +
    imagedata = new ImageData(data, sw [, sh [, settings ] ])

    Returns an ImageData object using the data provided in the Uint8ClampedArray argument, interpreted using the given @@ -65157,11 +65157,11 @@ try { data and dimensions can't be interpreted consistently, or if either dimension is zero.

    -
    imagedata = context . createImageData(imagedata)
    +
    imagedata = context . createImageData(imagedata)

    Returns an ImageData object with the same dimensions and color space as the argument. All the pixels in the returned object are transparent black.

    -
    imagedata = context . createImageData(sw, sh [, settings])
    +
    imagedata = context . createImageData(sw, sh [, settings])

    Returns an ImageData object with the given dimensions. The color space of the returned object is the color space of @@ -65172,7 +65172,7 @@ try { the width or height arguments are zero.

    -
    imagedata = context . getImageData(sx, sy, sw, sh [, settings])
    +
    imagedata = context . getImageData(sx, sy, sw, sh [, settings])

    Returns an ImageData object containing the image data for the given rectangle of the bitmap. The color space of the returned object is the

    -
    imagedata . width
    -
    imagedata . height
    +
    imagedata . width
    +
    imagedata . height

    Returns the actual dimensions of the data in the ImageData object, in pixels.

    -
    imagedata . data
    +
    imagedata . data

    Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.

    -
    imagedata . colorSpace
    +
    imagedata . colorSpace

    Returns the color space of the pixels.

    -
    context . putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])
    +
    context . putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])

    Paints the data from the given ImageData object onto the bitmap. If a dirty rectangle is provided, only the pixels from that rectangle are painted.

    @@ -65652,7 +65652,7 @@ console.log(pixels.data[2]);
    -
    context . globalAlpha [ = value ]
    +
    context . globalAlpha [ = value ]

    Returns the current alpha value applied to rendering operations.

    @@ -65662,7 +65662,7 @@ console.log(pixels.data[2]);
    -
    context . globalCompositeOperation [ = value ]
    +
    context . globalCompositeOperation [ = value ]

    Returns the current composition operation, from the values defined in Compositing and @@ -65723,7 +65723,7 @@ console.log(pixels.data[2]);

    -
    context . imageSmoothingEnabled [ = value ]
    +
    context . imageSmoothingEnabled [ = value ]

    Returns whether pattern fills and the Can be set, to change whether images are smoothed (true) or not (false).

    -
    context . imageSmoothingQuality [ = value ]
    +
    context . imageSmoothingQuality [ = value ]

    Returns the current image-smoothing-quality preference.

    @@ -65772,7 +65772,7 @@ console.log(pixels.data[2]);
    -
    context . shadowColor [ = value ]
    +
    context . shadowColor [ = value ]

    Returns the current shadow color.

    @@ -65781,8 +65781,8 @@ console.log(pixels.data[2]); ignored.

    -
    context . shadowOffsetX [ = value ]
    -
    context . shadowOffsetY [ = value ]
    +
    context . shadowOffsetX [ = value ]
    +
    context . shadowOffsetY [ = value ]

    Returns the current shadow offset.

    @@ -65790,7 +65790,7 @@ console.log(pixels.data[2]);

    Can be set, to change the shadow offset. Values that are not finite numbers are ignored.

    -
    context . shadowBlur [ = value ]
    +
    context . shadowBlur [ = value ]

    Returns the current level of blur applied to shadows.

    @@ -65902,7 +65902,7 @@ console.log(pixels.data[2]);
    -
    context . filter [ = value ]
    +
    context . filter [ = value ]

    Returns the current filter.

    @@ -66191,7 +66191,7 @@ dictionary ImageBitmapRenderingContextSettings {
    -
    context = canvas . getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
    +
    context = canvas . getContext('bitmaprenderer' [, { [ alpha: false ] } ] )

    Returns an ImageBitmapRenderingContext object that is permanently bound to a @@ -66201,11 +66201,11 @@ dictionary ImageBitmapRenderingContextSettings { provided and set to false, then the canvas is forced to always be opaque.

    -
    context . canvas
    +
    context . canvas

    Returns the canvas element that the context is bound to.

    -
    context . transferFromImageBitmap(imageBitmap)
    +
    context . transferFromImageBitmap(imageBitmap)

    Transfers the underlying bitmap data @@ -66213,7 +66213,7 @@ dictionary ImageBitmapRenderingContextSettings { canvas element to which context is bound.

    -
    context . transferFromImageBitmap(null)
    +
    context . transferFromImageBitmap(null)

    Replaces contents of the canvas element to which context is bound @@ -66434,16 +66434,16 @@ interface OffscreenCanvas : EventTarget { for offscreen canvases is defined in this specification.

    -
    offscreenCanvas = new OffscreenCanvas(width, - height)
    +
    offscreenCanvas = new OffscreenCanvas(width, + height)

    Returns a new OffscreenCanvas object that is not linked to a placeholder canvas element, and whose bitmap's size is determined by the width and height arguments.

    -
    context = offscreenCanvas . getContext(contextId [, - options ] )
    +
    context = offscreenCanvas . getContext(contextId [, + options ] )

    Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "OffscreenCanvas : EventTarget {

    -
    offscreenCanvas . width [ - = value ]
    +
    offscreenCanvas . width [ + = value ]
    -
    offscreenCanvas . height [ - = value ]
    +
    offscreenCanvas . height [ + = value ]

    These attributes return the dimensions of the OffscreenCanvas object's OffscreenCanvas : EventTarget { object's rendering context.

    -
    promise = offscreenCanvas . convertToBlob( [options] )
    +
    promise = offscreenCanvas . convertToBlob( [options] )

    Returns a promise that will fulfill with a new Blob object representing a file @@ -66729,7 +66729,7 @@ interface OffscreenCanvas : EventTarget { resulting image.

    -
    canvas . transferToImageBitmap()
    +
    canvas . transferToImageBitmap()

    Returns a newly created ImageBitmap object with the image in the @@ -66897,7 +66897,7 @@ interface OffscreenCanvasRenderingContext2D {

    -
    offscreenCanvasRenderingContext2D . commit()
    +
    offscreenCanvasRenderingContext2D . commit()

    Copies the rendering context's bitmap to the @@ -66907,7 +66907,7 @@ interface OffscreenCanvasRenderingContext2D { automatically during the event loop execution.

    -
    offscreenCanvas = offscreenCanvasRenderingContext2D . canvas
    +
    offscreenCanvas = offscreenCanvasRenderingContext2D . canvas

    Returns the associated OffscreenCanvas object.

    @@ -68110,15 +68110,15 @@ dictionary ElementDefinitionOptions {
    -
    window . customElements . define(name, - constructor)
    +
    window . customElements . define(name, + constructor)
    Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
    -
    window . customElements . define(name, constructor, - { extends: baseLocalName })
    +
    window . customElements . define(name, constructor, + { extends: baseLocalName })
    Defines a new custom element, mapping the given name to the given constructor as a customized built-in element for the element type identified by the @@ -68126,12 +68126,12 @@ dictionary ElementDefinitionOptions { DOMException will be thrown upon trying to extend a custom element or an unknown element.
    -
    window . customElements . get(name)
    +
    window . customElements . get(name)
    Retrieves the custom element constructor defined for the given name. Returns undefined if there is no custom element definition with the given name.
    -
    window . customElements . whenDefined(name)
    +
    window . customElements . whenDefined(name)
    Returns a promise that will be fulfilled with the custom element's constructor when a custom element becomes defined with the given name. (If such a custom @@ -68139,7 +68139,7 @@ dictionary ElementDefinitionOptions { promise rejected with a "SyntaxError" DOMException if not given a valid custom element name.
    -
    window . customElements . upgrade(root)
    +
    window . customElements . upgrade(root)
    Tries to upgrade all shadow-including inclusive descendant elements of root, even if they are not @@ -68962,7 +68962,7 @@ customElements.define("x-foo", class extends HTMLElement { control over internal features which the user agent provides to all elements.

    -
    element . attachInternals()
    +
    element . attachInternals()

    Returns an ElementInternals object targeting the custom element element. Throws an exception if element is not a custom @@ -69061,7 +69061,7 @@ dictionary ValidityStateFlags {

    Shadow root access
    -
    internals . shadowRoot
    +
    internals . shadowRoot

    Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise.

    @@ -69090,7 +69090,7 @@ dictionary ValidityStateFlags {
    Form-associated custom elements
    -
    internals . setFormValue(value)
    +
    internals . setFormValue(value)

    Sets both the state and submission value of internals's ValidityStateFlags {

    If value is null, the element won't participate in form submission.

    -
    internals . setFormValue(value, - state)
    +
    internals . setFormValue(value, + state)

    Sets the submission value of internals's target element to @@ -69109,12 +69109,12 @@ dictionary ValidityStateFlags {

    If value is null, the element won't participate in form submission.

    -
    internals . form
    +
    internals . form

    Returns the form owner of internals's target element.

    -
    internals . setValidity(flags, - message [, anchor ])
    +
    internals . setValidity(flags, + message [, anchor ])

    Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's validation message to message. If anchor is specified, the user agent might @@ -69123,39 +69123,39 @@ dictionary ValidityStateFlags { interactively or reportValidity() is called.

    -
    internals . setValidity({})
    +
    internals . setValidity({})

    Marks internals's target element as satisfying its constraints.

    -
    internals . - willValidate
    +
    internals . + willValidate

    Returns true if internals's target element will be validated when the form is submitted; false otherwise.

    -
    internals . validity
    +
    internals . validity

    Returns the ValidityState object for internals's target element.

    -
    internals . - validationMessage
    +
    internals . + validationMessage

    Returns the error message that would be shown to the user if internals's target element was to be checked for validity.

    -
    valid = internals . - checkValidity()
    +
    valid = internals . + checkValidity()

    Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.

    -
    valid = internals . - reportValidity()
    +
    valid = internals . + reportValidity()

    Returns true if internals's target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user.

    -
    internals . labels
    +
    internals . labels

    Returns a NodeList of all the label elements that internals's target element is associated with.

    @@ -69331,12 +69331,12 @@ dictionary ValidityStateFlags {
    Accessibility semantics
    -
    internals . role [ = value ]
    +
    internals . role [ = value ]

    Sets or retrieves the default ARIA role for internals's target element, which will be used unless the page author overrides it using the role attribute.

    -
    internals . aria* [ = value ]
    +
    internals . aria* [ = value ]

    Sets or retrieves various default ARIA states or property values for internals's target element, which will be used unless the page author overrides them using the aria-* @@ -74226,7 +74226,7 @@ END:VCARD

    -
    element . click()
    +
    element . click()

    Acts as if the element was clicked.

    @@ -75457,7 +75457,7 @@ END:VCARD
    -
    documentOrShadowRoot . activeElement
    +
    documentOrShadowRoot . activeElement

    Returns the deepest element in the document through which or to which key events are being @@ -75477,7 +75477,7 @@ END:VCARD shadow-including inclusive ancestor of the focused element, and null if not.

    -
    document . hasFocus()
    +
    document . hasFocus()

    Returns true if key events are being routed through or to the document; otherwise, returns @@ -75485,7 +75485,7 @@ END:VCARD being focused.

    -
    window . focus()
    +
    window . focus()
    @@ -75499,7 +75499,7 @@ END:VCARD

    No effect.

    --> -
    element . focus([ { preventScroll: true } ])
    +
    element . focus([ { preventScroll: true } ])

    Moves the focus to the element.

    @@ -75512,7 +75512,7 @@ END:VCARD prevents this behavior.

    -
    element . blur()
    +
    element . blur()

    Moves the focus to the viewport. Use of this method is discouraged; if you want @@ -76123,7 +76123,7 @@ body { display:none }

    -
    element . contentEditable [ = value ]
    +
    element . contentEditable [ = value ]

    Returns "true", "false", or "

    -
    element . isContentEditable
    +
    element . isContentEditable

    Returns true if the element is editable; otherwise, returns false.

    @@ -76169,7 +76169,7 @@ body { display:none } editable: the designMode getter and setter
    -
    document . designMode [ = value ]
    +
    document . designMode [ = value ]

    Returns "on" if the document is editable, and "off" if it isn't.

    @@ -76334,7 +76334,7 @@ body { display:none }
    -
    element . spellcheck [ = value ]
    +
    element . spellcheck [ = value ]

    Returns true if the element is to have its spelling and grammar checked; otherwise, returns @@ -76588,7 +76588,7 @@ body { display:none } state.

    -
    element . autocapitalize [ = value ]
    +
    element . autocapitalize [ = value ]

    Returns the current autocapitalization state for the element, or an empty string if it hasn't @@ -77239,14 +77239,14 @@ interface DataTransfer {

    -
    dataTransfer = new DataTransfer()
    +
    dataTransfer = new DataTransfer()

    Creates a new DataTransfer object with an empty drag data store.

    -
    dataTransfer . dropEffect [ = value ]
    +
    dataTransfer . dropEffect [ = value ]

    Returns the kind of operation that is currently selected. If the kind of operation isn't one @@ -77263,7 +77263,7 @@ interface DataTransfer {

    -
    dataTransfer . effectAllowed [ = value ]
    +
    dataTransfer . effectAllowed [ = value ]

    Returns the kinds of operations that are to be allowed.

    @@ -77283,12 +77283,12 @@ interface DataTransfer {
    -
    dataTransfer . items
    +
    dataTransfer . items

    Returns a DataTransferItemList object, with the drag data.

    -
    dataTransfer . setDragImage(element, x, y)
    +
    dataTransfer . setDragImage(element, x, y)

    Uses the given element to update the drag feedback, replacing any previously specified @@ -77296,7 +77296,7 @@ interface DataTransfer {

    -
    dataTransfer . types
    +
    dataTransfer . types

    Returns a frozen array listing the formats that were set in the DataTransfer {

    -
    data = dataTransfer . getData(format)
    +
    data = dataTransfer . getData(format)

    Returns the specified data. If there is no such data, returns the empty string.

    -
    dataTransfer . setData(format, data)
    +
    dataTransfer . setData(format, data)

    Adds the specified data.

    -
    dataTransfer . clearData( [ format ] )
    +
    dataTransfer . clearData( [ format ] )

    Removes the data of the specified formats. Removes all data if the argument is omitted.

    -
    dataTransfer . files
    +
    dataTransfer . files

    Returns a FileList of the files being dragged, if any.

    @@ -77607,12 +77607,12 @@ DND-v5: DataTransferItem? -
    items . length
    +
    items . length

    Returns the number of items in the drag data store.

    -
    items[index]
    +
    items[index]

    Returns the DataTransferItem object representing the indexth entry in @@ -77620,18 +77620,18 @@ DND-v5: DataTransferItem? remove(index) +

    items . remove(index)

    Removes the indexth entry in the drag data store.

    -
    items . clear()
    +
    items . clear()

    Removes all the entries in the drag data store.

    -
    items . add(data)
    -
    items . add(data, type)
    +
    items . add(data)
    +
    items . add(data, type)

    Adds a new entry for the given data to the drag data store. If the data is plain @@ -77782,16 +77782,16 @@ callback FunctionObjectCallback = undefined (any data);--> -

    item . kind
    +
    item . kind

    Returns the drag data item kind, one of: "string", "file".

    -
    item . type
    +
    item . type

    Returns the drag data item type string.

    -
    item . getAsString(callback)
    +
    item . getAsString(callback)

    Invokes the callback with the string data as the argument, if the drag data item kind is text.

    @@ -77805,7 +77805,7 @@ callback FunctionObjectCallback = undefined (any data);--> --> -
    file = item . getAsFile()
    +
    file = item . getAsFile()

    Returns a File object, if the drag data item kind is File.

    @@ -77975,7 +77975,7 @@ dictionary DragEventInit : MouseEventInit {
    -
    event . dataTransfer
    +
    event . dataTransfer

    Returns the DataTransfer object for the event.

    @@ -78850,7 +78850,7 @@ dictionary DragEventInit : MouseEventInit {
    -
    element . draggable [ = value ]
    +
    element . draggable [ = value ]

    Returns true if the element is draggable; otherwise, returns false.

    @@ -79485,11 +79485,11 @@ popup4.close();
    the DOM
    -
    window . top
    +
    window . top

    Returns the WindowProxy for the top-level browsing context.

    -
    window . opener [ = value ]
    +
    window . opener [ = value ]

    Returns the WindowProxy for the opener browsing context.

    @@ -79498,11 +79498,11 @@ popup4.close();

    Can be set to null.

    -
    window . parent
    +
    window . parent

    Returns the WindowProxy for the parent browsing context.

    -
    window . frameElement
    +
    window . frameElement

    Returns the Element for the browsing context container.

    @@ -80511,17 +80511,17 @@ dictionary WindowPostMessageOptions : PostMessageOpt };
    -
    window . window
    -
    window . frames
    -
    window . self
    +
    window . window
    +
    window . frames
    +
    window . self

    These attributes all return window.

    -
    window . document
    +
    window . document

    Returns the Document associated with window.

    -
    document . defaultView
    +
    document . defaultView

    Returns the Window object of the active document.

    @@ -80581,7 +80581,7 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    -
    window = window . open( [ url [, target [, features ] ] ] )
    +
    window = window . open( [ url [, target [, features ] ] ] )

    Opens a window to show url (defaults to about:blank), and returns it. @@ -80590,7 +80590,7 @@ dictionary WindowPostMessageOptions : PostMessageOpt rendering of the new window.

    -
    window . name [ = value ]
    +
    window . name [ = value ]

    Returns the name of the window.

    @@ -80598,15 +80598,15 @@ dictionary WindowPostMessageOptions : PostMessageOpt

    Can be set, to change the name.

    -
    window . close()
    +
    window . close()

    Closes the window.

    -
    window . closed
    +
    window . closed

    Returns true if the window has been closed, false otherwise.

    -
    window . stop()
    +
    window . stop()

    Cancels the document load.

    @@ -80948,14 +80948,14 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    -
    window . length
    +
    window . length

    Returns the number of document-tree child browsing contexts.

    -
    window[index]
    +
    window[index]

    Returns the indicated document-tree child browsing context.

    @@ -80992,7 +80992,7 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    -
    window[name]
    +
    window[name]

    Returns the indicated element or collection of elements.

    @@ -81218,22 +81218,22 @@ interface BarProp { };
    -
    window . locationbar . visible
    +
    window . locationbar . visible

    Returns true if the location bar is visible; otherwise, returns false.

    -
    window . menubar . visible
    +
    window . menubar . visible

    Returns true if the menu bar is visible; otherwise, returns false.

    -
    window . personalbar . visible
    +
    window . personalbar . visible

    Returns true if the personal bar is visible; otherwise, returns false.

    -
    window . scrollbars . visible
    +
    window . scrollbars . visible

    Returns true if the scrollbars are visible; otherwise, returns false.

    -
    window . statusbar . visible
    +
    window . statusbar . visible

    Returns true if the status bar is visible; otherwise, returns false.

    -
    window . toolbar . visible
    +
    window . toolbar . visible

    Returns true if the toolbar is visible; otherwise, returns false.

    @@ -82055,7 +82055,7 @@ interface BarProp {
    -
    document . domain [ = domain ]
    +
    document . domain [ = domain ]

    Returns the current domain used for security checks.

    @@ -84542,11 +84542,11 @@ interface History {
    -
    window . history . length
    +
    window . history . length

    Returns the number of entries in the joint session history.

    -
    window . history . scrollRestoration [ = value ]
    +
    window . history . scrollRestoration [ = value ]

    Returns the scroll restoration mode of the @@ -84556,11 +84556,11 @@ interface History { mode of the current entry in the session history.

    -
    window . history . state
    +
    window . history . state

    Returns the current serialized state, deserialized into an object.

    -
    window . history . go( [ delta ] )
    +
    window . history . go( [ delta ] )

    Goes back or forward the specified number of steps in the joint session @@ -84571,7 +84571,7 @@ interface History {

    If the delta is out of range, does nothing.

    -
    window . history . back()
    +
    window . history . back()

    Goes back one step in the joint session history.

    @@ -84579,7 +84579,7 @@ interface History {

    If there is no previous page, does nothing.

    -
    window . history . forward()
    +
    window . history . forward()

    Goes forward one step in the joint session history.

    @@ -84587,7 +84587,7 @@ interface History {

    If there is no next page, does nothing.

    -
    window . history . pushState(data, ""[, url])
    +
    window . history . pushState(data, ""[, url])

    Pushes the given data onto the session history, and, if provided and not null, the given URL. @@ -84595,7 +84595,7 @@ interface History { string is traditional.)

    -
    window . history . replaceState(data, ""[, url])
    +
    window . history . replaceState(data, ""[, url])

    Updates the current entry in the session history to have the given data, and if provided and @@ -85187,8 +85187,8 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O

    -
    document . location [ = value ]
    -
    window . location [ = value ]
    +
    document . location [ = value ]
    +
    window . location [ = value ]

    Returns a Location object with the current page's location.

    @@ -85236,25 +85236,25 @@ interface Location { // but see also -
    location . toString()
    -
    location . href
    +
    location . toString()
    +
    location . href

    Returns the Location object's URL.

    Can be set, to navigate to the given URL.

    -
    location . origin
    +
    location . origin

    Returns the Location object's URL's origin.

    -
    location . protocol
    +
    location . protocol

    Returns the Location object's URL's scheme.

    Can be set, to navigate to the same URL with a changed scheme.

    -
    location . host
    +
    location . host

    Returns the Location object's URL's host and port (if different from the default port for the scheme).

    @@ -85262,28 +85262,28 @@ interface Location { // but see also
    hostname +
    location . hostname

    Returns the Location object's URL's host.

    Can be set, to navigate to the same URL with a changed host.

    -
    location . port
    +
    location . port

    Returns the Location object's URL's port.

    Can be set, to navigate to the same URL with a changed port.

    -
    location . pathname
    +
    location . pathname

    Returns the Location object's URL's path.

    Can be set, to navigate to the same URL with a changed path.

    -
    location . search
    +
    location . search

    Returns the Location object's URL's query (includes leading "?" if non-empty).

    @@ -85292,7 +85292,7 @@ interface Location { // but see also
    ?").

    -
    location . hash
    +
    location . hash

    Returns the Location object's URL's fragment (includes leading "#" if non-empty).

    @@ -85301,17 +85301,17 @@ interface Location { // but see also
    #").

    -
    location . assign(url)
    +
    location . assign(url)

    Navigates to the given URL.

    -
    location . replace(url)
    +
    location . replace(url)

    Removes the current page from the session history and navigates to the given URL.

    -
    location . reload()
    +
    location . reload()

    Reloads the current page.

    -
    location . ancestorOrigins
    +
    location . ancestorOrigins

    Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing @@ -88316,7 +88316,7 @@ dictionary PopStateEventInit : EventInit {

    -
    event . state
    +
    event . state

    Returns a copy of the information that was provided to pushState() or HashChangeEventInit : EventInit {

    -
    event . oldURL
    +
    event . oldURL

    Returns the URL of the session history entry that was previously @@ -88358,7 +88358,7 @@ dictionary HashChangeEventInit : EventInit {

    -
    event . newURL
    +
    event . newURL

    Returns the URL of the session history entry that is now @@ -88396,7 +88396,7 @@ dictionary PageTransitionEventInit : EventInit -

    event . persisted
    +
    event . persisted

    For the pageshow event, returns false if the page is @@ -92356,7 +92356,7 @@ dictionary PromiseRejectionEventInit : EventInitscript element.

    -
    modulePromise = import(specifier)
    +
    modulePromise = import(specifier)

    Returns a promise for the module namespace object for the module script @@ -92374,7 +92374,7 @@ dictionary PromiseRejectionEventInit : EventInit

    -
    url = import . meta . url
    +
    url = import . meta . url

    Returns the active module script's

    -
    result = self . btoa( data )
    +
    result = self . btoa( data )

    Takes the input data, in the form of a Unicode string containing only characters in the range @@ -94989,7 +94989,7 @@ document.body.appendChild(frame) exception if the input string contains any out-of-range characters.

    -
    result = self . atob( data )
    +
    result = self . atob( data )

    Takes the input data, in the form of a Unicode string containing base64-encoded binary data, @@ -95052,7 +95052,7 @@ document.body.appendChild(frame)

    Opening the input stream

    -
    document = document . open( )
    +
    document = document . open( )

    Causes the Document to be replaced in-place, as if it was a new Document object, but reusing the previous object, which is then returned.

    @@ -95069,7 +95069,7 @@ document.body.appendChild(frame) parser is currently executing a custom element constructor.

    -
    window = document . open( url, name, features )
    +
    window = document . open( url, name, features )

    Works like the window.open() method.

    @@ -95236,7 +95236,7 @@ document.body.appendChild(frame)
    -
    document . close()
    +
    document . close()

    Closes the input stream that was opened by the

    -
    document . write(text...)
    +
    document . write(text...)

    In general, adds the given string(s) to the Document's input stream.

    @@ -95386,7 +95386,7 @@ document.body.appendChild(frame)
    -
    document . writeln(text...)
    +
    document . writeln(text...)

    Adds the given string(s) to the Document's input stream, followed by a newline @@ -95420,10 +95420,10 @@ document.body.appendChild(frame) by parsing strings, as either HTML or XML.

    -
    parser = new DOMParser()
    +
    parser = new DOMParser()

    Constructs a new DOMParser object.

    -
    document = parser . parseFromString( string, type )
    +
    document = parser . parseFromString( string, type )

    Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" @@ -95566,14 +95566,14 @@ enum DOMParserSupportedType {

    -
    handle = self . setTimeout( handler [, timeout [, arguments... ] ] )
    +
    handle = self . setTimeout( handler [, timeout [, arguments... ] ] )

    Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.

    -
    handle = self . setTimeout( code [, timeout ] )
    +
    handle = self . setTimeout( code [, timeout ] )

    Schedules a timeout to compile and run code after timeout @@ -95586,14 +95586,14 @@ enum DOMParserSupportedType {

    Cancels the timeout set with setTimeout() or setInterval() identified by handle.

    -
    handle = self . setInterval( handler [, timeout [, arguments... ] ] )
    +
    handle = self . setInterval( handler [, timeout [, arguments... ] ] )

    Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.

    -
    handle = self . setInterval( code [, timeout ] )
    +
    handle = self . setInterval( code [, timeout ] )

    Schedules a timeout to compile and run code every timeout @@ -95879,7 +95879,7 @@ scheduleWork(); // queues a task to do lots of work

    Microtask queuing

    -
    self . queueMicrotask(callback)
    +
    self . queueMicrotask(callback)

    Queues a microtask to run the given callback.

    @@ -96011,17 +96011,17 @@ function sendData(data) {
    -
    window . alert(message)
    +
    window . alert(message)

    Displays a modal alert with the given message, and waits for the user to dismiss it.

    -
    result = window . confirm(message)
    +
    result = window . confirm(message)

    Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it, and returns true if the user clicks OK and false if the user clicks Cancel.

    -
    result = window . prompt(message [, default] )
    +
    result = window . prompt(message [, default] )

    Displays a modal text control prompt with the given message, waits for the user to dismiss it, and returns the value that the user entered. If the user cancels the prompt, then returns @@ -96154,7 +96154,7 @@ function sendData(data) {

    -
    window . print()
    +
    window . print()

    Prompts the user to print the page.

    @@ -96313,33 +96313,33 @@ interface Navigator { and unknown versions should always be assumed to be fully compliant.

    -
    self . navigator . appCodeName
    +
    self . navigator . appCodeName

    Returns the string "Mozilla".

    -
    self . navigator . appName
    +
    self . navigator . appName

    Returns the string "Netscape".

    -
    self . navigator . appVersion
    +
    self . navigator . appVersion

    Returns the version of the browser.

    -
    self . navigator . platform
    +
    self . navigator . platform

    Returns the name of the platform.

    -
    self . navigator . product
    +
    self . navigator . product

    Returns the string "Gecko".

    -
    window . navigator . productSub
    +
    window . navigator . productSub

    Returns either the string "20030107", or the string "20100101".

    -
    self . navigator . userAgent
    +
    self . navigator . userAgent

    Returns the complete `User-Agent` header.

    -
    window . navigator . vendor
    +
    window . navigator . vendor

    Returns either the empty string, the string "Apple Computer, Inc.", or the string "Google Inc.".

    -
    window . navigator . vendorSub
    +
    window . navigator . vendorSub

    Returns the empty string.

    @@ -96453,10 +96453,10 @@ interface Navigator { };
    -
    self . navigator . language
    +
    self . navigator . language

    Returns a language tag representing the user's preferred language.

    -
    self . navigator . languages
    +
    self . navigator . languages

    Returns an array of language tags representing the user's preferred languages, with the most preferred language first.

    @@ -96541,7 +96541,7 @@ interface Navigator { };
    -
    self . navigator . onLine
    +
    self . navigator . onLine

    Returns false if the user agent is definitely offline (disconnected from the network). @@ -96607,7 +96607,7 @@ interface Navigator { };

    -
    window . navigator . registerProtocolHandler(scheme, url)
    +
    window . navigator . registerProtocolHandler(scheme, url)

    Registers a handler for scheme at url. For example, an online telephone messaging service could register itself as a handler of the %s" string is missing in url.

    -
    window . navigator . unregisterProtocolHandler(scheme, url)
    +
    window . navigator . unregisterProtocolHandler(scheme, url)

    Unregisters the handler given by the arguments.

    @@ -96874,7 +96874,7 @@ interface Navigator {
    -
    window . navigator . cookieEnabled
    +
    window . navigator . cookieEnabled

    Returns false if setting a cookie will be ignored, and true otherwise.

    @@ -96891,7 +96891,7 @@ interface Navigator {
    PDF viewing support
    -
    window . navigator . pdfViewerEnabled
    +
    window . navigator . pdfViewerEnabled

    Returns true if the user agent supports inline viewing of PDF files when navigating to them, or false otherwise. In the latter case, PDF files @@ -97215,8 +97215,8 @@ dictionary ImageBitmapOptions {

    -
    promise = self . createImageBitmap(image [, options ])
    -
    promise = self . createImageBitmap(image, sx, sy, sw, sh [, options ])
    +
    promise = self . createImageBitmap(image [, options ])
    +
    promise = self . createImageBitmap(image, sx, sy, sw, sh [, options ])

    Takes image, which can be an img element, an SVG @@ -97255,19 +97255,19 @@ dictionary ImageBitmapOptions { origin).

    -
    imageBitmap . close()
    +
    imageBitmap . close()

    Releases imageBitmap's underlying bitmap data.

    -
    imageBitmap . width
    +
    imageBitmap . width

    Returns the intrinsic width of the image, in CSS pixels.

    -
    imageBitmap . height
    +
    imageBitmap . height

    Returns the intrinsic height of the image, in CSS @@ -97960,25 +97960,25 @@ typedef (WindowProxy or MessagePort or ServiceWo

    -
    event . data
    +
    event . data

    Returns the data of the message.

    -
    event . origin
    +
    event . origin

    Returns the origin of the message, for server-sent events and cross-document messaging.

    -
    event . lastEventId
    +
    event . lastEventId

    Returns the last event ID string, for server-sent events.

    -
    event . source
    +
    event . source

    Returns the WindowProxy of the source window, for cross-document @@ -97987,7 +97987,7 @@ typedef (WindowProxy or MessagePort or ServiceWo SharedWorkerGlobalScope objects.

    -
    event . ports
    +
    event . ports

    Returns the MessagePort array sent with the message, for cross-document @@ -98162,9 +98162,9 @@ dictionary EventSourceInit {

    -
    source = new EventSource( - url [, { withCredentials: - true } ])
    +
    source = new EventSource( + url [, { withCredentials: + true } ])

    Creates a new EventSource object.

    @@ -98176,7 +98176,7 @@ dictionary EventSourceInit { connection requests to url to "include".

    -
    source . close()
    +
    source . close()

    Aborts any instances of the fetch algorithm started for @@ -98185,12 +98185,12 @@ dictionary EventSourceInit { data-x="dom-EventSource-CLOSED">CLOSED.

    -
    source . url
    +
    source . url

    Returns the URL providing the event stream.

    -
    source . withCredentials
    +
    source . withCredentials

    Returns true if the credentials mode @@ -98198,7 +98198,7 @@ dictionary EventSourceInit { stream is set to "include", and false otherwise.

    -
    source . readyState
    +
    source . readyState

    Returns the state of this EventSource object's connection. It can have the @@ -98952,7 +98952,7 @@ interface WebSocket : EventTarget {

    -
    socket = new WebSocket(url [, protocols ] )
    +
    socket = new WebSocket(url [, protocols ] )

    Creates a new WebSocket object, immediately establishing the associated WebSocket connection.

    @@ -98972,7 +98972,7 @@ interface WebSocket : EventTarget { The WebSocket protocol.

    -
    socket . send( data )
    +
    socket . send( data )

    Transmits data using the WebSocket connection. data can be a string, a @@ -98980,7 +98980,7 @@ interface WebSocket : EventTarget { data-x="idl-ArrayBufferView">ArrayBufferView.

    -
    socket . close( [ code ] [, reason ] )
    +
    socket . close( [ code ] [, reason ] )

    Closes the WebSocket connection, optionally using code as WebSocket : EventTarget { close reason.

    -
    socket . url
    +
    socket . url

    Returns the URL that was used to establish the WebSocket connection.

    -
    socket . readyState
    +
    socket . readyState

    Returns the state of the WebSocket object's connection. It can have the values described below.

    -
    socket . bufferedAmount
    +
    socket . bufferedAmount

    Returns the number of bytes of application data (UTF-8 text and binary data) that have been @@ -99015,18 +99015,18 @@ interface WebSocket : EventTarget { to zero once the connection closes.)

    -
    socket . extensions
    +
    socket . extensions

    Returns the extensions selected by the server, if any.

    -
    socket . protocol
    +
    socket . protocol

    Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.

    -
    socket . binaryType [ = value ]
    +
    socket . binaryType [ = value ]

    Returns a string that indicates how binary data from the WebSocket object is @@ -99646,13 +99646,13 @@ dictionary CloseEventInit : EventInit {

    -
    event . wasClean
    +
    event . wasClean

    Returns true if the connection closed cleanly; false otherwise.

    -
    event . code
    +
    event . code

    Returns the WebSocket connection close code provided by the server.

    -
    event . reason
    +
    event . reason

    Returns the WebSocket connection close reason provided by the server.

    @@ -99853,7 +99853,7 @@ function receiver(e) {

    Posting messages

    -
    window . postMessage(message [, options ] )
    +
    window . postMessage(message [, options ] )

    Posts a message to the given window. Messages can be structured objects, e.g. nested objects @@ -99879,7 +99879,7 @@ function receiver(e) { cloned.

    -
    window . postMessage(message, targetOrigin [, transfer ] )
    +
    window . postMessage(message, targetOrigin [, transfer ] )

    This is an alternate version of postMessage() where the target origin is specified @@ -100225,18 +100225,18 @@ interface MessageChannel {

    -
    channel = new MessageChannel()
    +
    channel = new MessageChannel()

    Returns a new MessageChannel object with two new MessagePort objects.

    -
    channel . port1
    +
    channel . port1

    Returns the first MessagePort object.

    -
    channel . port2
    +
    channel . port2

    Returns the second MessagePort object.

    @@ -100296,8 +100296,8 @@ dictionary PostMessageOptions { };
    -
    port . postMessage(message [, transfer] )
    -
    port . postMessage(message [, { transfer }] )
    +
    port . postMessage(message [, transfer] )
    +
    port . postMessage(message [, { transfer }] )

    Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.

    @@ -100307,10 +100307,10 @@ dictionary PostMessageOptions { could not be cloned.

    -
    port . start()
    +
    port . start()

    Begins dispatching messages received on the port.

    -
    port . close()
    +
    port . close()

    Disconnects the port, so that it is no longer active.

    @@ -100653,25 +100653,25 @@ interface BroadcastChannel : EventTarget {
    -
    broadcastChannel = new BroadcastChannel(name)
    +
    broadcastChannel = new BroadcastChannel(name)

    Returns a new BroadcastChannel object via which messages for the given channel name can be sent and received.

    -
    broadcastChannel . name
    +
    broadcastChannel . name

    Returns the channel name (as passed to the constructor).

    -
    broadcastChannel . postMessage(message)
    +
    broadcastChannel . postMessage(message)

    Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.

    -
    broadcastChannel . close()
    +
    broadcastChannel . close()

    Closes the BroadcastChannel object, opening it up to garbage collection.

    @@ -101336,16 +101336,16 @@ interface WorkerGlobalScope : EventTarget {
    -
    workerGlobal . self
    +
    workerGlobal . self
    Returns workerGlobal.
    -
    workerGlobal . location
    +
    workerGlobal . location
    Returns workerGlobal's WorkerLocation object.
    -
    workerGlobal . navigator
    +
    workerGlobal . navigator
    Returns workerGlobal's WorkerNavigator object.
    -
    workerGlobal . importScripts(urls...)
    +
    workerGlobal . importScripts(urls...)
    Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).
    @@ -101412,20 +101412,20 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalSc DedicatedWorkerGlobalScope object.

    -
    dedicatedWorkerGlobal . name
    +
    dedicatedWorkerGlobal . name

    Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging.

    -
    dedicatedWorkerGlobal . postMessage(message [, - transfer ])
    -
    dedicatedWorkerGlobal . postMessage(message - [, { transfer } ])
    +
    dedicatedWorkerGlobal . postMessage(message [, + transfer ])
    +
    dedicatedWorkerGlobal . postMessage(message + [, { transfer } ])

    Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.

    -
    dedicatedWorkerGlobal . close()
    +
    dedicatedWorkerGlobal . close()

    Aborts dedicatedWorkerGlobal.

    @@ -101512,14 +101512,14 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope connection.

    -
    sharedWorkerGlobal . name
    +
    sharedWorkerGlobal . name

    Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.

    -
    sharedWorkerGlobal . close()
    +
    sharedWorkerGlobal . close()

    Aborts sharedWorkerGlobal.

    @@ -102146,7 +102146,7 @@ enum WorkerType { "classic", "module" }; Worker includes AbstractWorker;
    -
    worker = new Worker(scriptURL [, options ])
    +
    worker = new Worker(scriptURL [, options ])

    Returns a new Worker object. scriptURL will be fetched and executed in the background, creating a new global environment for which worker represents the communication channel. options can be used to define the WorkerType { "classic", "module" }; and if that is specified, can also be used to specify how scriptURL is fetched through the credentials option.

    -
    worker . terminate()
    +
    worker . terminate()
    Aborts worker's associated global environment.
    -
    worker . postMessage(message [, transfer ] )
    -
    worker . postMessage(message [, { transfer } ] )
    +
    worker . postMessage(message [, transfer ] )
    +
    worker . postMessage(message [, { transfer } ] )

    Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.

    @@ -102276,13 +102276,13 @@ interface SharedWorker : EventTarget { SharedWorker includes AbstractWorker;
    -
    sharedWorker = new SharedWorker(scriptURL [, name ])
    +
    sharedWorker = new SharedWorker(scriptURL [, name ])

    Returns a new SharedWorker object. scriptURL will be fetched and executed in the background, creating a new global environment for which sharedWorker represents the communication channel. name can be used to define the name of that global environment.

    -
    sharedWorker = new SharedWorker(scriptURL [, options ])
    +
    sharedWorker = new SharedWorker(scriptURL [, options ])

    Returns a new SharedWorker object. scriptURL will be fetched and executed in the background, creating a new global environment for which sharedWorker represents the communication channel. options can be used to define the SharedWorker : EventTarget { mismatch an existing shared worker will cause the returned sharedWorker to fire an error event and not connect to the existing shared worker.

    -
    sharedWorker . port
    +
    sharedWorker . port

    Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.

    @@ -102459,7 +102459,7 @@ interface SharedWorker : EventTarget { };
    -
    self . navigator . hardwareConcurrency
    +
    self . navigator . hardwareConcurrency

    Returns the number of logical processors potentially available to the user agent.

    @@ -103667,20 +103667,20 @@ interface Storage { };
    -
    storage . length
    +
    storage . length

    Returns the number of key/value pairs.

    -
    storage . key ( n )
    +
    storage . key ( n )

    Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.

    -
    value = storage . getItem ( key )
    -
    value = storage[key]
    +
    value = storage . getItem ( key )
    +
    value = storage[key]

    Returns the current value associated with the given key, or null if the given key does not exist.

    -
    storage . setItem ( key, value )
    -
    storage[key] = value
    +
    storage . setItem ( key, value )
    +
    storage[key] = value

    Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.

    @@ -103693,7 +103693,7 @@ interface Storage { holding an equivalent Storage object.

    -
    storage . removeItem ( key )
    +
    storage . removeItem ( key )
    delete storage[key]

    Removes the key/value pair with the given key, if a key/value pair with the given @@ -103703,7 +103703,7 @@ interface Storage { holding an equivalent Storage object.

    -
    storage . clear()
    +
    storage . clear()

    Removes all key/value pairs, if there are any.

    @@ -103892,7 +103892,7 @@ interface Storage { Window includes WindowSessionStorage;
    -
    window . sessionStorage
    +
    window . sessionStorage

    Returns the Storage object associated with that window's origin's session storage area.

    @@ -103952,7 +103952,7 @@ interface Storage {
    -
    window . localStorage
    +
    window . localStorage

    Returns the Storage object associated with window's origin's local storage area.

    @@ -104023,22 +104023,22 @@ dictionary StorageEventInit : EventInit { };
    -
    event . key
    +
    event . key

    Returns the key of the storage item being changed.

    -
    event . oldValue
    +
    event . oldValue

    Returns the old value of the key of the storage item whose value is being changed.

    -
    event . newValue
    +
    event . newValue

    Returns the new value of the key of the storage item whose value is being changed.

    -
    event . url
    +
    event . url

    Returns the URL of the document whose storage item changed.

    -
    event . storageArea
    +
    event . storageArea

    Returns the Storage object that was affected.

    From 70a4dcc379b92227b343bc04ca4541b702af11c0 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 16:02:11 -0400 Subject: [PATCH 05/12] Automated removal of spaces around dots They look especially weird with the code font --- source | 1162 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 581 insertions(+), 581 deletions(-) diff --git a/source b/source index a176bdaecca..8fbb944c5db 100644 --- a/source +++ b/source @@ -7930,14 +7930,14 @@ interface DOMStringList {
    -
    strings . length
    +
    strings.length

    Returns the number of strings in strings.

    strings[index]
    -
    strings . item(index)
    +
    strings.item(index)

    Returns the string with index index from strings.

    -
    strings . contains(string)
    +
    strings.contains(string)

    Returns true if strings contains string, and false otherwise.

    @@ -9319,7 +9319,7 @@ partial interface Document {
    -
    document . referrer
    +
    document.referrer

    Returns the URL of the Document from which the user navigated to this one, unless it was blocked or there was no such document, in @@ -9341,7 +9341,7 @@ partial interface Document {

    -
    document . cookie [ = value ]
    +
    document.cookie [ = value ]

    Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.

    @@ -9415,7 +9415,7 @@ partial interface Document {
    -
    document . lastModified
    +
    document.lastModified

    Returns the date of the last modification to the document, as reported by the server, in the form "MM/DD/YYYY hh:mm:ss", in the user's local time zone.

    @@ -9473,7 +9473,7 @@ partial interface Document {
    -
    document . readyState
    +
    document.readyState

    Returns "loading" while the Document is loading, "interactive" once it is finished parsing but still loading subresources, and @@ -9587,7 +9587,7 @@ partial interface Document {

    -
    document . head
    +
    document.head

    Returns the head element.

    @@ -9607,7 +9607,7 @@ partial interface Document {
    -
    document . title [ = value ]
    +
    document.title [ = value ]

    Returns the document's title, as given by the title element for HTML and as given by the SVG title element for SVG.

    @@ -9705,7 +9705,7 @@ partial interface Document {
    -
    document . body [ = value ]
    +
    document.body [ = value ]

    Returns the body element.

    @@ -9777,33 +9777,33 @@ partial interface Document {
    -
    document . images
    +
    document.images

    Returns an HTMLCollection of the img elements in the Document.

    -
    document . embeds
    -
    document . plugins
    +
    document.embeds
    +
    document.plugins

    Return an HTMLCollection of the embed elements in the Document.

    -
    document . links
    +
    document.links

    Returns an HTMLCollection of the a and area elements in the Document that have href attributes.

    -
    document . forms
    +
    document.forms

    Return an HTMLCollection of the form elements in the Document.

    -
    document . scripts
    +
    document.scripts

    Return an HTMLCollection of the script elements in the Document.

    @@ -9846,7 +9846,7 @@ partial interface Document {
    -
    collection = document . getElementsByName(name)
    +
    collection = document.getElementsByName(name)

    Returns a NodeList of elements in the Document that have a name attribute with the value name.

    @@ -9868,7 +9868,7 @@ partial interface Document {
    -
    document . currentScript
    +
    document.currentScript

    Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In @@ -12248,7 +12248,7 @@ Transport Protocol">HTTP</abbr> today.</p> -

    hyperlink . password
    +
    hyperlink.password

    Returns the hyperlink's URL's password.

    @@ -23282,7 +23282,7 @@ document.body.appendChild(wbr);
    -
    hyperlink . host
    +
    hyperlink.host

    Returns the hyperlink's URL's host and port (if different from the default port for the scheme).

    @@ -23290,28 +23290,28 @@ document.body.appendChild(wbr);

    Can be set, to change the URL's host and port.

    -
    hyperlink . hostname
    +
    hyperlink.hostname

    Returns the hyperlink's URL's host.

    Can be set, to change the URL's host.

    -
    hyperlink . port
    +
    hyperlink.port

    Returns the hyperlink's URL's port.

    Can be set, to change the URL's port.

    -
    hyperlink . pathname
    +
    hyperlink.pathname

    Returns the hyperlink's URL's path.

    Can be set, to change the URL's path.

    -
    hyperlink . search
    +
    hyperlink.search

    Returns the hyperlink's URL's query (includes leading "?" if non-empty).

    @@ -23319,7 +23319,7 @@ document.body.appendChild(wbr);

    Can be set, to change the URL's query (ignores leading "?").

    -
    hyperlink . hash
    +
    hyperlink.hash

    Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

    @@ -27012,8 +27012,8 @@ interface HTMLImageElement : HTMLElement {
    -
    image . width [ = value ]
    -
    image . height [ = value ]
    +
    image.width [ = value ]
    +
    image.height [ = value ]
    @@ -27023,8 +27023,8 @@ interface HTMLImageElement : HTMLElement {

    They can be set, to change the corresponding content attributes.

    -
    image . naturalWidth
    -
    image . naturalHeight
    +
    image.naturalWidth
    +
    image.naturalHeight
    @@ -27032,7 +27032,7 @@ interface HTMLImageElement : HTMLElement { not known.

    -
    image . complete
    +
    image.complete
    @@ -27040,11 +27040,11 @@ interface HTMLImageElement : HTMLElement { otherwise, returns false.

    -
    image . currentSrc
    +
    image.currentSrc

    Returns the image's absolute URL.

    -
    image . decode()
    +
    image.decode()

    This method causes the user agent to decode the @@ -32608,8 +32608,8 @@ interface HTMLVideoElement : HTMLMediaElement

    -
    video . videoWidth
    -
    video . videoHeight
    +
    video.videoWidth
    +
    video.videoHeight

    These attributes return the intrinsic dimensions of the video, or zero if the dimensions are @@ -33105,23 +33105,23 @@ interface HTMLTrackElement : HTMLElement {

    -
    track . readyState
    +
    track.readyState

    Returns the text track readiness state, represented by a number from the following list:

    -
    track . NONE (0)
    +
    track.NONE (0)

    The text track not loaded state.

    -
    track . LOADING (1)
    +
    track.LOADING (1)

    The text track loading state.

    -
    track . LOADED (2)
    +
    track.LOADED (2)

    The text track loaded state.

    -
    track . ERROR (3)
    +
    track.ERROR (3)

    The text track failed to load state.

    -
    track . track
    +
    track.track

    Returns the TextTrack object corresponding to the text track of the @@ -33328,7 +33328,7 @@ interface HTMLMediaElement : HTMLElement {

    -
    media . error
    +
    media.error

    Returns a MediaError object representing the current error state of the @@ -33362,11 +33362,11 @@ interface MediaError {

    -
    media . error . code
    +
    media.error.code

    Returns the current error's error code, from the list below.

    -
    media . error . message
    +
    media.error.message

    Returns a specific informative diagnostic message about the error condition encountered. The @@ -33484,14 +33484,14 @@ interface MediaError {

    -
    media . srcObject [ = source ]
    +
    media.srcObject [ = source ]

    Allows the media element to be assigned a media provider object.

    -
    media . currentSrc
    +
    media.currentSrc

    Returns the URL of the current media resource, if any.

    @@ -33556,7 +33556,7 @@ interface MediaError {
    -
    media . canPlayType(type)
    +
    media.canPlayType(type)

    Returns the empty string (a negative response), "maybe", or "probably" based on how confident @@ -33624,7 +33624,7 @@ interface MediaError {

    -
    media . networkState
    +
    media.networkState

    Returns the current state of network activity for the element, from the codes in the list @@ -33678,7 +33678,7 @@ interface MediaError {

    -
    media . load()
    +
    media.load()

    Causes the element to reset and start selecting and loading a new media resource @@ -34774,7 +34774,7 @@ interface MediaError {

    -
    media . buffered
    +
    media.buffered

    Returns a TimeRanges object that represents the ranges of the media @@ -34812,7 +34812,7 @@ interface MediaError {

    -
    media . duration
    +
    media.duration

    Returns the length of the media resource, in seconds, assuming that the start of @@ -34823,7 +34823,7 @@ interface MediaError {

    Returns Infinity for unbounded streams.

    -
    media . currentTime [ = value ]
    +
    media.currentTime [ = value ]

    Returns the official playback position, in seconds.

    @@ -35067,7 +35067,7 @@ interface MediaError {
    -
    media . readyState
    +
    media.readyState

    Returns a value that expresses the current state of the element with respect to rendering the @@ -35350,15 +35350,15 @@ interface MediaError {

    -
    media . paused
    +
    media.paused

    Returns true if playback is paused; false otherwise.

    -
    media . ended
    +
    media.ended

    Returns true if playback has reached the end of the media resource.

    -
    media . defaultPlaybackRate [ = value ]
    +
    media.defaultPlaybackRate [ = value ]

    Returns the default rate of playback, for when the user is not fast-forwarding or reversing @@ -35371,7 +35371,7 @@ interface MediaError { will be returned to the default rate of playback.

    -
    media . playbackRate [ = value ]
    +
    media.playbackRate [ = value ]

    Returns the current rate playback, where 1.0 is normal speed.

    @@ -35379,7 +35379,7 @@ interface MediaError {

    Can be set, to change the rate of playback.

    -
    media . preservesPitch
    +
    media.preservesPitch

    Returns true if pitch-preserving algorithms are used when the MediaError { aesthetic and performance reasons.

    -
    media . played
    +
    media.played

    Returns a TimeRanges object that represents the ranges of the media resource that the user agent has played.

    -
    media . play()
    +
    media.play()

    Sets the paused attribute to false, loading the @@ -35405,7 +35405,7 @@ interface MediaError { restart it from the start.

    -
    media . pause()
    +
    media.pause()

    Sets the paused attribute to true, loading the @@ -36125,18 +36125,18 @@ interface MediaError {

    -
    media . seeking
    +
    media.seeking

    Returns true if the user agent is currently seeking.

    -
    media . seekable
    +
    media.seekable

    Returns a TimeRanges object that represents the ranges of the media resource to which it is possible for the user agent to seek.

    -
    media . fastSeek( time )
    +
    media.fastSeek( time )

    Seeks to near the given time as fast as possible, trading precision for speed. (To @@ -36311,14 +36311,14 @@ interface MediaError {

    -
    media . audioTracks
    +
    media.audioTracks

    Returns an AudioTrackList object representing the audio tracks available in the media resource.

    -
    media . videoTracks
    +
    media.videoTracks

    Returns a VideoTrackList object representing the video tracks available in the @@ -36394,26 +36394,26 @@ interface VideoTrack {

    -
    media . audioTracks . length
    -
    media . videoTracks . length
    +
    media.audioTracks.length
    +
    media.videoTracks.length

    Returns the number of tracks in the list.

    -
    audioTrack = media . audioTracks[index]
    -
    videoTrack = media . videoTracks[index]
    +
    audioTrack = media.audioTracks[index]
    +
    videoTrack = media.videoTracks[index]

    Returns the specified AudioTrack or VideoTrack object.

    -
    audioTrack = media . audioTracks . getTrackById( id )
    -
    videoTrack = media . videoTracks . getTrackById( id )
    +
    audioTrack = media.audioTracks.getTrackById( id )
    +
    videoTrack = media.videoTracks.getTrackById( id )

    Returns the AudioTrack or VideoTrack object with the given identifier, or null if no track has that identifier.

    -
    audioTrack . id
    -
    videoTrack . id
    +
    audioTrack.id
    +
    videoTrack.id

    Returns the ID of the given track. This is the ID that can be used with a VideoTrack { syntax, and that can be used with the getTrackById() method.

    -
    audioTrack . kind
    -
    videoTrack . kind
    +
    audioTrack.kind
    +
    videoTrack.kind

    Returns the category the given track falls into. The possible track categories are given below.

    -
    audioTrack . label
    -
    videoTrack . label
    +
    audioTrack.label
    +
    videoTrack.label

    Returns the label of the given track, if known, or the empty string otherwise.

    -
    audioTrack . language
    -
    videoTrack . language
    +
    audioTrack.language
    +
    videoTrack.language

    Returns the language of the given track, if known, or the empty string otherwise.

    -
    audioTrack . enabled [ = value ]
    +
    audioTrack.enabled [ = value ]

    Returns true if the given track is active, and false otherwise.

    @@ -36446,12 +36446,12 @@ interface VideoTrack { enabled simultaneously, they are mixed.

    -
    media . videoTracks . selectedIndex
    +
    media.videoTracks.selectedIndex

    Returns the index of the currently selected track, if any, or −1 otherwise.

    -
    videoTrack . selected [ = value ]
    +
    videoTrack.selected [ = value ]

    Returns true if the given track is active, and false otherwise.

    @@ -37613,7 +37613,7 @@ interface TextTrackList : EventTarget {
    -
    media . textTracks . length
    +
    media.textTracks.length

    Returns the number of text tracks associated with the media element (e.g. from track elements). This is the number of TextTrackList : EventTarget { tracks.

    -
    media . textTracks[ n ]
    +
    media.textTracks[ n ]

    Returns the TextTrack object representing the nth text track in the media element's list of text tracks.

    -
    textTrack = media . textTracks . getTrackById( id )
    +
    textTrack = media.textTracks.getTrackById( id )

    Returns the TextTrack object with the given identifier, or null if no track has @@ -37706,26 +37706,26 @@ interface TextTrack : EventTarget {

    -
    textTrack = media . addTextTrack( kind [, label [, language ] ] )
    +
    textTrack = media.addTextTrack( kind [, label [, language ] ] )

    Creates and returns a new TextTrack object, which is also added to the media element's list of text tracks.

    -
    textTrack . kind
    +
    textTrack.kind

    Returns the text track kind string.

    -
    textTrack . label
    +
    textTrack.label

    Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).

    -
    textTrack . language
    +
    textTrack.language

    Returns the text track language string.

    -
    textTrack . id
    +
    textTrack.id

    Returns the ID of the given track.

    @@ -37738,10 +37738,10 @@ interface TextTrack : EventTarget { ID of the track element.

    -
    textTrack . inBandMetadataTrackDispatchType
    +
    textTrack.inBandMetadataTrackDispatchType

    Returns the text track in-band metadata track dispatch type string.

    -
    textTrack . mode [ = value ]
    +
    textTrack.mode [ = value ]

    Returns the text track mode, represented by a string from the following list:

    @@ -37758,24 +37758,24 @@ interface TextTrack : EventTarget {

    Can be set, to change the mode.

    -
    textTrack . cues
    +
    textTrack.cues

    Returns the text track list of cues, as a TextTrackCueList object.

    -
    textTrack . activeCues
    +
    textTrack.activeCues

    Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.

    -
    textTrack . addCue( cue )
    +
    textTrack.addCue( cue )

    Adds the given cue to textTrack's text track list of cues.

    -
    textTrack . removeCue( cue )
    +
    textTrack.removeCue( cue )

    Removes the given cue from textTrack's text track list of cues.

    @@ -38009,7 +38009,7 @@ interface TextTrackCueList {
    -
    cuelist . length
    +
    cuelist.length

    Returns the number of cues in the list.

    cuelist[index]
    @@ -38018,7 +38018,7 @@ interface TextTrackCueList { sorted in text track cue order.

    -
    cuelist . getCueById( id )
    +
    cuelist.getCueById( id )

    Returns the first text track cue (in text track cue order) with text track cue identifier id.

    @@ -38074,27 +38074,27 @@ interface TextTrackCue : EventTarget {
    -
    cue . track
    +
    cue.track

    Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.

    -
    cue . id [ = value ]
    +
    cue.id [ = value ]

    Returns the text track cue identifier.

    Can be set.

    -
    cue . startTime [ = value ]
    +
    cue.startTime [ = value ]

    Returns the text track cue start time, in seconds.

    Can be set.

    -
    cue . endTime [ = value ]
    +
    cue.endTime [ = value ]

    Returns the text track cue end time, in seconds.

    @@ -38103,7 +38103,7 @@ interface TextTrackCue : EventTarget {

    Can be set.

    -
    cue . pauseOnExit [ = value ]
    +
    cue.pauseOnExit [ = value ]

    Returns true if the text track cue pause-on-exit flag is set, false otherwise.

    @@ -38343,7 +38343,7 @@ red:89
    -
    media . volume [ = value ]
    +
    media.volume [ = value ]

    Returns the current playback volume, as a number in the range 0.0 to 1.0, where 0.0 is the @@ -38355,7 +38355,7 @@ red:89 value is not in the range 0.0 .. 1.0.

    -
    media . muted [ = value ]
    +
    media.muted [ = value ]

    Returns true if audio is muted, overriding the volume @@ -38466,11 +38466,11 @@ interface TimeRanges {

    -
    media . length
    +
    media.length

    Returns the number of ranges in the object.

    -
    time = media . start(index)
    +
    time = media.start(index)

    Returns the time for the start of the range with the given index.

    @@ -38479,7 +38479,7 @@ interface TimeRanges { is out of range.

    -
    time = media . end(index)
    +
    time = media.end(index)

    Returns the time for the end of the range with the given index.

    @@ -38555,7 +38555,7 @@ dictionary TrackEventInit : EventInit {
    -
    event . track
    +
    event.track

    Returns the track object (TextTrack, AudioTrack, or @@ -39202,7 +39202,7 @@ interface HTMLMapElement : HTMLElement {

    -
    map . areas
    +
    map.areas

    Returns an HTMLCollection of the area elements in the @@ -39821,9 +39821,9 @@ interface HTMLAreaElement : HTMLElement {


    -
    doc = iframe . getSVGDocument()
    -
    doc = embed . getSVGDocument()
    -
    doc = object . getSVGDocument()
    +
    doc = iframe.getSVGDocument()
    +
    doc = embed.getSVGDocument()
    +
    doc = object.getSVGDocument()

    Returns the Document object, in the case of iframe, embed, or object elements being used to embed SVG.

    @@ -40078,20 +40078,20 @@ interface HTMLTableElement : HTMLElement {
    -
    table . caption [ = value ]
    +
    table.caption [ = value ]

    Returns the table's caption element.

    Can be set, to replace the caption element.

    -
    caption = table . createCaption()
    +
    caption = table.createCaption()

    Ensures the table has a caption element, and returns it.

    -
    table . deleteCaption()
    +
    table.deleteCaption()

    Ensures the table does not have a caption element.

    -
    table . tHead [ = value ]
    +
    table.tHead [ = value ]

    Returns the table's thead element.

    @@ -40100,13 +40100,13 @@ interface HTMLTableElement : HTMLElement { DOMException.

    -
    thead = table . createTHead()
    +
    thead = table.createTHead()

    Ensures the table has a thead element, and returns it.

    -
    table . deleteTHead()
    +
    table.deleteTHead()

    Ensures the table does not have a thead element.

    -
    table . tFoot [ = value ]
    +
    table.tFoot [ = value ]

    Returns the table's tfoot element.

    @@ -40115,24 +40115,24 @@ interface HTMLTableElement : HTMLElement { DOMException.

    -
    tfoot = table . createTFoot()
    +
    tfoot = table.createTFoot()

    Ensures the table has a tfoot element, and returns it.

    -
    table . deleteTFoot()
    +
    table.deleteTFoot()

    Ensures the table does not have a tfoot element.

    -
    table . tBodies
    +
    table.tBodies

    Returns an HTMLCollection of the tbody elements of the table.

    -
    tbody = table . createTBody()
    +
    tbody = table.createTBody()

    Creates a tbody element, inserts it into the table, and returns it.

    -
    table . rows
    +
    table.rows

    Returns an HTMLCollection of the tr elements of the table.

    -
    tr = table . insertRow( [ index ] )
    +
    tr = table.insertRow( [ index ] )

    Creates a tr element, along with a tbody if required, inserts them into the table at the position given by the argument, and returns the tr.

    @@ -40144,7 +40144,7 @@ interface HTMLTableElement : HTMLElement { "IndexSizeError" DOMException.

    -
    table . deleteRow(index)
    +
    table.deleteRow(index)

    Removes the tr element with the given position in the table.

    @@ -40827,13 +40827,13 @@ interface HTMLTableSectionElement : HTMLElement -
    tbody . rows
    +
    tbody.rows

    Returns an HTMLCollection of the tr elements of the table section.

    -
    tr = tbody . insertRow( [ index ] )
    +
    tr = tbody.insertRow( [ index ] )

    Creates a tr element, inserts it into the table section at the position given by the argument, and returns the tr.

    @@ -40846,7 +40846,7 @@ interface HTMLTableSectionElement : HTMLElement"IndexSizeError" DOMException.

    -
    tbody . deleteRow(index)
    +
    tbody.deleteRow(index)

    Removes the tr element with the given position in the table section.

    @@ -41070,7 +41070,7 @@ interface HTMLTableRowElement : HTMLElement {
    -
    tr . rowIndex
    +
    tr.rowIndex

    Returns the position of the row in the table's rows @@ -41079,7 +41079,7 @@ interface HTMLTableRowElement : HTMLElement {

    Returns −1 if the element isn't in a table.

    -
    tr . sectionRowIndex
    +
    tr.sectionRowIndex

    Returns the position of the row in the table section's HTMLTableRowElement : HTMLElement {

    Returns −1 if the element isn't in a table section.

    -
    tr . cells
    +
    tr.cells

    Returns an HTMLCollection of the td and th elements of the row.

    -
    cell = tr . insertCell( [ index ] )
    +
    cell = tr.insertCell( [ index ] )

    Creates a td element, inserts it into the table row at the position given by the @@ -41107,7 +41107,7 @@ interface HTMLTableRowElement : HTMLElement { "IndexSizeError" DOMException.

    -
    tr . deleteCell(index)
    +
    tr.deleteCell(index)

    Removes the td or th element with the given position in the row.

    @@ -41482,7 +41482,7 @@ interface HTMLTableCellElement : HTMLElement {
    -
    cell . cellIndex
    +
    cell.cellIndex

    Returns the position of the cell in the row's cells list. @@ -43341,14 +43341,14 @@ interface HTMLFormElement : HTMLElement {

    -
    form . elements
    +
    form.elements

    Returns an HTMLFormControlsCollection of the form controls in the form (excluding image buttons for historical reasons).

    -
    form . length
    +
    form.length

    Returns the number of form controls in the form (excluding image buttons for historical @@ -43379,7 +43379,7 @@ interface HTMLFormElement : HTMLElement { those elements is returned.

    -
    form . submit()
    +
    form.submit()

    Submits the form, bypassing interactive @@ -43387,7 +43387,7 @@ interface HTMLFormElement : HTMLElement { event.

    -
    form . requestSubmit( [ submitter ] )
    +
    form.requestSubmit( [ submitter ] )

    Requests to submit the form. Unlike submit(), this @@ -43406,15 +43406,15 @@ interface HTMLFormElement : HTMLElement { normally, buttons are excluded.

    -
    form . reset()
    +
    form.reset()

    Resets the form.

    -
    form . checkValidity()
    +
    form.checkValidity()

    Returns true if the form's controls are all valid; otherwise, returns false.

    -
    form . reportValidity()
    +
    form.reportValidity()

    Returns true if the form's controls are all valid; otherwise, returns false and informs the @@ -43790,11 +43790,11 @@ interface HTMLLabelElement : HTMLElement {

    -
    label . control
    +
    label.control

    Returns the form control that is associated with this element.

    -
    label . form
    +
    label.form

    Returns the form owner of the form control that is associated with this @@ -43840,7 +43840,7 @@ interface HTMLLabelElement : HTMLElement {

    -
    control . labels
    +
    control.labels

    Returns a NodeList of all the label elements that the form control @@ -47776,7 +47776,7 @@ ldh-str = < as defined in -

    input . indeterminate [ = value ]
    +
    input.indeterminate [ = value ]

    When set, overrides the rendering of checkbox @@ -48610,8 +48610,8 @@ ldh-str = < as defined in -

    image . width [ = value ]
    -
    image . height [ = value ]
    +
    image.width [ = value ]
    +
    image.height [ = value ]

    These attributes return the actual rendered dimensions of the image, or zero if the @@ -49764,7 +49764,7 @@ You cannot submit this form when the field is incorrect.

    -
    input . value [ = value ]
    +
    input.value [ = value ]

    Returns the current value of the form control.

    @@ -49775,7 +49775,7 @@ You cannot submit this form when the field is incorrect. set to any value other than the empty string when the control is a file upload control.

    -
    input . checked [ = value ]
    +
    input.checked [ = value ]

    Returns the current checkedness of the form @@ -49784,7 +49784,7 @@ You cannot submit this form when the field is incorrect.

    Can be set, to change the checkedness.

    -
    input . files [ = files ]
    +
    input.files [ = files ]

    Returns a FileList object listing the instance, as the result of a drag-and-drop operation.

    -
    input . valueAsDate [ = value ]
    +
    input.valueAsDate [ = value ]

    Returns a Date object representing the form control's control isn't date- or time-based.

    -
    input . valueAsNumber [ = value ]
    +
    input.valueAsNumber [ = value ]

    Returns a number representing the form control's control is neither date- or time-based nor numeric.

    -
    input . stepUp( [ n ] )
    -
    input . stepDown( [ n ] )
    +
    input.stepUp( [ n ] )
    +
    input.stepDown( [ n ] )

    Changes the form control's value by the value given in @@ -49835,7 +49835,7 @@ You cannot submit this form when the field is incorrect. attribute's value is "any".

    -
    input . list
    +
    input.list

    Returns the datalist element indicated by the list attribute.

    @@ -50710,7 +50710,7 @@ interface HTMLSelectElement : HTMLElement {
    -
    select . type
    +
    select.type

    Returns "select-multiple" if the element has a HTMLSelectElement : HTMLElement { otherwise.

    -
    select . options
    +
    select.options

    Returns an HTMLOptionsCollection of the list of options.

    -
    select . length [ = value ]
    +
    select.length [ = value ]

    Returns the number of elements in the list of options.

    @@ -50735,7 +50735,7 @@ interface HTMLSelectElement : HTMLElement { select.

    -
    element = select . item(index)
    +
    element = select.item(index)
    select[index]

    Returns the item with index index from the HTMLSelectElement : HTMLElement { order.

    -
    element = select . namedItem(name)
    +
    element = select.namedItem(name)

    Returns the first item with ID or name name from the HTMLSelectElement : HTMLElement {

    Returns null if no element with that ID could be found.

    -
    select . add(element [, before ] )
    +
    select.add(element [, before ] )

    Inserts element before the node given by before.

    @@ -50769,14 +50769,14 @@ interface HTMLSelectElement : HTMLElement { to be inserted.

    -
    select . selectedOptions
    +
    select.selectedOptions

    Returns an HTMLCollection of the list of options that are selected.

    -
    select . selectedIndex [ = value ]
    +
    select.selectedIndex [ = value ]

    Returns the index of the first selected item, if any, or −1 if there is no selected @@ -50785,7 +50785,7 @@ interface HTMLSelectElement : HTMLElement {

    Can be set, to change the selection.

    -
    select . value [ = value ]
    +
    select.value [ = value ]

    Returns the value of the first selected item, if @@ -51081,7 +51081,7 @@ interface HTMLDataListElement : HTMLElement {

    -
    datalist . options
    +
    datalist.options

    Returns an HTMLCollection of the option elements of the @@ -51334,7 +51334,7 @@ interface HTMLOptionElement : HTMLElement {

    -
    option . selected
    +
    option.selected

    Returns true if the element is selected, and false otherwise.

    @@ -51342,16 +51342,16 @@ interface HTMLOptionElement : HTMLElement {

    Can be set, to override the current state of the element.

    -
    option . index
    +
    option.index

    Returns the index of the element in its select element's options list.

    -
    option . form
    +
    option.form

    Returns the element's form element, if any, or null otherwise.

    -
    option . text
    +
    option.text

    Same as textContent, except that spaces are collapsed and script @@ -51826,11 +51826,11 @@ interface HTMLTextAreaElement : HTMLElement {

    -
    textarea . type
    +
    textarea.type

    Returns the string "textarea".

    -
    textarea . value
    +
    textarea.value

    Returns the current value of the element.

    @@ -52069,21 +52069,21 @@ interface HTMLOutputElement : HTMLElement {
    -
    output . value [ = value ]
    +
    output.value [ = value ]

    Returns the element's current value.

    Can be set, to change the value.

    -
    output . defaultValue [ = value ]
    +
    output.defaultValue [ = value ]

    Returns the element's current default value.

    Can be set, to change the default value.

    -
    output . type
    +
    output.type

    Returns the string "output".

    @@ -52300,7 +52300,7 @@ interface HTMLProgressElement : HTMLElement {
    -
    progress . position
    +
    progress.position

    For a determinate progress bar (one with known current and maximum values), returns the @@ -52802,11 +52802,11 @@ interface HTMLFieldSetElement : HTMLElement {

    -
    fieldset . type
    +
    fieldset.type

    Returns the string "fieldset".

    -
    fieldset . elements
    +
    fieldset.elements

    Returns an HTMLCollection of the form controls in the element.

    @@ -52969,7 +52969,7 @@ interface HTMLLegendElement : HTMLElement {
    -
    legend . form
    +
    legend.form

    Returns the element's form element, if any, or null otherwise.

    @@ -53192,7 +53192,7 @@ interface HTMLLegendElement : HTMLElement {
    -
    element . form
    +
    element.form

    Returns the element's form owner.

    @@ -55358,11 +55358,11 @@ MIT Room 32-G524
    -
    element . select()
    +
    element.select()

    Selects everything in the text control.

    -
    element . selectionStart [ = value ]
    +
    element.selectionStart [ = value ]

    Returns the offset to the start of the selection.

    @@ -55370,7 +55370,7 @@ MIT Room 32-G524

    Can be set, to change the start of the selection.

    -
    element . selectionEnd [ = value ]
    +
    element.selectionEnd [ = value ]

    Returns the offset to the end of the selection.

    @@ -55378,7 +55378,7 @@ MIT Room 32-G524

    Can be set, to change the end of the selection.

    -
    element . selectionDirection [ = value ]
    +
    element.selectionDirection [ = value ]

    Returns the current direction of the selection.

    @@ -55389,14 +55389,14 @@ MIT Room 32-G524 and "none".

    -
    element . setSelectionRange(start, end [, direction] )
    +
    element.setSelectionRange(start, end [, direction] )

    Changes the selection to cover the given substring in the given direction. If the direction is omitted, it will be reset to be the platform default (none or forward).

    -
    element . setRangeText(replacement [, start, end [, selectionMode ] ] )
    +
    element.setRangeText(replacement [, start, end [, selectionMode ] ] )

    Replaces a range of text with the new text. If the start and end @@ -56141,14 +56141,14 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

    -
    element . willValidate
    +
    element.willValidate

    Returns true if the element will be validated when the form is submitted; false otherwise.

    -
    element . setCustomValidity(message)
    +
    element.setCustomValidity(message)

    Sets a custom error, so that the element would fail to validate. The given message is the @@ -56157,71 +56157,71 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD

    If the argument is the empty string, clears the custom error.

    -
    element . validity . valueMissing
    +
    element.validity.valueMissing

    Returns true if the element has no value but is a required field; false otherwise.

    -
    element . validity . typeMismatch
    +
    element.validity.typeMismatch

    Returns true if the element's value is not in the correct syntax; false otherwise.

    -
    element . validity . patternMismatch
    +
    element.validity.patternMismatch

    Returns true if the element's value doesn't match the provided pattern; false otherwise.

    -
    element . validity . tooLong
    +
    element.validity.tooLong

    Returns true if the element's value is longer than the provided maximum length; false otherwise.

    -
    element . validity . tooShort
    +
    element.validity.tooShort

    Returns true if the element's value, if it is not the empty string, is shorter than the provided minimum length; false otherwise.

    -
    element . validity . rangeUnderflow
    +
    element.validity.rangeUnderflow

    Returns true if the element's value is lower than the provided minimum; false otherwise.

    -
    element . validity . rangeOverflow
    +
    element.validity.rangeOverflow

    Returns true if the element's value is higher than the provided maximum; false otherwise.

    -
    element . validity . stepMismatch
    +
    element.validity.stepMismatch

    Returns true if the element's value doesn't fit the rules given by the step attribute; false otherwise.

    -
    element . validity . badInput
    +
    element.validity.badInput

    Returns true if the user has provided input in the user interface that the user agent is unable to convert to a value; false otherwise.

    -
    element . validity . customError
    +
    element.validity.customError

    Returns true if the element has a custom error; false otherwise.

    -
    element . validity . valid
    +
    element.validity.valid

    Returns true if the element's value has no validity problems; false otherwise.

    -
    valid = element . checkValidity()
    +
    valid = element.checkValidity()

    Returns true if the element's value has no validity problems; false otherwise. Fires an invalid event at the element in the latter case.

    -
    valid = element . reportValidity()
    +
    valid = element.reportValidity()

    Returns true if the element's value has no validity problems; otherwise, returns false, fires @@ -56229,7 +56229,7 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD canceled) reports the problem to the user.

    -
    element . validationMessage
    +
    element.validationMessage

    Returns the error message that would be shown to the user if the element was to be checked @@ -57383,7 +57383,7 @@ dictionary SubmitEventInit : EventInit { };

    -
    event . submitter
    +
    event.submitter

    Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button.

    @@ -57412,7 +57412,7 @@ dictionary FormDataEventInit : EventInit {
    -
    event . formData
    +
    event.formData

    Returns a FormData object representing names and values of elements associated @@ -58033,11 +58033,11 @@ interface HTMLDialogElement : HTMLElement {

    -
    dialog . show()
    +
    dialog.show()

    Displays the dialog element.

    -
    dialog . showModal()
    +
    dialog.showModal()

    Displays the dialog element and makes it the top-most modal dialog.

    @@ -58045,7 +58045,7 @@ interface HTMLDialogElement : HTMLElement {

    This method honors the autofocus attribute.

    -
    dialog . close( [ result ] )
    +
    dialog.close( [ result ] )

    Closes the dialog element.

    @@ -58053,7 +58053,7 @@ interface HTMLDialogElement : HTMLElement {

    The argument, if provided, provides a return value.

    -
    dialog . returnValue [ = result ]
    +
    dialog.returnValue [ = result ]

    Returns the dialog's return value.

    @@ -58565,7 +58565,7 @@ interface HTMLScriptElement : HTMLElement {
    -
    script . text [ = value ]
    +
    script.text [ = value ]

    Returns the child text content of the element.

    @@ -59854,7 +59854,7 @@ interface HTMLTemplateElement : HTMLElement {
    -
    template . content
    +
    template.content

    Returns the template contents (a DocumentFragment).

    @@ -60100,25 +60100,25 @@ dictionary AssignedNodesOptions { data-x="attr-slot">slot
    attribute value.

    -
    slot . name
    +
    slot.name
    Can be used to get and set slot's name.
    -
    slot . assignedNodes()
    +
    slot.assignedNodes()
    Returns slot's assigned nodes.
    -
    slot . assignedNodes({ flatten: true })
    +
    slot.assignedNodes({ flatten: true })
    Returns slot's assigned nodes, if any, and slot's children otherwise, and does the same for any slot elements encountered therein, recursively, until there are no slot elements left.
    -
    slot . assignedElements()
    +
    slot.assignedElements()
    Returns slot's assigned nodes, limited to elements.
    -
    slot . assignedElements({ flatten: true })
    +
    slot.assignedElements({ flatten: true })
    Returns the same as assignedNodes({ flatten: true }), limited to elements.
    -
    slot . assign(...nodes)
    +
    slot.assign(...nodes)

    Set slot's manually assigned nodes to the given nodes.

    @@ -60435,7 +60435,7 @@ callback BlobCallback = undefined (Blob? blob);
    -
    context = canvas . getContext(contextId [, options ] )
    +
    context = canvas.getContext(contextId [, options ] )

    Returns an object that exposes an API for drawing on the canvas. contextId specifies the desired API: "2d", "BlobCallback = undefined (Blob? blob);

    -
    url = canvas . toDataURL( [ type [, quality ] ] )
    +
    url = canvas.toDataURL( [ type [, quality ] ] )

    Returns a data: URL for the image in the @@ -60622,7 +60622,7 @@ callback BlobCallback = undefined (Blob? blob); which case the result might simply be "data:,".)

    -
    canvas . toBlob(callback [, type [, quality ] ] )
    +
    canvas.toBlob(callback [, type [, quality ] ] )

    Creates a Blob object representing a file containing the image in the canvas, @@ -60635,7 +60635,7 @@ callback BlobCallback = undefined (Blob? blob); indicating the desired quality level for the resulting image.

    -
    canvas . transferControlToOffscreen()
    +
    canvas.transferControlToOffscreen()

    Returns a newly created OffscreenCanvas object that uses the canvas @@ -61042,7 +61042,7 @@ interface Path2D { objects.

    -
    context = canvas . getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
    +
    context = canvas.getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )

    Returns a CanvasRenderingContext2D object that is permanently bound to a particular canvas element.

    @@ -61065,10 +61065,10 @@ interface Path2D { data-x="concept-canvas-will-read-frequently">readback optimization.

    -
    context . canvas
    +
    context.canvas

    Returns the canvas element.

    -
    attributes = canvas . getContextAttributes()
    +
    attributes = canvas.getContextAttributes()

    Returns an object whose:

    @@ -61429,13 +61429,13 @@ context.fillRect(100,0,50,50); // only this square remains
    depend on whether and how the rendering context is bound to a canvas element.

    -
    context . save()
    +
    context.save()

    Pushes the current state onto the stack.

    -
    context . restore()
    +
    context.restore()

    Pops the top state on the stack, restoring the context to that state.

    -
    context . reset()
    +
    context.reset()

    Resets the rendering context, which includes the backing buffer, the drawing state stack, path, and styles.

    @@ -61472,8 +61472,8 @@ context.fillRect(100,0,50,50); // only this square remains
    -
    context . lineWidth [ = value ]
    -
    styles . lineWidth [ = value ]
    +
    context.lineWidth [ = value ]
    +
    styles.lineWidth [ = value ]

    Returns the current line width.

    @@ -61482,8 +61482,8 @@ context.fillRect(100,0,50,50); // only this square remains ignored.

    -
    context . lineCap [ = value ]
    -
    styles . lineCap [ = value ]
    +
    context.lineCap [ = value ]
    +
    styles.lineCap [ = value ]

    Returns the current line cap style.

    @@ -61494,8 +61494,8 @@ context.fillRect(100,0,50,50); // only this square remains
    data-x="">round", and "square". Other values are ignored.

    -
    context . lineJoin [ = value ]
    -
    styles . lineJoin [ = value ]
    +
    context.lineJoin [ = value ]
    +
    styles.lineJoin [ = value ]

    Returns the current line join style.

    @@ -61506,8 +61506,8 @@ context.fillRect(100,0,50,50); // only this square remains data-x="">round
    ", and "miter". Other values are ignored.

    -
    context . miterLimit [ = value ]
    -
    styles . miterLimit [ = value ]
    +
    context.miterLimit [ = value ]
    +
    styles.miterLimit [ = value ]

    Returns the current miter limit ratio.

    @@ -61517,8 +61517,8 @@ context.fillRect(100,0,50,50); // only this square remains
    -
    context . setLineDash(segments)
    -
    styles . setLineDash(segments)
    +
    context.setLineDash(segments)
    +
    styles.setLineDash(segments)

    Sets the current line dash pattern (as used when stroking). The argument is a list of @@ -61526,8 +61526,8 @@ context.fillRect(100,0,50,50); // only this square remains

    -
    segments = context . getLineDash()
    -
    segments = styles . getLineDash()
    +
    segments = context.getLineDash()
    +
    segments = styles.getLineDash()

    Returns a copy of the current line dash pattern. The array returned will always have an even @@ -61535,8 +61535,8 @@ context.fillRect(100,0,50,50); // only this square remains

    -
    context . lineDashOffset
    -
    styles . lineDashOffset
    +
    context.lineDashOffset
    +
    styles.lineDashOffset

    Returns the phase offset (in the same units as the line dash pattern).

    @@ -61893,8 +61893,8 @@ transform. ack Shaun Morris. -->
    Text styles
    -
    context . font [ = value ]
    -
    styles . font [ = value ]
    +
    context.font [ = value ]
    +
    styles.font [ = value ]

    Returns the current font settings.

    @@ -61905,8 +61905,8 @@ transform. ack Shaun Morris. --> element.

    -
    context . textAlign [ = value ]
    -
    styles . textAlign [ = value ]
    +
    context.textAlign [ = value ]
    +
    styles.textAlign [ = value ]

    Returns the current text alignment settings.

    @@ -61914,8 +61914,8 @@ transform. ack Shaun Morris. --> below. Other values are ignored. The default is "start".

    -
    context . textBaseline [ = value ]
    -
    styles . textBaseline [ = value ]
    +
    context.textBaseline [ = value ]
    +
    styles.textBaseline [ = value ]

    Returns the current baseline alignment settings.

    @@ -61924,8 +61924,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-textBaseline-alphabetic">alphabetic".

    -
    context . direction [ = value ]
    -
    styles . direction [ = value ]
    +
    context.direction [ = value ]
    +
    styles.direction [ = value ]

    Returns the current directionality.

    @@ -61934,8 +61934,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-direction-inherit">inherit".

    -
    context . textLetterSpacing [ = value ]
    -
    styles . textLetterSpacing [ = value ]
    +
    context.textLetterSpacing [ = value ]
    +
    styles.textLetterSpacing [ = value ]

    Returns the current spacing between characters in the text.

    @@ -61943,8 +61943,8 @@ transform. ack Shaun Morris. --> apart, while negative values brings them closer together. The default is 0.

    -
    context . textWordSpacing [ = value ]
    -
    styles . textWordSpacing [ = value ]
    +
    context.textWordSpacing [ = value ]
    +
    styles.textWordSpacing [ = value ]

    Returns the current spacing between words in the text.

    @@ -61952,8 +61952,8 @@ transform. ack Shaun Morris. --> while negative values brings them closer together. The default is 0.

    -
    context . fontKerning [ = value ]
    -
    styles . fontKerning [ = value ]
    +
    context.fontKerning [ = value ]
    +
    styles.fontKerning [ = value ]

    Returns the current font kerning settings.

    @@ -61962,8 +61962,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontKerning-auto">auto".

    -
    context . fontStretch [ = value ]
    -
    styles . fontStretch [ = value ]
    +
    context.fontStretch [ = value ]
    +
    styles.fontStretch [ = value ]

    Returns the current font stretch settings.

    @@ -61972,8 +61972,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontStretch-normal">normal".

    -
    context . fontVariantCaps [ = value ]
    -
    styles . fontVariantCaps [ = value ]
    +
    context.fontVariantCaps [ = value ]
    +
    styles.fontVariantCaps [ = value ]

    Returns the current font variant caps settings.

    @@ -61982,8 +61982,8 @@ transform. ack Shaun Morris. --> data-x="dom-context-2d-fontVariantCaps-normal">normal".

    -
    context . textRendering [ = value ]
    -
    styles . textRendering [ = value ]
    +
    context.textRendering [ = value ]
    +
    styles.textRendering [ = value ]

    Returns the current text rendering settings.

    @@ -62588,45 +62588,45 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
    -
    context . moveTo(x, y)
    -
    path . moveTo(x, y)
    +
    context.moveTo(x, y)
    +
    path.moveTo(x, y)

    Creates a new subpath with the given point.

    -
    context . closePath()
    -
    path . closePath()
    +
    context.closePath()
    +
    path.closePath()

    Marks the current subpath as closed, and starts a new subpath with a point the same as the start and end of the newly closed subpath.

    -
    context . lineTo(x, y)
    -
    path . lineTo(x, y)
    +
    context.lineTo(x, y)
    +
    path.lineTo(x, y)

    Adds the given point to the current subpath, connected to the previous one by a straight line.

    -
    context . quadraticCurveTo(cpx, cpy, x, y)
    -
    path . quadraticCurveTo(cpx, cpy, x, y)
    +
    context.quadraticCurveTo(cpx, cpy, x, y)
    +
    path.quadraticCurveTo(cpx, cpy, x, y)

    Adds the given point to the current subpath, connected to the previous one by a quadratic Bézier curve with the given control point.

    -
    context . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    -
    path . bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    +
    context.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)
    +
    path.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y)

    Adds the given point to the current subpath, connected to the previous one by a cubic Bézier curve with the given control points.

    -
    context . arcTo(x1, y1, x2, y2, radius)
    -
    path . arcTo(x1, y1, x2, y2, radius)
    +
    context.arcTo(x1, y1, x2, y2, radius)
    +
    path.arcTo(x1, y1, x2, y2, radius)

    Adds an arc with the given control points and radius to the current subpath, connected to the @@ -62782,8 +62782,8 @@ try { -->

    -
    context . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    -
    path . arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    +
    context.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    +
    path.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )

    Adds points to the subpath such that the arc described by the circumference of the circle @@ -62950,8 +62950,8 @@ try { -->

    -
    context . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    -
    path . ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    +
    context.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    +
    path.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )

    Adds points to the subpath such that the arc described by the circumference of the ellipse @@ -62963,13 +62963,13 @@ try { radius is negative.

    -
    context . rect(x, y, w, h)
    -
    path . rect(x, y, w, h)
    +
    context.rect(x, y, w, h)
    +
    path.rect(x, y, w, h)

    Adds a new closed subpath to the path, representing the given rectangle.

    -
    context . roundRect(x, y, w, h, radii)
    -
    path . roundRect(x, y, w, h, radii)
    +
    context.roundRect(x, y, w, h, radii)
    +
    path.roundRect(x, y, w, h, radii)

    Adds a new closed subpath to the path representing the given rounded rectangle. @@ -63404,7 +63404,7 @@ try { SVG path data.

    -
    path . addPath(path [, transform ] )
    +
    path.addPath(path [, transform ] )

    Adds to the path the path given by the argument.

    @@ -63501,56 +63501,56 @@ try {
    -
    context . scale(x, y)
    +
    context.scale(x, y)

    Changes the current transformation matrix to apply a scaling transformation with the given characteristics.

    -
    context . rotate(angle)
    +
    context.rotate(angle)

    Changes the current transformation matrix to apply a rotation transformation with the given characteristics. The angle is in radians.

    -
    context . translate(x, y)
    +
    context.translate(x, y)

    Changes the current transformation matrix to apply a translation transformation with the given characteristics.

    -
    context . transform(a, b, c, d, e, f)
    +
    context.transform(a, b, c, d, e, f)

    Changes the current transformation matrix to apply the matrix given by the arguments as described below.

    -
    matrix = context . getTransform()
    +
    matrix = context.getTransform()

    Returns a copy of the current transformation matrix, as a newly created DOMMatrix object.

    -
    context . setTransform(a, b, c, d, e, f)
    +
    context.setTransform(a, b, c, d, e, f)

    Changes the current transformation matrix to the matrix given by the arguments as described below.

    -
    context . setTransform(transform)
    +
    context.setTransform(transform)

    Changes the current transformation matrix to the matrix represented by the passed DOMMatrix2DInit dictionary.

    -
    context . resetTransform()
    +
    context.resetTransform()

    Changes the current transformation matrix to the identity matrix.

    @@ -63842,7 +63842,7 @@ try {
    -
    context . fillStyle [ = value ]
    +
    context.fillStyle [ = value ]

    Returns the current style used for filling shapes.

    @@ -63853,7 +63853,7 @@ try { CanvasPattern object. Invalid values are ignored.

    -
    context . strokeStyle [ = value ]
    +
    context.strokeStyle [ = value ]

    Returns the current style used for stroking shapes.

    @@ -64025,7 +64025,7 @@ try {
    -
    gradient . addColorStop(offset, color)
    +
    gradient.addColorStop(offset, color)

    Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset @@ -64036,14 +64036,14 @@ try { the color cannot be parsed.

    -
    gradient = context . createLinearGradient(x0, y0, x1, y1)
    +
    gradient = context.createLinearGradient(x0, y0, x1, y1)

    Returns a CanvasGradient object that represents a linear gradient that paints along the line given by the coordinates represented by the arguments.

    -
    gradient = context . createRadialGradient(x0, y0, r0, x1, y1, r1)
    +
    gradient = context.createRadialGradient(x0, y0, r0, x1, y1, r1)

    Returns a CanvasGradient object that represents a radial gradient that paints @@ -64053,7 +64053,7 @@ try { DOMException exception.

    -
    gradient = context . createConicGradient(startAngle, x, y)
    +
    gradient = context.createConicGradient(startAngle, x, y)

    Returns a CanvasGradient object that represents a conic gradient that paints clockwise along the rotation around the center represented by the arguments.

    @@ -64187,7 +64187,7 @@ try {
    -
    pattern = context . createPattern(image, repetition)
    +
    pattern = context.createPattern(image, repetition)

    Returns a CanvasPattern object that uses the given image and repeats in the @@ -64202,7 +64202,7 @@ try { data, throws an "InvalidStateError" DOMException.

    -
    pattern . setTransform(transform)
    +
    pattern.setTransform(transform)

    Sets the transformation matrix that will be used when rendering the pattern during a fill or @@ -64341,16 +64341,16 @@ try {

    -
    context . clearRect(x, y, w, h)
    +
    context.clearRect(x, y, w, h)

    Clears all pixels on the bitmap in the given rectangle to transparent black.

    -
    context . fillRect(x, y, w, h)
    +
    context.fillRect(x, y, w, h)

    Paints the given rectangle onto the bitmap, using the current fill style.

    -
    context . strokeRect(x, y, w, h)
    +
    context.strokeRect(x, y, w, h)

    Paints the box that outlines the given rectangle onto the bitmap, using the current stroke @@ -64425,33 +64425,33 @@ try {

    -
    context . fillText(text, x, y [, maxWidth ] )
    -
    context . strokeText(text, x, y [, maxWidth ] )
    +
    context.fillText(text, x, y [, maxWidth ] )
    +
    context.strokeText(text, x, y [, maxWidth ] )

    Fills or strokes (respectively) the given text at the given position. If a maximum width is provided, the text will be scaled to fit that width if necessary.

    -
    metrics = context . measureText(text)
    +
    metrics = context.measureText(text)

    Returns a TextMetrics object with the metrics of the given text in the current font.

    -
    metrics . width
    -
    metrics . actualBoundingBoxLeft
    -
    metrics . actualBoundingBoxRight
    -
    metrics . fontBoundingBoxAscent
    -
    metrics . fontBoundingBoxDescent
    -
    metrics . actualBoundingBoxAscent
    -
    metrics . actualBoundingBoxDescent
    -
    metrics . emHeightAscent
    -
    metrics . emHeightDescent
    -
    metrics . hangingBaseline
    -
    metrics . alphabeticBaseline
    -
    metrics . ideographicBaseline
    +
    metrics.width
    +
    metrics.actualBoundingBoxLeft
    +
    metrics.actualBoundingBoxRight
    +
    metrics.fontBoundingBoxAscent
    +
    metrics.fontBoundingBoxDescent
    +
    metrics.actualBoundingBoxAscent
    +
    metrics.actualBoundingBoxDescent
    +
    metrics.emHeightAscent
    +
    metrics.emHeightDescent
    +
    metrics.hangingBaseline
    +
    metrics.alphabeticBaseline
    +
    metrics.ideographicBaseline

    Returns the measurement described below.

    @@ -64660,12 +64660,12 @@ try {
    -
    context . beginPath()
    +
    context.beginPath()

    Resets the current default path.

    -
    context . fill( [ fillRule ] )
    -
    context . fill(path [, fillRule ] )
    +
    context.fill( [ fillRule ] )
    +
    context.fill(path [, fillRule ] )

    Fills the subpaths of the current default path or the given path with the @@ -64673,8 +64673,8 @@ try {

    -
    context . stroke()
    -
    context . stroke(path)
    +
    context.stroke()
    +
    context.stroke(path)

    Strokes the subpaths of the current default path or the given path with the @@ -64682,8 +64682,8 @@ try {

    -
    context . clip( [ fillRule ] )
    -
    context . clip(path [, fillRule ] )
    +
    context.clip( [ fillRule ] )
    +
    context.clip(path [, fillRule ] )

    Further constrains the clipping region to the current default path or the given @@ -64691,8 +64691,8 @@ try {

    -
    context . isPointInPath(x, y [, fillRule ] )
    -
    context . isPointInPath(path, x, y [, fillRule ] )
    +
    context.isPointInPath(x, y [, fillRule ] )
    +
    context.isPointInPath(path, x, y [, fillRule ] )

    Returns true if the given point is in the current default path or the given @@ -64700,8 +64700,8 @@ try {

    -
    context . isPointInStroke(x, y)
    -
    context . isPointInStroke(path, x, y)
    +
    context.isPointInStroke(x, y)
    +
    context.isPointInStroke(path, x, y)

    Returns true if the given point would be in the region covered by the stroke of the @@ -64885,8 +64885,8 @@ try {

    -
    context . drawFocusIfNeeded(element)
    -
    context . drawFocusIfNeeded(path, element)
    +
    context.drawFocusIfNeeded(element)
    +
    context.drawFocusIfNeeded(path, element)

    If the given element is focused, draws a focus ring around the current @@ -64894,8 +64894,8 @@ try {

    -
    context . scrollPathIntoView()
    -
    context . scrollPathIntoView(path)
    +
    context.scrollPathIntoView()
    +
    context.scrollPathIntoView(path)

    Scrolls the current default path or the given path into view. This is especially @@ -65004,9 +65004,9 @@ try {

    -
    context . drawImage(image, dx, dy)
    -
    context . drawImage(image, dx, dy, dw, dh)
    -
    context . drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
    +
    context.drawImage(image, dx, dy)
    +
    context.drawImage(image, dx, dy, dw, dh)
    +
    context.drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)

    Draws the given image onto the canvas. The arguments are interpreted as follows:

    @@ -65157,11 +65157,11 @@ try { data and dimensions can't be interpreted consistently, or if either dimension is zero.

    -
    imagedata = context . createImageData(imagedata)
    +
    imagedata = context.createImageData(imagedata)

    Returns an ImageData object with the same dimensions and color space as the argument. All the pixels in the returned object are transparent black.

    -
    imagedata = context . createImageData(sw, sh [, settings])
    +
    imagedata = context.createImageData(sw, sh [, settings])

    Returns an ImageData object with the given dimensions. The color space of the returned object is the color space of @@ -65172,7 +65172,7 @@ try { the width or height arguments are zero.

    -
    imagedata = context . getImageData(sx, sy, sw, sh [, settings])
    +
    imagedata = context.getImageData(sx, sy, sw, sh [, settings])

    Returns an ImageData object containing the image data for the given rectangle of the bitmap. The color space of the returned object is the

    -
    imagedata . width
    -
    imagedata . height
    +
    imagedata.width
    +
    imagedata.height

    Returns the actual dimensions of the data in the ImageData object, in pixels.

    -
    imagedata . data
    +
    imagedata.data

    Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.

    -
    imagedata . colorSpace
    +
    imagedata.colorSpace

    Returns the color space of the pixels.

    -
    context . putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])
    +
    context.putImageData(imagedata, dx, dy [, dirtyX, dirtyY, dirtyWidth, dirtyHeight ])

    Paints the data from the given ImageData object onto the bitmap. If a dirty rectangle is provided, only the pixels from that rectangle are painted.

    @@ -65652,7 +65652,7 @@ console.log(pixels.data[2]);
    -
    context . globalAlpha [ = value ]
    +
    context.globalAlpha [ = value ]

    Returns the current alpha value applied to rendering operations.

    @@ -65662,7 +65662,7 @@ console.log(pixels.data[2]);
    -
    context . globalCompositeOperation [ = value ]
    +
    context.globalCompositeOperation [ = value ]

    Returns the current composition operation, from the values defined in Compositing and @@ -65723,7 +65723,7 @@ console.log(pixels.data[2]);

    -
    context . imageSmoothingEnabled [ = value ]
    +
    context.imageSmoothingEnabled [ = value ]

    Returns whether pattern fills and the Can be set, to change whether images are smoothed (true) or not (false).

    -
    context . imageSmoothingQuality [ = value ]
    +
    context.imageSmoothingQuality [ = value ]

    Returns the current image-smoothing-quality preference.

    @@ -65772,7 +65772,7 @@ console.log(pixels.data[2]);
    -
    context . shadowColor [ = value ]
    +
    context.shadowColor [ = value ]

    Returns the current shadow color.

    @@ -65781,8 +65781,8 @@ console.log(pixels.data[2]); ignored.

    -
    context . shadowOffsetX [ = value ]
    -
    context . shadowOffsetY [ = value ]
    +
    context.shadowOffsetX [ = value ]
    +
    context.shadowOffsetY [ = value ]

    Returns the current shadow offset.

    @@ -65790,7 +65790,7 @@ console.log(pixels.data[2]);

    Can be set, to change the shadow offset. Values that are not finite numbers are ignored.

    -
    context . shadowBlur [ = value ]
    +
    context.shadowBlur [ = value ]

    Returns the current level of blur applied to shadows.

    @@ -65902,7 +65902,7 @@ console.log(pixels.data[2]);
    -
    context . filter [ = value ]
    +
    context.filter [ = value ]

    Returns the current filter.

    @@ -66191,7 +66191,7 @@ dictionary ImageBitmapRenderingContextSettings {
    -
    context = canvas . getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
    +
    context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ] )

    Returns an ImageBitmapRenderingContext object that is permanently bound to a @@ -66201,11 +66201,11 @@ dictionary ImageBitmapRenderingContextSettings { provided and set to false, then the canvas is forced to always be opaque.

    -
    context . canvas
    +
    context.canvas

    Returns the canvas element that the context is bound to.

    -
    context . transferFromImageBitmap(imageBitmap)
    +
    context.transferFromImageBitmap(imageBitmap)

    Transfers the underlying bitmap data @@ -66213,7 +66213,7 @@ dictionary ImageBitmapRenderingContextSettings { canvas element to which context is bound.

    -
    context . transferFromImageBitmap(null)
    +
    context.transferFromImageBitmap(null)

    Replaces contents of the canvas element to which context is bound @@ -66442,7 +66442,7 @@ interface OffscreenCanvas : EventTarget { bitmap's size is determined by the width and height arguments.

    -
    context = offscreenCanvas . getContext(contextId [, +
    context = offscreenCanvas.getContext(contextId [, options ] )

    Returns an object that exposes an API for drawing on the OffscreenCanvas object. @@ -66668,10 +66668,10 @@ interface OffscreenCanvas : EventTarget {

    -
    offscreenCanvas . width [ +
    offscreenCanvas.width [ = value ]
    -
    offscreenCanvas . height [ +
    offscreenCanvas.height [ = value ]
    @@ -66714,7 +66714,7 @@ interface OffscreenCanvas : EventTarget { object's rendering context.

    -
    promise = offscreenCanvas . convertToBlob( [options] )
    +
    promise = offscreenCanvas.convertToBlob( [options] )

    Returns a promise that will fulfill with a new Blob object representing a file @@ -66729,7 +66729,7 @@ interface OffscreenCanvas : EventTarget { resulting image.

    -
    canvas . transferToImageBitmap()
    +
    canvas.transferToImageBitmap()

    Returns a newly created ImageBitmap object with the image in the @@ -66897,7 +66897,7 @@ interface OffscreenCanvasRenderingContext2D {

    -
    offscreenCanvasRenderingContext2D . commit()
    +
    offscreenCanvasRenderingContext2D.commit()

    Copies the rendering context's bitmap to the @@ -66907,7 +66907,7 @@ interface OffscreenCanvasRenderingContext2D { automatically during the event loop execution.

    -
    offscreenCanvas = offscreenCanvasRenderingContext2D . canvas
    +
    offscreenCanvas = offscreenCanvasRenderingContext2D.canvas

    Returns the associated OffscreenCanvas object.

    @@ -68110,14 +68110,14 @@ dictionary ElementDefinitionOptions {
    -
    window . customElements . define(name, +
    window.customElements.define(name, constructor)
    Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
    -
    window . customElements . define(name, constructor, +
    window.customElements.define(name, constructor, { extends: baseLocalName })
    Defines a new custom element, mapping the given name to the given constructor as @@ -68126,12 +68126,12 @@ dictionary ElementDefinitionOptions { DOMException will be thrown upon trying to extend a custom element or an unknown element.
    -
    window . customElements . get(name)
    +
    window.customElements.get(name)
    Retrieves the custom element constructor defined for the given name. Returns undefined if there is no custom element definition with the given name.
    -
    window . customElements . whenDefined(name)
    +
    window.customElements.whenDefined(name)
    Returns a promise that will be fulfilled with the custom element's constructor when a custom element becomes defined with the given name. (If such a custom @@ -68139,7 +68139,7 @@ dictionary ElementDefinitionOptions { promise rejected with a "SyntaxError" DOMException if not given a valid custom element name.
    -
    window . customElements . upgrade(root)
    +
    window.customElements.upgrade(root)
    Tries to upgrade all shadow-including inclusive descendant elements of root, even if they are not @@ -68962,7 +68962,7 @@ customElements.define("x-foo", class extends HTMLElement { control over internal features which the user agent provides to all elements.

    -
    element . attachInternals()
    +
    element.attachInternals()

    Returns an ElementInternals object targeting the custom element element. Throws an exception if element is not a custom @@ -69061,7 +69061,7 @@ dictionary ValidityStateFlags {

    Shadow root access
    -
    internals . shadowRoot
    +
    internals.shadowRoot

    Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise.

    @@ -69090,7 +69090,7 @@ dictionary ValidityStateFlags {
    Form-associated custom elements
    -
    internals . setFormValue(value)
    +
    internals.setFormValue(value)

    Sets both the state and submission value of internals's ValidityStateFlags {

    If value is null, the element won't participate in form submission.

    -
    internals . setFormValue(value, +
    internals.setFormValue(value, state)

    Sets the submission value of @@ -69109,11 +69109,11 @@ dictionary ValidityStateFlags {

    If value is null, the element won't participate in form submission.

    -
    internals . form
    +
    internals.form

    Returns the form owner of internals's target element.

    -
    internals . setValidity(flags, +
    internals.setValidity(flags, message [, anchor ])

    Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's @@ -69123,7 +69123,7 @@ dictionary ValidityStateFlags { interactively or reportValidity() is called.

    -
    internals . setValidity({})
    +
    internals.setValidity({})

    Marks internals's target element as satisfying its constraints.

    @@ -69133,7 +69133,7 @@ dictionary ValidityStateFlags {

    Returns true if internals's target element will be validated when the form is submitted; false otherwise.

    -
    internals . validity
    +
    internals.validity

    Returns the ValidityState object for internals's target element.

    @@ -69155,7 +69155,7 @@ dictionary ValidityStateFlags { data-x="event-invalid">invalid
    event at the element, and (if the event isn't canceled) reports the problem to the user.

    -
    internals . labels
    +
    internals.labels

    Returns a NodeList of all the label elements that internals's target element is associated with.

    @@ -69331,12 +69331,12 @@ dictionary ValidityStateFlags {
    Accessibility semantics
    -
    internals . role [ = value ]
    +
    internals.role [ = value ]

    Sets or retrieves the default ARIA role for internals's target element, which will be used unless the page author overrides it using the role attribute.

    -
    internals . aria* [ = value ]
    +
    internals.aria* [ = value ]

    Sets or retrieves various default ARIA states or property values for internals's target element, which will be used unless the page author overrides them using the aria-* @@ -74226,7 +74226,7 @@ END:VCARD

    -
    element . click()
    +
    element.click()

    Acts as if the element was clicked.

    @@ -75457,7 +75457,7 @@ END:VCARD
    -
    documentOrShadowRoot . activeElement
    +
    documentOrShadowRoot.activeElement

    Returns the deepest element in the document through which or to which key events are being @@ -75477,7 +75477,7 @@ END:VCARD shadow-including inclusive ancestor of the focused element, and null if not.

    -
    document . hasFocus()
    +
    document.hasFocus()

    Returns true if key events are being routed through or to the document; otherwise, returns @@ -75485,7 +75485,7 @@ END:VCARD being focused.

    -
    window . focus()
    +
    window.focus()
    @@ -75494,12 +75494,12 @@ END:VCARD
    -
    element . focus([ { preventScroll: true } ])
    +
    element.focus([ { preventScroll: true } ])

    Moves the focus to the element.

    @@ -75512,7 +75512,7 @@ END:VCARD prevents this behavior.

    -
    element . blur()
    +
    element.blur()

    Moves the focus to the viewport. Use of this method is discouraged; if you want @@ -76123,7 +76123,7 @@ body { display:none }

    -
    element . contentEditable [ = value ]
    +
    element.contentEditable [ = value ]

    Returns "true", "false", or "

    -
    element . isContentEditable
    +
    element.isContentEditable

    Returns true if the element is editable; otherwise, returns false.

    @@ -76169,7 +76169,7 @@ body { display:none } editable: the designMode getter and setter
    -
    document . designMode [ = value ]
    +
    document.designMode [ = value ]

    Returns "on" if the document is editable, and "off" if it isn't.

    @@ -76334,7 +76334,7 @@ body { display:none }
    -
    element . spellcheck [ = value ]
    +
    element.spellcheck [ = value ]

    Returns true if the element is to have its spelling and grammar checked; otherwise, returns @@ -76588,7 +76588,7 @@ body { display:none } state.

    -
    element . autocapitalize [ = value ]
    +
    element.autocapitalize [ = value ]

    Returns the current autocapitalization state for the element, or an empty string if it hasn't @@ -77246,7 +77246,7 @@ interface DataTransfer { store.

    -
    dataTransfer . dropEffect [ = value ]
    +
    dataTransfer.dropEffect [ = value ]

    Returns the kind of operation that is currently selected. If the kind of operation isn't one @@ -77263,7 +77263,7 @@ interface DataTransfer {

    -
    dataTransfer . effectAllowed [ = value ]
    +
    dataTransfer.effectAllowed [ = value ]

    Returns the kinds of operations that are to be allowed.

    @@ -77283,12 +77283,12 @@ interface DataTransfer {
    -
    dataTransfer . items
    +
    dataTransfer.items

    Returns a DataTransferItemList object, with the drag data.

    -
    dataTransfer . setDragImage(element, x, y)
    +
    dataTransfer.setDragImage(element, x, y)

    Uses the given element to update the drag feedback, replacing any previously specified @@ -77296,7 +77296,7 @@ interface DataTransfer {

    -
    dataTransfer . types
    +
    dataTransfer.types

    Returns a frozen array listing the formats that were set in the DataTransfer {

    -
    data = dataTransfer . getData(format)
    +
    data = dataTransfer.getData(format)

    Returns the specified data. If there is no such data, returns the empty string.

    -
    dataTransfer . setData(format, data)
    +
    dataTransfer.setData(format, data)

    Adds the specified data.

    -
    dataTransfer . clearData( [ format ] )
    +
    dataTransfer.clearData( [ format ] )

    Removes the data of the specified formats. Removes all data if the argument is omitted.

    -
    dataTransfer . files
    +
    dataTransfer.files

    Returns a FileList of the files being dragged, if any.

    @@ -77607,7 +77607,7 @@ DND-v5: DataTransferItem? -
    items . length
    +
    items.length

    Returns the number of items in the drag data store.

    @@ -77620,18 +77620,18 @@ DND-v5: DataTransferItem? items . remove(index)
    +
    items.remove(index)

    Removes the indexth entry in the drag data store.

    -
    items . clear()
    +
    items.clear()

    Removes all the entries in the drag data store.

    -
    items . add(data)
    -
    items . add(data, type)
    +
    items.add(data)
    +
    items.add(data, type)

    Adds a new entry for the given data to the drag data store. If the data is plain @@ -77782,37 +77782,37 @@ callback FunctionObjectCallback = undefined (any data);--> -

    item . kind
    +
    item.kind

    Returns the drag data item kind, one of: "string", "file".

    -
    item . type
    +
    item.type

    Returns the drag data item type string.

    -
    item . getAsString(callback)
    +
    item.getAsString(callback)

    Invokes the callback with the string data as the argument, if the drag data item kind is text.

    -
    file = item . getAsFile()
    +
    file = item.getAsFile()

    Returns a File object, if the drag data item kind is File.

    Cancels the timeout set with setTimeout() or setInterval() identified by handle.

    -
    handle = self . setInterval( handler [, timeout [, arguments... ] ] )
    +
    handle = self.setInterval( handler [, timeout [, arguments... ] ] )

    Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.

    -
    handle = self . setInterval( code [, timeout ] )
    +
    handle = self.setInterval( code [, timeout ] )

    Schedules a timeout to compile and run code every timeout milliseconds.

    -
    self . clearInterval( handle )
    +
    self.clearInterval( handle )

    Cancels the timeout set with setInterval() or

    Microtask queuing

    -
    self . queueMicrotask(callback)
    +
    self.queueMicrotask(callback)

    Queues a microtask to run the given callback.

    @@ -96011,17 +96011,17 @@ function sendData(data) {
    -
    window . alert(message)
    +
    window.alert(message)

    Displays a modal alert with the given message, and waits for the user to dismiss it.

    -
    result = window . confirm(message)
    +
    result = window.confirm(message)

    Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it, and returns true if the user clicks OK and false if the user clicks Cancel.

    -
    result = window . prompt(message [, default] )
    +
    result = window.prompt(message [, default] )

    Displays a modal text control prompt with the given message, waits for the user to dismiss it, and returns the value that the user entered. If the user cancels the prompt, then returns @@ -96154,7 +96154,7 @@ function sendData(data) {

    -
    window . print()
    +
    window.print()

    Prompts the user to print the page.

    @@ -96313,33 +96313,33 @@ interface Navigator { and unknown versions should always be assumed to be fully compliant.

    -
    self . navigator . appCodeName
    +
    self.navigator.appCodeName

    Returns the string "Mozilla".

    -
    self . navigator . appName
    +
    self.navigator.appName

    Returns the string "Netscape".

    -
    self . navigator . appVersion
    +
    self.navigator.appVersion

    Returns the version of the browser.

    -
    self . navigator . platform
    +
    self.navigator.platform

    Returns the name of the platform.

    -
    self . navigator . product
    +
    self.navigator.product

    Returns the string "Gecko".

    -
    window . navigator . productSub
    +
    window.navigator.productSub

    Returns either the string "20030107", or the string "20100101".

    -
    self . navigator . userAgent
    +
    self.navigator.userAgent

    Returns the complete `User-Agent` header.

    -
    window . navigator . vendor
    +
    window.navigator.vendor

    Returns either the empty string, the string "Apple Computer, Inc.", or the string "Google Inc.".

    -
    window . navigator . vendorSub
    +
    window.navigator.vendorSub

    Returns the empty string.

    @@ -96453,10 +96453,10 @@ interface Navigator { };
    -
    self . navigator . language
    +
    self.navigator.language

    Returns a language tag representing the user's preferred language.

    -
    self . navigator . languages
    +
    self.navigator.languages

    Returns an array of language tags representing the user's preferred languages, with the most preferred language first.

    @@ -96541,7 +96541,7 @@ interface Navigator { };
    -
    self . navigator . onLine
    +
    self.navigator.onLine

    Returns false if the user agent is definitely offline (disconnected from the network). @@ -96607,7 +96607,7 @@ interface Navigator { };

    -
    window . navigator . registerProtocolHandler(scheme, url)
    +
    window.navigator.registerProtocolHandler(scheme, url)

    Registers a handler for scheme at url. For example, an online telephone messaging service could register itself as a handler of the %s" string is missing in url.

    -
    window . navigator . unregisterProtocolHandler(scheme, url)
    +
    window.navigator.unregisterProtocolHandler(scheme, url)

    Unregisters the handler given by the arguments.

    @@ -96874,7 +96874,7 @@ interface Navigator {
    -
    window . navigator . cookieEnabled
    +
    window.navigator.cookieEnabled

    Returns false if setting a cookie will be ignored, and true otherwise.

    @@ -96891,7 +96891,7 @@ interface Navigator {
    PDF viewing support
    -
    window . navigator . pdfViewerEnabled
    +
    window.navigator.pdfViewerEnabled

    Returns true if the user agent supports inline viewing of PDF files when navigating to them, or false otherwise. In the latter case, PDF files @@ -97215,8 +97215,8 @@ dictionary ImageBitmapOptions {

    -
    promise = self . createImageBitmap(image [, options ])
    -
    promise = self . createImageBitmap(image, sx, sy, sw, sh [, options ])
    +
    promise = self.createImageBitmap(image [, options ])
    +
    promise = self.createImageBitmap(image, sx, sy, sw, sh [, options ])

    Takes image, which can be an img element, an SVG @@ -97255,19 +97255,19 @@ dictionary ImageBitmapOptions { origin).

    -
    imageBitmap . close()
    +
    imageBitmap.close()

    Releases imageBitmap's underlying bitmap data.

    -
    imageBitmap . width
    +
    imageBitmap.width

    Returns the intrinsic width of the image, in CSS pixels.

    -
    imageBitmap . height
    +
    imageBitmap.height

    Returns the intrinsic height of the image, in CSS @@ -97960,25 +97960,25 @@ typedef (WindowProxy or MessagePort or ServiceWo

    -
    event . data
    +
    event.data

    Returns the data of the message.

    -
    event . origin
    +
    event.origin

    Returns the origin of the message, for server-sent events and cross-document messaging.

    -
    event . lastEventId
    +
    event.lastEventId

    Returns the last event ID string, for server-sent events.

    -
    event . source
    +
    event.source

    Returns the WindowProxy of the source window, for cross-document @@ -97987,7 +97987,7 @@ typedef (WindowProxy or MessagePort or ServiceWo SharedWorkerGlobalScope objects.

    -
    event . ports
    +
    event.ports

    Returns the MessagePort array sent with the message, for cross-document @@ -98176,7 +98176,7 @@ dictionary EventSourceInit { connection requests to url to "include".

    -
    source . close()
    +
    source.close()

    Aborts any instances of the fetch algorithm started for @@ -98185,12 +98185,12 @@ dictionary EventSourceInit { data-x="dom-EventSource-CLOSED">CLOSED.

    -
    source . url
    +
    source.url

    Returns the URL providing the event stream.

    -
    source . withCredentials
    +
    source.withCredentials

    Returns true if the credentials mode @@ -98198,7 +98198,7 @@ dictionary EventSourceInit { stream is set to "include", and false otherwise.

    -
    source . readyState
    +
    source.readyState

    Returns the state of this EventSource object's connection. It can have the @@ -98972,7 +98972,7 @@ interface WebSocket : EventTarget { The WebSocket protocol.

    -
    socket . send( data )
    +
    socket.send( data )

    Transmits data using the WebSocket connection. data can be a string, a @@ -98980,7 +98980,7 @@ interface WebSocket : EventTarget { data-x="idl-ArrayBufferView">ArrayBufferView.

    -
    socket . close( [ code ] [, reason ] )
    +
    socket.close( [ code ] [, reason ] )

    Closes the WebSocket connection, optionally using code as WebSocket : EventTarget { close reason.

    -
    socket . url
    +
    socket.url

    Returns the URL that was used to establish the WebSocket connection.

    -
    socket . readyState
    +
    socket.readyState

    Returns the state of the WebSocket object's connection. It can have the values described below.

    -
    socket . bufferedAmount
    +
    socket.bufferedAmount

    Returns the number of bytes of application data (UTF-8 text and binary data) that have been @@ -99015,18 +99015,18 @@ interface WebSocket : EventTarget { to zero once the connection closes.)

    -
    socket . extensions
    +
    socket.extensions

    Returns the extensions selected by the server, if any.

    -
    socket . protocol
    +
    socket.protocol

    Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.

    -
    socket . binaryType [ = value ]
    +
    socket.binaryType [ = value ]

    Returns a string that indicates how binary data from the WebSocket object is @@ -99646,13 +99646,13 @@ dictionary CloseEventInit : EventInit {

    -
    event . wasClean
    +
    event.wasClean

    Returns true if the connection closed cleanly; false otherwise.

    -
    event . code
    +
    event.code

    Returns the WebSocket connection close code provided by the server.

    -
    event . reason
    +
    event.reason

    Returns the WebSocket connection close reason provided by the server.

    @@ -99853,7 +99853,7 @@ function receiver(e) {

    Posting messages

    -
    window . postMessage(message [, options ] )
    +
    window.postMessage(message [, options ] )

    Posts a message to the given window. Messages can be structured objects, e.g. nested objects @@ -99879,7 +99879,7 @@ function receiver(e) { cloned.

    -
    window . postMessage(message, targetOrigin [, transfer ] )
    +
    window.postMessage(message, targetOrigin [, transfer ] )

    This is an alternate version of postMessage() where the target origin is specified @@ -100232,11 +100232,11 @@ interface MessageChannel { objects.

    -
    channel . port1
    +
    channel.port1

    Returns the first MessagePort object.

    -
    channel . port2
    +
    channel.port2

    Returns the second MessagePort object.

    @@ -100296,8 +100296,8 @@ dictionary PostMessageOptions { };
    -
    port . postMessage(message [, transfer] )
    -
    port . postMessage(message [, { transfer }] )
    +
    port.postMessage(message [, transfer] )
    +
    port.postMessage(message [, { transfer }] )

    Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.

    @@ -100307,10 +100307,10 @@ dictionary PostMessageOptions { could not be cloned.

    -
    port . start()
    +
    port.start()

    Begins dispatching messages received on the port.

    -
    port . close()
    +
    port.close()

    Disconnects the port, so that it is no longer active.

    @@ -100660,18 +100660,18 @@ interface BroadcastChannel : EventTarget { name can be sent and received.

    -
    broadcastChannel . name
    +
    broadcastChannel.name

    Returns the channel name (as passed to the constructor).

    -
    broadcastChannel . postMessage(message)
    +
    broadcastChannel.postMessage(message)

    Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.

    -
    broadcastChannel . close()
    +
    broadcastChannel.close()

    Closes the BroadcastChannel object, opening it up to garbage collection.

    @@ -101336,16 +101336,16 @@ interface WorkerGlobalScope : EventTarget {
    -
    workerGlobal . self
    +
    workerGlobal.self
    Returns workerGlobal.
    -
    workerGlobal . location
    +
    workerGlobal.location
    Returns workerGlobal's WorkerLocation object.
    -
    workerGlobal . navigator
    +
    workerGlobal.navigator
    Returns workerGlobal's WorkerNavigator object.
    -
    workerGlobal . importScripts(urls...)
    +
    workerGlobal.importScripts(urls...)
    Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).
    @@ -101412,20 +101412,20 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalSc DedicatedWorkerGlobalScope object.

    -
    dedicatedWorkerGlobal . name
    +
    dedicatedWorkerGlobal.name

    Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging.

    -
    dedicatedWorkerGlobal . postMessage(message [, +
    dedicatedWorkerGlobal.postMessage(message [, transfer ])
    -
    dedicatedWorkerGlobal . postMessage(message +
    dedicatedWorkerGlobal.postMessage(message [, { transfer } ])

    Clones message and transmits it to the Worker object associated with dedicatedWorkerGlobal. transfer can be passed as a list of objects that are to be transferred rather than cloned.

    -
    dedicatedWorkerGlobal . close()
    +
    dedicatedWorkerGlobal.close()

    Aborts dedicatedWorkerGlobal.

    @@ -101512,14 +101512,14 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope connection.

    -
    sharedWorkerGlobal . name
    +
    sharedWorkerGlobal.name

    Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.

    -
    sharedWorkerGlobal . close()
    +
    sharedWorkerGlobal.close()

    Aborts sharedWorkerGlobal.

    @@ -102156,11 +102156,11 @@ enum WorkerType { "classic", "module" }; and if that is specified, can also be used to specify how scriptURL is fetched through the credentials option.

    -
    worker . terminate()
    +
    worker.terminate()
    Aborts worker's associated global environment.
    -
    worker . postMessage(message [, transfer ] )
    -
    worker . postMessage(message [, { transfer } ] )
    +
    worker.postMessage(message [, transfer ] )
    +
    worker.postMessage(message [, { transfer } ] )

    Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.

    @@ -102295,7 +102295,7 @@ interface SharedWorker : EventTarget { mismatch an existing shared worker will cause the returned sharedWorker to fire an error event and not connect to the existing shared worker.

    -
    sharedWorker . port
    +
    sharedWorker.port

    Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.

    @@ -102459,7 +102459,7 @@ interface SharedWorker : EventTarget { };
    -
    self . navigator . hardwareConcurrency
    +
    self.navigator.hardwareConcurrency

    Returns the number of logical processors potentially available to the user agent.

    @@ -102864,10 +102864,10 @@ interface WorkerLocation { };
    -
    window . fakeWorklet1
    +
    window.fakeWorklet1
    Returns one of the fake worklets.
    -
    window . fakeWorklet2
    +
    window.fakeWorklet2
    Returns another of the fake worklets.
    @@ -103305,7 +103305,7 @@ dictionary WorkletOptions {
    -
    await worklet . addModule(moduleURL[, { credentials }])
    +
    await worklet.addModule(moduleURL[, { credentials }])

    Loads and executes the module script given by moduleURL into all of worklet's global scopes. It can @@ -103667,19 +103667,19 @@ interface Storage { };

    -
    storage . length
    +
    storage.length

    Returns the number of key/value pairs.

    -
    storage . key ( n )
    +
    storage.key ( n )

    Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.

    -
    value = storage . getItem ( key )
    +
    value = storage.getItem ( key )
    value = storage[key]

    Returns the current value associated with the given key, or null if the given key does not exist.

    -
    storage . setItem ( key, value )
    +
    storage.setItem ( key, value )
    storage[key] = value

    Sets the value of the pair identified by key to value, creating a new @@ -103693,7 +103693,7 @@ interface Storage { holding an equivalent Storage object.

    -
    storage . removeItem ( key )
    +
    storage.removeItem ( key )
    delete storage[key]

    Removes the key/value pair with the given key, if a key/value pair with the given @@ -103703,7 +103703,7 @@ interface Storage { holding an equivalent Storage object.

    -
    storage . clear()
    +
    storage.clear()

    Removes all key/value pairs, if there are any.

    @@ -103892,7 +103892,7 @@ interface Storage { Window includes WindowSessionStorage;
    -
    window . sessionStorage
    +
    window.sessionStorage

    Returns the Storage object associated with that window's origin's session storage area.

    @@ -103952,7 +103952,7 @@ interface Storage {
    -
    window . localStorage
    +
    window.localStorage

    Returns the Storage object associated with window's origin's local storage area.

    @@ -104023,22 +104023,22 @@ dictionary StorageEventInit : EventInit { };
    -
    event . key
    +
    event.key

    Returns the key of the storage item being changed.

    -
    event . oldValue
    +
    event.oldValue

    Returns the old value of the key of the storage item whose value is being changed.

    -
    event . newValue
    +
    event.newValue

    Returns the new value of the key of the storage item whose value is being changed.

    -
    event . url
    +
    event.url

    Returns the URL of the document whose storage item changed.

    -
    event . storageArea
    +
    event.storageArea

    Returns the Storage object that was affected.

    From 448511848ac89f8b1b17795b2e43ca178a0c0020 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 16:11:09 -0400 Subject: [PATCH 06/12] Automated removal of spaces in parens i.e. "( " -> "(") and " )" -> ")" --- source | 138 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/source b/source index 8fbb944c5db..414d52c65ce 100644 --- a/source +++ b/source @@ -27054,7 +27054,7 @@ interface HTMLImageElement : HTMLElement { DOMException if the image cannot be decoded.

    -
    image = new Image( [ width [, height ] ] )
    +
    image = new Image([ width [, height ] ])
    @@ -32853,7 +32853,7 @@ interface HTMLAudioElement : HTMLMediaElement
    -
    audio = new Audio( [ url ] )
    +
    audio = new Audio([ url ])

    Returns a new audio element, with the src @@ -36136,7 +36136,7 @@ interface MediaError { resource to which it is possible for the user agent to seek.

    -
    media.fastSeek( time )
    +
    media.fastSeek(time)

    Seeks to near the given time as fast as possible, trading precision for speed. (To @@ -36404,8 +36404,8 @@ interface VideoTrack {

    Returns the specified AudioTrack or VideoTrack object.

    -
    audioTrack = media.audioTracks.getTrackById( id )
    -
    videoTrack = media.videoTracks.getTrackById( id )
    +
    audioTrack = media.audioTracks.getTrackById(id)
    +
    videoTrack = media.videoTracks.getTrackById(id)

    Returns the AudioTrack or VideoTrack object with the given @@ -37627,7 +37627,7 @@ interface TextTrackList : EventTarget { track in the media element's list of text tracks.

    -
    textTrack = media.textTracks.getTrackById( id )
    +
    textTrack = media.textTracks.getTrackById(id)

    Returns the TextTrack object with the given identifier, or null if no track has @@ -37706,7 +37706,7 @@ interface TextTrack : EventTarget {

    -
    textTrack = media.addTextTrack( kind [, label [, language ] ] )
    +
    textTrack = media.addTextTrack(kind [, label [, language ] ])

    Creates and returns a new TextTrack object, which is also added to the media element's list of text tracks.

    @@ -37771,11 +37771,11 @@ interface TextTrack : EventTarget { position and end after it), as a TextTrackCueList object.

    -
    textTrack.addCue( cue )
    +
    textTrack.addCue(cue)

    Adds the given cue to textTrack's text track list of cues.

    -
    textTrack.removeCue( cue )
    +
    textTrack.removeCue(cue)

    Removes the given cue from textTrack's text track list of cues.

    @@ -38018,7 +38018,7 @@ interface TextTrackCueList { sorted in text track cue order.

    -
    cuelist.getCueById( id )
    +
    cuelist.getCueById(id)

    Returns the first text track cue (in text track cue order) with text track cue identifier id.

    @@ -40132,7 +40132,7 @@ interface HTMLTableElement : HTMLElement {

    Returns an HTMLCollection of the tr elements of the table.

    -
    tr = table.insertRow( [ index ] )
    +
    tr = table.insertRow([ index ])

    Creates a tr element, along with a tbody if required, inserts them into the table at the position given by the argument, and returns the tr.

    @@ -40833,7 +40833,7 @@ interface HTMLTableSectionElement : HTMLElement
    -
    tr = tbody.insertRow( [ index ] )
    +
    tr = tbody.insertRow([ index ])

    Creates a tr element, inserts it into the table section at the position given by the argument, and returns the tr.

    @@ -41094,7 +41094,7 @@ interface HTMLTableRowElement : HTMLElement { the row.

    -
    cell = tr.insertCell( [ index ] )
    +
    cell = tr.insertCell([ index ])

    Creates a td element, inserts it into the table row at the position given by the @@ -43387,7 +43387,7 @@ interface HTMLFormElement : HTMLElement { event.

    -
    form.requestSubmit( [ submitter ] )
    +
    form.requestSubmit([ submitter ])

    Requests to submit the form. Unlike submit(), this @@ -49822,8 +49822,8 @@ You cannot submit this form when the field is incorrect. control is neither date- or time-based nor numeric.

    -
    input.stepUp( [ n ] )
    -
    input.stepDown( [ n ] )
    +
    input.stepUp([ n ])
    +
    input.stepDown([ n ])

    Changes the form control's value by the value given in @@ -50752,7 +50752,7 @@ interface HTMLSelectElement : HTMLElement {

    Returns null if no element with that ID could be found.

    -
    select.add(element [, before ] )
    +
    select.add(element [, before ])

    Inserts element before the node given by before.

    @@ -51358,7 +51358,7 @@ interface HTMLOptionElement : HTMLElement { elements are skipped.

    -
    option = new Option( [ text [, value [, defaultSelected [, selected ] ] ] ] )
    +
    option = new Option([ text [, value [, defaultSelected [, selected ] ] ] ])

    Returns a new option element.

    @@ -55389,14 +55389,14 @@ MIT Room 32-G524 and "none".

    -
    element.setSelectionRange(start, end [, direction] )
    +
    element.setSelectionRange(start, end [, direction])

    Changes the selection to cover the given substring in the given direction. If the direction is omitted, it will be reset to be the platform default (none or forward).

    -
    element.setRangeText(replacement [, start, end [, selectionMode ] ] )
    +
    element.setRangeText(replacement [, start, end [, selectionMode ] ])

    Replaces a range of text with the new text. If the start and end @@ -58045,7 +58045,7 @@ interface HTMLDialogElement : HTMLElement {

    This method honors the autofocus attribute.

    -
    dialog.close( [ result ] )
    +
    dialog.close([ result ])

    Closes the dialog element.

    @@ -60435,7 +60435,7 @@ callback BlobCallback = undefined (Blob? blob);
    -
    context = canvas.getContext(contextId [, options ] )
    +
    context = canvas.getContext(contextId [, options ])

    Returns an object that exposes an API for drawing on the canvas. contextId specifies the desired API: "2d", "BlobCallback = undefined (Blob? blob);

    -
    url = canvas.toDataURL( [ type [, quality ] ] )
    +
    url = canvas.toDataURL([ type [, quality ] ])

    Returns a data: URL for the image in the @@ -60622,7 +60622,7 @@ callback BlobCallback = undefined (Blob? blob); which case the result might simply be "data:,".)

    -
    canvas.toBlob(callback [, type [, quality ] ] )
    +
    canvas.toBlob(callback [, type [, quality ] ])

    Creates a Blob object representing a file containing the image in the canvas, @@ -61042,7 +61042,7 @@ interface Path2D { objects.

    -
    context = canvas.getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ] )
    +
    context = canvas.getContext('2d' [, { [ alpha: true ] [, desynchronized: false ] [, colorSpace: 'srgb'] [, willReadFrequently: false ]} ])

    Returns a CanvasRenderingContext2D object that is permanently bound to a particular canvas element.

    @@ -62782,8 +62782,8 @@ try { -->
    -
    context.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    -
    path.arc(x, y, radius, startAngle, endAngle [, counterclockwise ] )
    +
    context.arc(x, y, radius, startAngle, endAngle [, counterclockwise ])
    +
    path.arc(x, y, radius, startAngle, endAngle [, counterclockwise ])

    Adds points to the subpath such that the arc described by the circumference of the circle @@ -62950,8 +62950,8 @@ try { -->

    -
    context.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    -
    path.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise] )
    +
    context.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise])
    +
    path.ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle [, counterclockwise])

    Adds points to the subpath such that the arc described by the circumference of the ellipse @@ -63404,7 +63404,7 @@ try { SVG path data.

    -
    path.addPath(path [, transform ] )
    +
    path.addPath(path [, transform ])

    Adds to the path the path given by the argument.

    @@ -64425,8 +64425,8 @@ try {
    -
    context.fillText(text, x, y [, maxWidth ] )
    -
    context.strokeText(text, x, y [, maxWidth ] )
    +
    context.fillText(text, x, y [, maxWidth ])
    +
    context.strokeText(text, x, y [, maxWidth ])

    Fills or strokes (respectively) the given text at the given position. If a maximum width is @@ -64664,8 +64664,8 @@ try {

    Resets the current default path.

    -
    context.fill( [ fillRule ] )
    -
    context.fill(path [, fillRule ] )
    +
    context.fill([ fillRule ])
    +
    context.fill(path [, fillRule ])

    Fills the subpaths of the current default path or the given path with the @@ -64682,8 +64682,8 @@ try {

    -
    context.clip( [ fillRule ] )
    -
    context.clip(path [, fillRule ] )
    +
    context.clip([ fillRule ])
    +
    context.clip(path [, fillRule ])

    Further constrains the clipping region to the current default path or the given @@ -64691,8 +64691,8 @@ try {

    -
    context.isPointInPath(x, y [, fillRule ] )
    -
    context.isPointInPath(path, x, y [, fillRule ] )
    +
    context.isPointInPath(x, y [, fillRule ])
    +
    context.isPointInPath(path, x, y [, fillRule ])

    Returns true if the given point is in the current default path or the given @@ -66191,7 +66191,7 @@ dictionary ImageBitmapRenderingContextSettings {

    -
    context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ] )
    +
    context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ])

    Returns an ImageBitmapRenderingContext object that is permanently bound to a @@ -66443,7 +66443,7 @@ interface OffscreenCanvas : EventTarget {

    context = offscreenCanvas.getContext(contextId [, - options ] )
    + options ])

    Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "OffscreenCanvas : EventTarget { object's rendering context.

    -
    promise = offscreenCanvas.convertToBlob( [options] )
    +
    promise = offscreenCanvas.convertToBlob([options])

    Returns a promise that will fulfill with a new Blob object representing a file @@ -77315,7 +77315,7 @@ interface DataTransfer {

    Adds the specified data.

    -
    dataTransfer.clearData( [ format ] )
    +
    dataTransfer.clearData([ format ])

    Removes the data of the specified formats. Removes all data if the argument is omitted.

    @@ -80581,7 +80581,7 @@ dictionary WindowPostMessageOptions : PostMessageOpt
    -
    window = window.open( [ url [, target [, features ] ] ] )
    +
    window = window.open([ url [, target [, features ] ] ])

    Opens a window to show url (defaults to about:blank), and returns it. @@ -84560,7 +84560,7 @@ interface History {

    Returns the current serialized state, deserialized into an object.

    -
    window.history.go( [ delta ] )
    +
    window.history.go([ delta ])

    Goes back or forward the specified number of steps in the joint session @@ -94978,7 +94978,7 @@ document.body.appendChild(frame)

    -
    result = self.btoa( data )
    +
    result = self.btoa(data)

    Takes the input data, in the form of a Unicode string containing only characters in the range @@ -94989,7 +94989,7 @@ document.body.appendChild(frame) exception if the input string contains any out-of-range characters.

    -
    result = self.atob( data )
    +
    result = self.atob(data)

    Takes the input data, in the form of a Unicode string containing base64-encoded binary data, @@ -95052,7 +95052,7 @@ document.body.appendChild(frame)

    Opening the input stream

    -
    document = document.open( )
    +
    document = document.open()

    Causes the Document to be replaced in-place, as if it was a new Document object, but reusing the previous object, which is then returned.

    @@ -95069,7 +95069,7 @@ document.body.appendChild(frame) parser is currently executing a custom element constructor.

    -
    window = document.open( url, name, features )
    +
    window = document.open(url, name, features)

    Works like the window.open() method.

    @@ -95423,7 +95423,7 @@ document.body.appendChild(frame)
    parser = new DOMParser()

    Constructs a new DOMParser object.

    -
    document = parser.parseFromString( string, type )
    +
    document = parser.parseFromString(string, type)

    Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" @@ -95566,41 +95566,41 @@ enum DOMParserSupportedType {

    -
    handle = self.setTimeout( handler [, timeout [, arguments... ] ] )
    +
    handle = self.setTimeout(handler [, timeout [, arguments... ] ])

    Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.

    -
    handle = self.setTimeout( code [, timeout ] )
    +
    handle = self.setTimeout(code [, timeout ])

    Schedules a timeout to compile and run code after timeout milliseconds.

    -
    self.clearTimeout( handle )
    +
    self.clearTimeout(handle)

    Cancels the timeout set with setTimeout() or setInterval() identified by handle.

    -
    handle = self.setInterval( handler [, timeout [, arguments... ] ] )
    +
    handle = self.setInterval(handler [, timeout [, arguments... ] ])

    Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.

    -
    handle = self.setInterval( code [, timeout ] )
    +
    handle = self.setInterval(code [, timeout ])

    Schedules a timeout to compile and run code every timeout milliseconds.

    -
    self.clearInterval( handle )
    +
    self.clearInterval(handle)

    Cancels the timeout set with setInterval() or

    -
    result = window.prompt(message [, default] )
    +
    result = window.prompt(message [, default])

    Displays a modal text control prompt with the given message, waits for the user to dismiss it, and returns the value that the user entered. If the user cancels the prompt, then returns @@ -98952,7 +98952,7 @@ interface WebSocket : EventTarget {

    -
    socket = new WebSocket(url [, protocols ] )
    +
    socket = new WebSocket(url [, protocols ])

    Creates a new WebSocket object, immediately establishing the associated WebSocket connection.

    @@ -98972,7 +98972,7 @@ interface WebSocket : EventTarget { The WebSocket protocol.

    -
    socket.send( data )
    +
    socket.send(data)

    Transmits data using the WebSocket connection. data can be a string, a @@ -98980,7 +98980,7 @@ interface WebSocket : EventTarget { data-x="idl-ArrayBufferView">ArrayBufferView.

    -
    socket.close( [ code ] [, reason ] )
    +
    socket.close([ code ] [, reason ])

    Closes the WebSocket connection, optionally using code as Posting messages

    -
    window.postMessage(message [, options ] )
    +
    window.postMessage(message [, options ])

    Posts a message to the given window. Messages can be structured objects, e.g. nested objects @@ -99879,7 +99879,7 @@ function receiver(e) { cloned.

    -
    window.postMessage(message, targetOrigin [, transfer ] )
    +
    window.postMessage(message, targetOrigin [, transfer ])

    This is an alternate version of postMessage() where the target origin is specified @@ -100296,8 +100296,8 @@ dictionary PostMessageOptions { };

    -
    port.postMessage(message [, transfer] )
    -
    port.postMessage(message [, { transfer }] )
    +
    port.postMessage(message [, transfer])
    +
    port.postMessage(message [, { transfer }])

    Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.

    @@ -102159,8 +102159,8 @@ enum WorkerType { "classic", "module" };
    worker.terminate()
    Aborts worker's associated global environment.
    -
    worker.postMessage(message [, transfer ] )
    -
    worker.postMessage(message [, { transfer } ] )
    +
    worker.postMessage(message [, transfer ])
    +
    worker.postMessage(message [, { transfer } ])

    Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.

    @@ -103670,16 +103670,16 @@ interface Storage {
    storage.length

    Returns the number of key/value pairs.

    -
    storage.key ( n )
    +
    storage.key (n)

    Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.

    -
    value = storage.getItem ( key )
    +
    value = storage.getItem (key)
    value = storage[key]

    Returns the current value associated with the given key, or null if the given key does not exist.

    -
    storage.setItem ( key, value )
    +
    storage.setItem (key, value)
    storage[key] = value

    Sets the value of the pair identified by key to value, creating a new @@ -103693,7 +103693,7 @@ interface Storage { holding an equivalent Storage object.

    -
    storage.removeItem ( key )
    +
    storage.removeItem (key)
    delete storage[key]

    Removes the key/value pair with the given key, if a key/value pair with the given From 95b9f5dfa05ca152161933fb02ae79c8f5cc1bb9 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 16:20:29 -0400 Subject: [PATCH 07/12] Automated movement of ...s in

    s --- source | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source b/source index 414d52c65ce..17fd678afd0 100644 --- a/source +++ b/source @@ -95285,7 +95285,7 @@ document.body.appendChild(frame)
    -
    document.write(text...)
    +
    document.write(...text)

    In general, adds the given string(s) to the Document's input stream.

    @@ -95386,7 +95386,7 @@ document.body.appendChild(frame)
    -
    document.writeln(text...)
    +
    document.writeln(...text)

    Adds the given string(s) to the Document's input stream, followed by a newline @@ -95566,7 +95566,7 @@ enum DOMParserSupportedType {

    -
    handle = self.setTimeout(handler [, timeout [, arguments... ] ])
    +
    handle = self.setTimeout(handler [, timeout [, ...arguments ] ])

    Schedules a timeout to run handler after timeout milliseconds. Any @@ -95586,7 +95586,7 @@ enum DOMParserSupportedType {

    Cancels the timeout set with setTimeout() or setInterval() identified by handle.

    -
    handle = self.setInterval(handler [, timeout [, arguments... ] ])
    +
    handle = self.setInterval(handler [, timeout [, ...arguments ] ])

    Schedules a timeout to run handler every timeout milliseconds. Any @@ -101345,7 +101345,7 @@ interface WorkerGlobalScope : EventTarget {

    workerGlobal.navigator
    Returns workerGlobal's WorkerNavigator object.
    -
    workerGlobal.importScripts(urls...)
    +
    workerGlobal.importScripts(...urls)
    Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).
    From 218442332a4b48ed0357c4be248e496a18336f58 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Jul 2021 16:35:53 -0400 Subject: [PATCH 08/12] Automated removal of double linebreaks after
    --- source | 115 --------------------------------------------------------- 1 file changed, 115 deletions(-) diff --git a/source b/source index 17fd678afd0..9e07e9a898c 100644 --- a/source +++ b/source @@ -7929,7 +7929,6 @@ interface DOMStringList { equivalent rather than DOMStringList.

    -
    strings.length

    Returns the number of strings in strings.

    @@ -9318,7 +9317,6 @@ partial interface Document {

    Resource metadata management

    -
    document.referrer

    Returns the URL of the Document from @@ -9340,7 +9338,6 @@ partial interface Document {


    -
    document.cookie [ = value ]

    Returns the HTTP cookies that apply to the Document. If there are no cookies or @@ -9414,7 +9411,6 @@ partial interface Document {

    -
    document.lastModified

    Returns the date of the last modification to the document, as reported by the server, in the @@ -9472,7 +9468,6 @@ partial interface Document {

    Reporting document loading status

    -
    document.readyState

    Returns "loading" while the Document is loading, "Document {


    -
    document.head

    Returns the head element.

    @@ -9606,7 +9600,6 @@ partial interface Document {
    -
    document.title [ = value ]

    Returns the document's title, as given by the title element for @@ -9704,7 +9697,6 @@ partial interface Document {


    -
    document.body [ = value ]

    Returns the body element.

    @@ -9776,7 +9768,6 @@ partial interface Document {
    -
    document.images

    Returns an HTMLCollection of the img elements in the @@ -9845,7 +9836,6 @@ partial interface Document {

    -
    collection = document.getElementsByName(name)

    Returns a NodeList of elements in the Document that have a name attribute with the value name.

    @@ -9867,7 +9857,6 @@ partial interface Document {
    -
    document.currentScript

    Returns the script element, or the SVG script element, @@ -12247,7 +12236,6 @@ Transport Protocol">HTTP</abbr> today.</p>

    -
    media.canPlayType(type)
    @@ -33623,7 +33598,6 @@ interface MediaError {
    Network states
    -
    media.networkState
    @@ -33677,7 +33651,6 @@ interface MediaError {
    Loading the media resource
    -
    media.load()
    @@ -34773,7 +34746,6 @@ interface MediaError { -->
    -
    media.buffered
    @@ -34811,7 +34783,6 @@ interface MediaError {
    Offsets into the media resource
    -
    media.duration
    @@ -35066,7 +35037,6 @@ interface MediaError {
    Ready states
    -
    media.readyState
    @@ -35349,7 +35319,6 @@ interface MediaError {
    Playing the media resource
    -
    media.paused

    Returns true if playback is paused; false otherwise.

    @@ -36124,7 +36093,6 @@ interface MediaError {
    Seeking
    -
    media.seeking

    Returns true if the user agent is currently seeking.

    @@ -36310,7 +36278,6 @@ interface MediaError { angles, or sign-language overlays.

    -
    media.audioTracks
    @@ -36393,7 +36360,6 @@ interface VideoTrack { };
    -
    media.audioTracks.length
    media.videoTracks.length
    @@ -37612,7 +37578,6 @@ interface TextTrackList : EventTarget { };
    -
    media.textTracks.length

    Returns the number of text tracks associated with the @@ -37705,7 +37670,6 @@ interface TextTrack : EventTarget { };

    -
    textTrack = media.addTextTrack(kind [, label [, language ] ])

    Creates and returns a new TextTrack object, which is also added to the @@ -38008,7 +37972,6 @@ interface TextTrackCueList { };

    -
    cuelist.length

    Returns the number of cues in the list.

    @@ -38073,7 +38036,6 @@ interface TextTrackCue : EventTarget { };
    -
    cue.track

    Returns the TextTrack object to which this text track cue belongs, @@ -38342,7 +38304,6 @@ red:89

    -
    media.volume [ = value ]
    @@ -38465,7 +38426,6 @@ interface TimeRanges { };
    -
    media.length

    Returns the number of ranges in the object.

    @@ -38554,7 +38514,6 @@ dictionary TrackEventInit : EventInit { };
    -
    event.track
    @@ -39201,7 +39160,6 @@ interface HTMLMapElement : HTMLElement { attributes must have the same value.

    -
    map.areas
    @@ -40077,7 +40035,6 @@ interface HTMLTableElement : HTMLElement {
    -
    table.caption [ = value ]

    Returns the table's caption element.

    @@ -40826,7 +40783,6 @@ interface HTMLTableSectionElement : HTMLElement
    -
    tbody.rows

    Returns an HTMLCollection of the tr elements of the table @@ -41069,7 +41025,6 @@ interface HTMLTableRowElement : HTMLElement {

    -
    tr.rowIndex
    @@ -41481,7 +41436,6 @@ interface HTMLTableCellElement : HTMLElement {
    -
    cell.cellIndex
    @@ -43340,7 +43294,6 @@ interface HTMLFormElement : HTMLElement { list that the user agent implements the processing model for.

    -
    form.elements
    @@ -43789,7 +43742,6 @@ interface HTMLLabelElement : HTMLElement {
    -
    label.control

    Returns the form control that is associated with this element.

    @@ -43839,7 +43791,6 @@ interface HTMLLabelElement : HTMLElement {
    -
    control.labels
    @@ -47775,7 +47726,6 @@ ldh-str = < as defined in -
    input.indeterminate [ = value ]
    @@ -48609,7 +48559,6 @@ ldh-str = < as defined in -
    image.width [ = value ]
    image.height [ = value ]
    @@ -49763,7 +49712,6 @@ You cannot submit this form when the field is incorrect.
    Common input element APIs
    -
    input.value [ = value ]
    @@ -50709,7 +50657,6 @@ interface HTMLSelectElement : HTMLElement { mutable.

    -
    select.type
    @@ -51080,7 +51027,6 @@ interface HTMLDataListElement : HTMLElement { data-x="concept-option-label">label.
    -
    datalist.options
    @@ -51333,7 +51279,6 @@ interface HTMLOptionElement : HTMLElement {
    -
    option.selected
    @@ -51825,7 +51770,6 @@ interface HTMLTextAreaElement : HTMLElement {

    -
    textarea.type

    Returns the string "textarea".

    @@ -52801,7 +52745,6 @@ interface HTMLFieldSetElement : HTMLElement { data-x="attr-fe-name">name attribute represents the element's name.

    -
    fieldset.type

    Returns the string "fieldset".

    @@ -52968,7 +52911,6 @@ interface HTMLLegendElement : HTMLElement { any.

    -
    legend.form

    Returns the element's form element, if any, or null otherwise.

    @@ -53191,7 +53133,6 @@ interface HTMLLegendElement : HTMLElement {
    -
    element.form
    @@ -55357,7 +55298,6 @@ MIT Room 32-G524
    -
    element.select()

    Selects everything in the text control.

    @@ -56140,7 +56080,6 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
    The constraint validation API
    -
    element.willValidate
    @@ -57411,7 +57350,6 @@ dictionary FormDataEventInit : EventInit { };
    -
    event.formData
    @@ -58032,7 +57970,6 @@ interface HTMLDialogElement : HTMLElement {
    -
    dialog.show()

    Displays the dialog element.

    @@ -58564,7 +58501,6 @@ interface HTMLScriptElement : HTMLElement {
    -
    script.text [ = value ]
    @@ -59853,7 +59789,6 @@ interface HTMLTemplateElement : HTMLElement {
    -
    template.content

    Returns the template contents (a DocumentFragment).

    @@ -60601,7 +60536,6 @@ callback BlobCallback = undefined (Blob? blob);
    -
    url = canvas.toDataURL([ type [, quality ] ])
    @@ -61471,7 +61405,6 @@ context.fillRect(100,0,50,50); // only this square remains
    Line styles
    -
    context.lineWidth [ = value ]
    styles.lineWidth [ = value ]
    @@ -62587,7 +62520,6 @@ worker.postMessage(offscreenCanvas, [offscreenCanvas]); data-x="concept-path">path must be initialized to zero subpaths.

    -
    context.moveTo(x, y)
    path.moveTo(x, y)
    @@ -63500,7 +63432,6 @@ try {
    -
    context.scale(x, y)
    @@ -63841,7 +63772,6 @@ try {
    Fill and stroke styles
    -
    context.fillStyle [ = value ]
    @@ -64024,7 +63954,6 @@ try { there are no stops, the gradient is transparent black.

    -
    gradient.addColorStop(offset, color)
    @@ -64186,7 +64115,6 @@ try { interface.

    -
    pattern = context.createPattern(image, repetition)
    @@ -64340,7 +64268,6 @@ try {
    -
    context.clearRect(x, y, w, h)

    Clears all pixels on the bitmap in the given rectangle to transparent @@ -64659,7 +64586,6 @@ try { data-x="concept-path">path, as described above.

    -
    context.beginPath()

    Resets the current default path.

    @@ -64884,7 +64810,6 @@ try {
    Drawing focus rings and scrolling paths into view
    -
    context.drawFocusIfNeeded(element)
    context.drawFocusIfNeeded(path, element)
    @@ -65003,7 +64928,6 @@ try {
    -
    context.drawImage(image, dx, dy)
    context.drawImage(image, dx, dy, dw, dh)
    context.drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh)
    @@ -65651,7 +65575,6 @@ console.log(pixels.data[2]);
    Compositing
    -
    context.globalAlpha [ = value ]
    @@ -65722,7 +65645,6 @@ console.log(pixels.data[2]);
    Image smoothing
    -
    context.imageSmoothingEnabled [ = value ]
    @@ -65771,7 +65693,6 @@ console.log(pixels.data[2]); interface are affected by the four global shadow attributes.

    -
    context.shadowColor [ = value ]
    @@ -65901,7 +65822,6 @@ console.log(pixels.data[2]); data-x="dom-context-2d-filter">filter attribute.

    -
    context.filter [ = value ]
    @@ -66190,7 +66110,6 @@ dictionary ImageBitmapRenderingContextSettings { };
    -
    context = canvas.getContext('bitmaprenderer' [, { [ alpha: false ] } ])
    @@ -66896,7 +66815,6 @@ interface OffscreenCanvasRenderingContext2D { from which the OffscreenCanvasRenderingContext2D object was created.
    -
    offscreenCanvasRenderingContext2D.commit()
    @@ -74225,7 +74143,6 @@ END:VCARD -->
    -
    element.click()

    Acts as if the element was clicked.

    @@ -75456,7 +75373,6 @@ END:VCARD };
    -
    documentOrShadowRoot.activeElement
    @@ -76122,7 +76038,6 @@ body { display:none }
    -
    element.contentEditable [ = value ]
    @@ -76333,7 +76248,6 @@ body { display:none }
    -
    element.spellcheck [ = value ]
    @@ -77238,7 +77152,6 @@ interface DataTransfer { };
    -
    dataTransfer = new DataTransfer()
    @@ -77606,7 +77519,6 @@ DND-v5: DataTransferItem? -
    items.length

    Returns the number of items in the drag data store.

    @@ -77781,7 +77693,6 @@ callback FunctionStringCallback = undefined (DOMString data) callback FunctionObjectCallback = undefined (any data);-->
    -
    item.kind

    Returns the drag data item kind, one of: "string", @@ -77974,7 +77885,6 @@ dictionary DragEventInit : MouseEventInit { };

    -
    event.dataTransfer

    Returns the DataTransfer object for the event.

    @@ -78849,7 +78759,6 @@ dictionary DragEventInit : MouseEventInit { shouldn't the element generally be distinguishable anyway for it to be useful to drag? -->

    -
    element.draggable [ = value ]
    @@ -80580,7 +80489,6 @@ dictionary WindowPostMessageOptions : PostMessageOpt

    APIs for creating and navigating browsing contexts by name

    -
    window = window.open([ url [, target [, features ] ] ])
    @@ -80947,7 +80855,6 @@ dictionary WindowPostMessageOptions : PostMessageOpt

    Accessing other browsing contexts

    -
    window.length
    @@ -80991,7 +80898,6 @@ dictionary WindowPostMessageOptions : PostMessageOpt

    Named access on the Window object

    -
    window[name]
    @@ -82054,7 +81960,6 @@ interface BarProp {

    Relaxing the same-origin restriction

    -
    document.domain [ = domain ]
    @@ -84541,7 +84446,6 @@ interface History { };
    -
    window.history.length

    Returns the number of entries in the joint session history.

    @@ -85186,7 +85090,6 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
    -
    document.location [ = value ]
    window.location [ = value ]
    @@ -88315,7 +88218,6 @@ dictionary PopStateEventInit : EventInit { };
    -
    event.state

    Returns a copy of the information that was provided to HashChangeEventInit : EventInit { };

    -
    event.oldURL
    @@ -88395,7 +88296,6 @@ dictionary PageTransitionEventInit : EventInit
    -
    event.persisted
    @@ -94977,7 +94877,6 @@ document.body.appendChild(frame) input and output of these functions are Unicode strings.

    -
    result = self.btoa(data)
    @@ -95235,7 +95134,6 @@ document.body.appendChild(frame)

    Closing the input stream

    -
    document.close()
    @@ -95284,7 +95182,6 @@ document.body.appendChild(frame)

    document.write()

    -
    document.write(...text)
    @@ -95385,7 +95282,6 @@ document.body.appendChild(frame)

    document.writeln()

    -
    document.writeln(...text)
    @@ -95565,7 +95461,6 @@ enum DOMParserSupportedType { callbacks.

    -
    handle = self.setTimeout(handler [, timeout [, ...arguments ] ])
    @@ -96010,7 +95905,6 @@ function sendData(data) {

    Simple dialogs

    -
    window.alert(message)

    Displays a modal alert with the given message, and waits for the user to dismiss it.

    @@ -96153,7 +96047,6 @@ function sendData(data) {

    Printing

    -
    window.print()

    Prompts the user to print the page.

    @@ -96873,7 +96766,6 @@ interface Navigator { };
    -
    window.navigator.cookieEnabled

    Returns false if setting a cookie will be ignored, and true otherwise.

    @@ -97214,7 +97106,6 @@ dictionary ImageBitmapOptions { system RAM, the latency is probably acceptable.

    -
    promise = self.createImageBitmap(image [, options ])
    promise = self.createImageBitmap(image, sx, sy, sw, sh [, options ])
    @@ -97959,7 +97850,6 @@ dictionary MessageEventInit : EventInit { typedef (WindowProxy or MessagePort or ServiceWorker) MessageEventSource;
    -
    event.data

    Returns the data of the message.

    @@ -98161,7 +98051,6 @@ dictionary EventSourceInit {
    -
    source = new EventSource( url [, { withCredentials: true } ])
    @@ -98951,7 +98840,6 @@ interface WebSocket : EventTarget { data-x="concept-websocket-url">url (a URL record).
    -
    socket = new WebSocket(url [, protocols ])

    Creates a new WebSocket object, immediately establishing the associated @@ -99645,7 +99533,6 @@ dictionary CloseEventInit : EventInit { };

    -
    event.wasClean

    Returns true if the connection closed cleanly; false otherwise.

    @@ -100224,7 +100111,6 @@ interface MessageChannel { };
    -
    channel = new MessageChannel()
    @@ -100652,7 +100538,6 @@ interface BroadcastChannel : EventTarget { };
    -
    broadcastChannel = new BroadcastChannel(name)
    From ecc8712dafdbb5bc7e8b0168bbcd6fd358ef0475 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 27 Jul 2021 12:28:35 -0400 Subject: [PATCH 09/12] Review comments --- source | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source b/source index 9e07e9a898c..ae373ce8745 100644 --- a/source +++ b/source @@ -9777,7 +9777,7 @@ partial interface Document {
    document.embeds
    document.plugins
    -

    Return an HTMLCollection of the embed elements in the +

    Returns an HTMLCollection of the embed elements in the Document.

    @@ -9790,13 +9790,13 @@ partial interface Document {
    document.forms
    -

    Return an HTMLCollection of the form elements in the +

    Returns an HTMLCollection of the form elements in the Document.

    document.scripts
    -

    Return an HTMLCollection of the script elements in the +

    Returns an HTMLCollection of the script elements in the Document.

    @@ -60054,7 +60054,7 @@ dictionary AssignedNodesOptions { }), limited to elements.
    slot.assign(...nodes)
    -

    Set slot's manually assigned nodes to the given +

    Sets slot's manually assigned nodes to the given nodes.

    @@ -61018,7 +61018,8 @@ interface Path2D { space.
  • willReadFrequently - member is true if the context is marked for readback optimization.
  • + member is true if the context is marked for readback + optimization.
    From 166fafe6567624976109bb62d5b133bac17d8937 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 27 Jul 2021 12:30:12 -0400 Subject: [PATCH 10/12] Update reportError --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index ae373ce8745..a38daa23fb2 100644 --- a/source +++ b/source @@ -91684,7 +91684,7 @@ document.querySelector("button").addEventListener("click", bound);
    Runtime script errors
    -
    self . reportError( e )
    +
    self.reportError(e)

    Dispatches an error event at the global object for the given value e, in the same fashion as an unhandled exception.

    From 6b66c9ebd1ba23ee41ea2fe88f5ddfb02922484a Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Tue, 27 Jul 2021 12:36:09 -0400 Subject: [PATCH 11/12] Automated fixup of cases where firstElementChild is already code This was a bug in the previous script --- source | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source b/source index a38daa23fb2..432518b366c 100644 --- a/source +++ b/source @@ -82196,7 +82196,7 @@ interface BarProp {

    Origin-keyed agent clusters

    -
    window.originAgentCluster
    +
    window.originAgentCluster

    Returns true if this Window belongs to an agent cluster which is @@ -91684,7 +91684,7 @@ document.querySelector("button").addEventListener("click", bound);

    Runtime script errors
    -
    self.reportError(e)
    +
    self.reportError(e)

    Dispatches an error event at the global object for the given value e, in the same fashion as an unhandled exception.

    @@ -94814,14 +94814,14 @@ interface mixin WindowOrWorkerGlobalScope { WorkerGlobalScope includes WindowOrWorkerGlobalScope;
    -
    self.isSecureContext
    +
    self.isSecureContext

    Returns whether or not this global object represents a secure context.

    -
    self.origin
    +
    self.origin

    Returns the global object's origin, serialized as string.

    -
    self.crossOriginIsolated
    +
    self.crossOriginIsolated

    Returns whether scripts running in this global are allowed to use APIs that require cross-origin isolation. This depends on the `Cross-Origin-Opener-Policy` and @@ -95476,7 +95476,7 @@ enum DOMParserSupportedType { milliseconds.

    -
    self.clearTimeout(handle)
    +
    self.clearTimeout(handle)

    Cancels the timeout set with setTimeout() or DOMParserSupportedType { milliseconds.

    -
    self.clearInterval(handle)
    +
    self.clearInterval(handle)

    Cancels the timeout set with setInterval() or Date: Tue, 27 Jul 2021 12:37:28 -0400 Subject: [PATCH 12/12] Manual spacing fixups --- source | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/source b/source index 432518b366c..a58d36bf7cd 100644 --- a/source +++ b/source @@ -98862,7 +98862,6 @@ interface WebSocket : EventTarget {

    socket.send(data)
    -

    Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an WebSocket : EventTarget {

    socket.close([ code ] [, reason ])
    -

    Closes the WebSocket connection, optionally using code as the WebSocket connection close code and @@ -98879,21 +98877,18 @@ interface WebSocket : EventTarget {

    socket.url
    -

    Returns the URL that was used to establish the WebSocket connection.

    socket.readyState
    -

    Returns the state of the WebSocket object's connection. It can have the values described below.

    socket.bufferedAmount
    -

    Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the @@ -98905,25 +98900,21 @@ interface WebSocket : EventTarget {

    socket.extensions
    -

    Returns the extensions selected by the server, if any.

    socket.protocol
    - -
    -

    Returns the subprotocol selected by the server, if any. It can be used in conjunction with - the array form of the constructor's second argument to perform subprotocol negotiation.

    -
    +

    Returns the subprotocol selected by the server, if any. It can be used in conjunction with + the array form of the constructor's second argument to perform subprotocol negotiation.

    socket.binaryType [ = value ]
    -

    Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:

    -
    "blob"
    -

    Binary data is returned in Blob form.

    +
    "blob"
    +

    Binary data is returned in Blob form.

    +
    "arraybuffer"

    Binary data is returned in ArrayBuffer form.