From 4aa0ec088e1440689e3edf1b45d83202112ba99e Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Tue, 29 Sep 2020 13:54:35 +0200 Subject: [PATCH 1/3] Set dfn-type on definitions Follow-up to: * https://github.com/whatwg/html/pull/5694 * https://github.com/whatwg/html/pull/5916 ...setting dfn types on more items identified by reffy --- source | 1172 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 588 insertions(+), 584 deletions(-) diff --git a/source b/source index 1dab4d1c936..73753c95575 100644 --- a/source +++ b/source @@ -7347,18 +7347,18 @@ interface HTMLAllCollection { an element preceding its name if it contributes both, they differ from each other, and neither is the duplicate of an earlier entry.

-

On getting, the length +

On getting, the length attribute must return the number of nodes represented by the collection.

The indexed property getter must return the result of getting the "all"-indexed element from this HTMLAllCollection given the passed index.

-

The namedItem(name) +

The namedItem(name) method must return the result of getting the "all"-named element(s) from this HTMLAllCollection given name.

-

The item(nameOrIndex) +

The item(nameOrIndex) method must perform the following steps:

    @@ -7523,7 +7523,7 @@ interface RadioNodeList : NodeList { data-x="attr-fe-name">name if it contributes both, they differ from each other, and neither is the duplicate of an earlier entry.

    -

    The namedItem(name) method must act according to the following algorithm:

    +

    The namedItem(name) method must act according to the following algorithm:

    1. If name is the empty string, return null and stop the algorithm.
    2. @@ -7551,7 +7551,7 @@ interface RadioNodeList : NodeList {

      Members of the RadioNodeList interface inherited from the NodeList interface must behave as they would on a NodeList object.

      -

      The value IDL attribute on the +

      The value IDL attribute on the RadioNodeList object, on getting, must return the value returned by running the following steps:

      @@ -7677,7 +7677,7 @@ interface HTMLOptionsCollection : HTMLCollection {

      The object's supported property indices are as defined for HTMLCollection objects.

      -

      On getting, the length +

      On getting, the length attribute must return the number of nodes represented by the collection.

      On setting, the behavior depends on whether the new value is equal to, greater than, or less @@ -7725,7 +7725,7 @@ interface HTMLOptionsCollection : HTMLCollection { element. Otherwise, replace the indexth element in the collection by value.

    -

    The add(element, before) method must act according to the following algorithm:

    +

    The add(element, before) method must act according to the following algorithm:

    1. If element is an ancestor of the select element on which @@ -7751,7 +7751,7 @@ interface HTMLOptionsCollection : HTMLCollection { reference.

    -

    The remove(index) method must act according to the following algorithm:

    +

    The remove(index) method must act according to the following algorithm:

    1. If the number of nodes represented by the collection is zero, return.

    2. @@ -7777,7 +7777,7 @@ interface HTMLOptionsCollection : HTMLCollection {
    3. Remove element from its parent node.

    -

    The selectedIndex IDL +

    The selectedIndex IDL attribute must act like the identically named attribute on the select element on which the HTMLOptionsCollection is rooted

    @@ -9295,7 +9295,7 @@ partial interface Document {
    -

    The lastModified attribute, on +

    The lastModified attribute, on getting, must return the date and time of the Document's source file's last modification, in the user's local time zone, in the following format:

    @@ -9371,7 +9371,7 @@ partial interface Document { HTML parser or an XML parser that has not yet been stopped or aborted.

    -

    The readyState IDL attribute must, on +

    The readyState IDL attribute must, on getting, return the current document readiness.

    @@ -9653,7 +9653,7 @@ partial interface Document {
    -

    The The getElementsByName(name) method steps are to return a live NodeList containing all the HTML elements in that document that have a name attribute whose value is @@ -9684,7 +9684,7 @@ partial interface Document {

    -

    The currentScript attribute, on +

    The currentScript attribute, on getting, must return the value to which it was most recently set. When the Document is created, the currentScript must be initialized to null.

    @@ -12469,7 +12469,7 @@ interface DOMStringMap {
    -

    The innerText getter steps are:

    +

    The innerText getter steps are:

    1. @@ -13231,7 +13231,7 @@ interface HTMLLinkElement : HTMLElement {

      The link element allows authors to link their document to other resources.

      -

      The address of the link(s) is given by the href +

      The address of the link(s) is given by the href attribute. If the href attribute is present, then its value must be a valid non-empty URL potentially surrounded by spaces. One or both of the href or HTMLLinkElement : HTMLElement { attribute must reflect the as content attribute, limited to only known values.

      -

      The crossOrigin IDL attribute must +

      The crossOrigin IDL attribute must reflect the crossorigin content attribute, limited to only known values.

      -

      The referrerPolicy IDL attribute must +

      The referrerPolicy IDL attribute must reflect the referrerpolicy content attribute, limited to only known values.

      -

      The imageSrcset IDL attribute must +

      The imageSrcset IDL attribute must reflect the imagesrcset content attribute.

      -

      The imageSizes IDL attribute must +

      The imageSizes IDL attribute must reflect the imagesizes content attribute.

      @@ -13928,7 +13928,7 @@ interface HTMLMetaElement : HTMLElement {

      The name and content IDL attributes must reflect the respective content attributes of the same name. The IDL - attribute httpEquiv must reflect + attribute httpEquiv must reflect the content attribute http-equiv.

    @@ -19825,15 +19825,15 @@ interface HTMLAnchorElement : HTMLElement { data-x="dom-a-download">download, ping, target, rel, hreflang, and - type, must reflect the respective content + data-x="dom-a-rel">rel
    , hreflang, and + type, must reflect the respective content attributes of the same name.

    The IDL attribute relList must reflect the rel content attribute.

    -

    The IDL attribute referrerPolicy must +

    The IDL attribute referrerPolicy must reflect the referrerpolicy content attribute, limited to only known values.

    @@ -20474,7 +20474,7 @@ resulting from the campaign's mismanagement.</p> element must also contain the definition(s) for the term given by the dfn element.

    -

    Defining term: if the dfn element has a Defining term: if the dfn element has a title attribute, then the exact value of that attribute is the term being defined. Otherwise, if it contains exactly one element child node and no child Text nodes, and that child element is an abbr element with a HTMLTimeElement : HTMLElement { efficient approach might be to create a single algorithm that parses all these data types in one pass; developing such an algorithm is left as an exercise to the reader.

    -

    The dateTime IDL attribute must +

    The dateTime IDL attribute must reflect the element's datetime content attribute.

    @@ -22873,7 +22873,7 @@ document.body.appendChild(wbr);
    HTTP(S) scheme. The value is used by the user agent for hyperlink auditing.

    -

    The The rel attribute on a and area elements controls what kinds of links the elements create. The attribute's value must be a unordered set of unique space-separated tokens. The allowed @@ -25814,7 +25814,7 @@ interface HTMLModElement : HTMLElement {

    The cite IDL attribute must reflect the element's cite content - attribute. The dateTime IDL attribute must + attribute. The dateTime IDL attribute must reflect the element's datetime content attribute.

    @@ -26237,7 +26237,7 @@ interface HTMLSourceElement : HTMLElement { algorithm.

    The IDL attributes src, type, + data-x="dom-source-src">src, type, srcset, sizes and media must reflect the respective @@ -26626,7 +26626,7 @@ interface HTMLImageElement : HTMLElement {

    The isMap IDL attribute must reflect the ismap content attribute.

    -

    The referrerPolicy IDL attribute must +

    The referrerPolicy IDL attribute must reflect the referrerpolicy content attribute, limited to only known values.

    @@ -30683,10 +30683,10 @@ interface HTMLIFrameElement : HTMLElement {

    The IDL attributes src, srcdoc, name, sandbox, and src, srcdoc, name, sandbox, and allow must reflect the respective content attributes of the same name.

    @@ -30695,11 +30695,11 @@ interface HTMLIFrameElement : HTMLElement { values defined in the sandbox attribute and supported by the user agent.

    -

    The allowFullscreen IDL attribute +

    The allowFullscreen IDL attribute must reflect the allowfullscreen content attribute.

    -

    The referrerPolicy IDL attribute +

    The referrerPolicy IDL attribute must reflect the referrerpolicy content attribute, limited to only known values.

    @@ -30707,11 +30707,11 @@ interface HTMLIFrameElement : HTMLElement { reflect the loading content attribute, limited to only known values.

    -

    The contentDocument IDL attribute, +

    The contentDocument IDL attribute, on getting, must return the iframe element's content document.

    -

    The contentWindow IDL attribute must +

    The contentWindow IDL attribute must return the WindowProxy object of the iframe element's nested browsing context, if its nested browsing context is non-null, or null otherwise.

    @@ -31751,17 +31751,17 @@ interface HTMLObjectElement : HTMLElement {

    The IDL attributes data, type - and name each must reflect the - respective content attributes of the same name. The data, type + and name each must reflect the + respective content attributes of the same name. The useMap IDL attribute must reflect the usemap content attribute.

    -

    The contentDocument IDL attribute, +

    The contentDocument IDL attribute, on getting, must return the object element's content document.

    -

    The contentWindow IDL attribute must +

    The contentWindow IDL attribute must return the WindowProxy object of the object element's nested browsing context, if its nested browsing context is non-null; otherwise, it must return null.

    @@ -32160,9 +32160,9 @@ interface HTMLVideoElement : HTMLMediaElement { the aspect ratio to the video data's dimensions to obtain the "correct" dimensions, then the user agent must apply the ratio by increasing one dimension and leaving the other unchanged.

    -

    The videoWidth IDL attribute must return +

    The videoWidth IDL attribute must return the intrinsic width of the video in CSS pixels. The CSS pixels. The videoHeight IDL attribute must return the intrinsic height of the video in CSS pixels. If the element's HTMLVideoElement : HTMLMediaElement { IDL attribute must reflect the poster content attribute.

    -

    The playsInline IDL attribute must +

    The playsInline IDL attribute must reflect the playsinline content attribute.

    @@ -32398,7 +32398,7 @@ interface HTMLAudioElement : HTMLMediaElement {

    A legacy factory function is provided for creating HTMLAudioElement objects (in addition to the factory methods from DOM such as createElement()): - Audio(src). When invoked, + Audio(src). When invoked, the legacy factory function must perform the following steps:

      @@ -32665,18 +32665,18 @@ interface HTMLTrackElement : HTMLElement {
      -

      The readyState attribute must return the +

      The readyState attribute must return the numeric value corresponding to the text track readiness state of the track element's text track, as defined by the following list:

      -
      NONE (numeric value 0)
      +
      NONE (numeric value 0)
      The text track not loaded state.
      -
      LOADING (numeric value 1)
      +
      LOADING (numeric value 1)
      The text track loading state.
      -
      LOADED (numeric value 2)
      +
      LOADED (numeric value 2)
      The text track loaded state.
      -
      ERROR (numeric value 3)
      +
      ERROR (numeric value 3)
      The text track failed to load state.
      @@ -32919,22 +32919,22 @@ interface MediaError {
      -
      MEDIA_ERR_ABORTED (numeric value 1)
      +
      MEDIA_ERR_ABORTED (numeric value 1)
      The fetching process for the media resource was aborted by the user agent at the user's request.
      -
      MEDIA_ERR_NETWORK (numeric value 2)
      +
      MEDIA_ERR_NETWORK (numeric value 2)
      A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.
      -
      MEDIA_ERR_DECODE (numeric value 3)
      +
      MEDIA_ERR_DECODE (numeric value 3)
      An error of some description occurred while decoding the media resource, after the resource was established to be usable.
      -
      MEDIA_ERR_SRC_NOT_SUPPORTED (numeric value 4)
      +
      MEDIA_ERR_SRC_NOT_SUPPORTED (numeric value 4)
      The media resource indicated by the src attribute or assigned media provider object was not suitable.
      @@ -32953,11 +32953,11 @@ interface MediaError { the error code, the message must be set to the empty string.

      -

      The code attribute of a +

      The code attribute of a MediaError object must return this MediaError object's code.

      -

      The message attribute of a +

      The message attribute of a MediaError object must return this MediaError object's message.

      @@ -32997,7 +32997,7 @@ interface MediaError { attribute on media elements must reflect the content attribute of the same name.

      -

      The crossOrigin IDL attribute must +

      The crossOrigin IDL attribute must reflect the crossorigin content attribute, limited to only known values.

      @@ -33036,11 +33036,11 @@ interface MediaError {
      -

      The currentSrc IDL attribute must initially be set to +

      The currentSrc IDL attribute must initially be set to the empty string. Its value is changed by the resource selection algorithm defined below.

      -

      The srcObject IDL attribute, on getting, +

      The srcObject IDL attribute, on getting, must return the element's assigned media provider object, if any, or null otherwise. On setting, it must set the element's assigned media provider object to the new value, and then invoke the element's media element load algorithm.

      @@ -33097,11 +33097,11 @@ interface MediaError {
      -

      The canPlayType(type) method must return the +

      The canPlayType(type) method must return the empty string if type is a type that the user agent knows it cannot - render or is the type "application/octet-stream"; it must return "probably" if the user agent is confident + render or is the type "application/octet-stream"; it must return "probably" if the user agent is confident that the type represents a media resource that it can render if used in with this - audio or video element; and it must return "maybe" otherwise. Implementors are encouraged + audio or video element; and it must return "maybe" otherwise. Implementors are encouraged to return "maybe" unless the type can be confidently established as being supported or not. Generally, a user agent should never return "probably" for a type that allows the MediaError {

      As media elements interact with the network, their current - network activity is represented by the networkState attribute. On getting, it must + network activity is represented by the networkState attribute. On getting, it must return the current network state of the element, which must be one of the following values:

      -
      NETWORK_EMPTY (numeric value 0)
      +
      NETWORK_EMPTY (numeric value 0)
      The element has not yet been initialized. All attributes are in their initial states.
      -
      NETWORK_IDLE (numeric value 1)
      +
      NETWORK_IDLE (numeric value 1)
      The element's resource selection algorithm is active and has selected a resource, but it is not actually using the network at this time.
      -
      NETWORK_LOADING (numeric value 2)
      +
      NETWORK_LOADING (numeric value 2)
      The user agent is actively trying to download data.
      -
      NETWORK_NO_SOURCE (numeric value 3)
      +
      NETWORK_NO_SOURCE (numeric value 3)
      The element's resource selection algorithm is active, but it has not yet found a currentTime attribute must, on +

      The currentTime attribute must, on getting, return the media element's default playback start position, unless that is zero, in which case it must return the element's official playback position. The returned value must be expressed in seconds. On setting, if the media @@ -34560,7 +34560,7 @@ interface MediaError { media timeline, known as the timeline offset. Initially, the timeline offset must be set to Not-a-Number (NaN).

      -

      The getStartDate() method must return The getStartDate() method must return a new Date object representing the current timeline offset.

      @@ -34603,7 +34603,7 @@ interface MediaError {
      -
      HAVE_NOTHING (numeric value 0)
      +
      HAVE_NOTHING (numeric value 0)

      No information regarding the media resource is available. No data for the current playback position is available. Media @@ -34611,14 +34611,14 @@ interface MediaError { to NETWORK_EMPTY are always in the HAVE_NOTHING state.

      -
      HAVE_METADATA (numeric value 1)
      +
      HAVE_METADATA (numeric value 1)

      Enough of the resource has been obtained that the duration of the resource is available. In the case of a video element, the dimensions of the video are also available. No media data is available for the immediate current playback position.

      -
      HAVE_CURRENT_DATA (numeric value 2)
      +
      HAVE_CURRENT_DATA (numeric value 2)

      Data for the immediate current playback position is available, but either not enough data is available that the user agent could successfully advance the current @@ -34629,7 +34629,7 @@ interface MediaError { the current playback position is at the end of the current frame; and to when playback has ended.

      -
      HAVE_FUTURE_DATA (numeric value 3)
      +
      HAVE_FUTURE_DATA (numeric value 3)

      Data for the immediate current playback position is available, as well as enough data for the user agent to advance the current playback position in the @@ -34643,7 +34643,7 @@ interface MediaError { data-x="ended playback">playback has ended, as the current playback position can never advance in this case.

      -
      HAVE_ENOUGH_DATA (numeric value 4)
      +
      HAVE_ENOUGH_DATA (numeric value 4)

      All the conditions described for the MediaError {

      -

      The readyState IDL attribute must, on +

      The readyState IDL attribute must, on getting, return the value described above that describes the current ready state of the media element.

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

      The defaultPlaybackRate attribute +

      The defaultPlaybackRate attribute gives the desired speed at which the media resource is to play, as a multiple of its intrinsic speed. The attribute is mutable: on getting it must return the last value it was set to, or 1.0 if it hasn't yet been set; on setting the attribute must be set to the new value.

      @@ -35128,7 +35128,7 @@ interface MediaError { by the user agent when it exposes a user interface to the user.

      -

      The playbackRate attribute gives the +

      The playbackRate attribute gives the effective playback rate, which is the speed at which the media resource plays, as a multiple of its intrinsic speed. If it is not equal to the defaultPlaybackRate, then the implication is that @@ -35671,7 +35671,7 @@ interface MediaError {

      The seeking attribute must initially have the value false.

      -

      The fastSeek() method must The fastSeek() method must seek to the time given by the method's argument, with the approximate-for-speed flag set.

      @@ -35846,12 +35846,12 @@ interface MediaError {
      -

      The audioTracks attribute of a +

      The audioTracks attribute of a media element must return a live AudioTrackList object representing the audio tracks available in the media element's media resource.

      -

      The videoTracks attribute of a +

      The videoTracks attribute of a media element must return a live VideoTrackList object representing the video tracks available in the media element's media resource.

      @@ -36011,9 +36011,9 @@ interface VideoTrack { will change dynamically. If the media resource changes entirely, then all the previous tracks will be removed and replaced with new tracks.

      -

      The AudioTrackList The AudioTrackList length and VideoTrackList - length attribute getters must return + length attribute getters must return the number of tracks represented by their objects at the time of getting.

      The supported property indices of AudioTrackList and @@ -36027,9 +36027,9 @@ interface VideoTrack { object list, the user agent must return the AudioTrack or VideoTrack object that represents the indexth track in list.

      -

      The AudioTrackList The AudioTrackList getTrackById(id) and - VideoTrackList VideoTrackList getTrackById(id) methods must return the first AudioTrack or VideoTrack object (respectively) in the AudioTrackList or VideoTrackList object (respectively) whose identifier @@ -36052,8 +36052,8 @@ interface VideoTrack { created, its selection state must be set to false (not selected). The resource fetch algorithm can override this.

      -

      The AudioTrack id and - VideoTrack id attributes must +

      The AudioTrack id and + VideoTrack id attributes must return the identifier of the track, if it has one, or the empty string otherwise. If the media resource is in a format that supports media fragment syntax, the identifier returned for a particular track must be the same identifier that would enable the track @@ -36062,8 +36062,8 @@ interface VideoTrack {

      For example, in Ogg files, this would be the Name header field of the track.

      -

      The AudioTrack kind and - VideoTrack kind attributes must +

      The AudioTrack kind and + VideoTrack kind attributes must return the category of the track, if it has one, or the empty string otherwise.

      The category of a track is the string given in the first column of the table below that is the @@ -36157,20 +36157,20 @@ interface VideoTrack {

      -

      The AudioTrack label and - VideoTrack label attributes +

      The AudioTrack label and + VideoTrack label attributes must return the label of the track, if it has one, or the empty string otherwise.

      -

      The AudioTrack language - and VideoTrack language +

      The AudioTrack language + and VideoTrack language attributes must return the BCP 47 language tag of the language of the track, if it has one, or the empty string otherwise. If the user agent is not able to express that language as a BCP 47 language tag (for example because the language information in the media resource's format is a free-form string without a defined interpretation), then the method must return the empty string, as if the track had no language.

      -

      The AudioTrack enabled +

      The AudioTrack enabled attribute, on getting, must return true if the track is currently enabled, and false otherwise. On setting, it must enable the track if the new value is true, and disable it otherwise. (If the track is no longer in an AudioTrackList object, then the track being enabled or @@ -36187,13 +36187,13 @@ interface VideoTrack { or that does not exist at that position, must be interpreted as being silent at that point on the timeline.

      -

      The VideoTrackList The VideoTrackList selectedIndex attribute must return the index of the currently selected track, if any. If the VideoTrackList object does not currently represent any tracks, or if none of the tracks are selected, it must instead return −1.

      -

      The VideoTrack selected +

      The VideoTrack selected attribute, on getting, must return true if the track is currently selected, and false otherwise. On setting, it must select the track if the new value is true, and unselect it otherwise. If the track is in a VideoTrackList, then all the other VideoTrack objects in @@ -36233,9 +36233,9 @@ interface VideoTrack { Event handler Event handler event type - onchange change - onaddtrack addtrack - onremovetrack removetrack + onchange change + onaddtrack addtrack + onremovetrack removetrack @@ -37150,13 +37150,13 @@ interface TextTrackList : EventTarget {

      A TextTrackList object represents a dynamically updating list of text tracks in a given order.

      -

      The textTracks attribute of The textTracks attribute of media elements must return a TextTrackList object representing the TextTrack objects of the text tracks in the media element's list of text tracks, in the same order as in the list of text tracks.

      -

      The length attribute of a +

      The length attribute of a TextTrackList object must return the number of text tracks in the list represented by the TextTrackList object.

      @@ -37171,7 +37171,7 @@ interface TextTrackList : EventTarget { the indexth text track in the list represented by the TextTrackList object.

      -

      The getTrackById(id) method must return the first TextTrack in the +

      The getTrackById(id) method must return the first TextTrack in the TextTrackList object whose id IDL attribute would return a value equal to the value of the id argument. When no tracks match the given argument, the method must return null.

      @@ -37302,7 +37302,7 @@ interface TextTrack : EventTarget {
      -

      The addTextTrack(kind, label, language) method of addTextTrack(kind, label, language) method of media elements, when invoked, must run the following steps:

        @@ -37343,19 +37343,19 @@ interface TextTrack : EventTarget {
        -

        The kind attribute must return the +

        The kind attribute must return the text track kind of the text track that the TextTrack object represents.

        -

        The label attribute must return the +

        The label attribute must return the text track label of the text track that the TextTrack object represents.

        -

        The language attribute must return the +

        The language attribute must return the text track language of the text track that the TextTrack object represents.

        -

        The id attribute returns the track's +

        The id attribute returns the track's identifier, if it has one, or the empty string otherwise. For tracks that correspond to track elements, the track's identifier is the value of the element's id attribute, if any. For in-band tracks, the track's identifier is @@ -37364,11 +37364,11 @@ interface TextTrack : EventTarget { track must be the same identifier that would enable the track if used as the name of a track in the track dimension of such a fragment.

        -

        The inBandMetadataTrackDispatchType +

        The inBandMetadataTrackDispatchType attribute must return the text track in-band metadata track dispatch type of the text track that the TextTrack object represents.

        -

        The mode attribute, on getting, must return +

        The mode attribute, on getting, must return the string corresponding to the text track mode of the text track that the TextTrack object represents, as defined by the following list:

        @@ -37410,7 +37410,7 @@ interface TextTrack : EventTarget {

        If the text track mode of the text track that the TextTrack object represents is not the text track disabled mode, then - the cues attribute must return a + the cues attribute must return a live TextTrackCueList object that represents the subset of the text track list of cues of the text track that the TextTrack object represents whose end @@ -37424,7 +37424,7 @@ interface TextTrack : EventTarget {

        If the text track mode of the text track that the TextTrack object represents is not the text track disabled mode, then - the activeCues attribute must return a + the activeCues attribute must return a live TextTrackCueList object that represents the subset of the text track list of cues of the text track that the TextTrack object represents whose active flag was set when the script @@ -37437,7 +37437,7 @@ interface TextTrack : EventTarget {


        -

        The addCue(cue) method +

        The addCue(cue) method of TextTrack objects, when invoked, must run the following steps:

          @@ -37457,7 +37457,7 @@ interface TextTrack : EventTarget { text track list of cues.

        -

        The removeCue(cue) +

        The removeCue(cue) method of TextTrack objects, when invoked, must run the following steps:

          @@ -37543,7 +37543,7 @@ interface TextTrackCueList {

          A TextTrackCueList object represents a dynamically updating list of text track cues in a given order.

          -

          The length attribute must return +

          The length attribute must return the number of cues in the list represented by the TextTrackCueList object.

          @@ -37557,7 +37557,7 @@ interface TextTrackCueList { given index index, the user agent must return the indexth text track cue in the list represented by the TextTrackCueList object.

          -

          The getCueById(id) method, when called with an argument other than the empty string, +

          The getCueById(id) method, when called with an argument other than the empty string, must return the first text track cue in the list represented by the TextTrackCueList object whose text track cue identifier is id, if any, or null otherwise. If the argument is the empty string, then the method must return null.

          @@ -37615,17 +37615,17 @@ interface TextTrackCue : EventTarget {
          -

          The track attribute, on getting, must +

          The track attribute, on getting, must return the TextTrack object of the text track in whose list of cues the text track cue that the TextTrackCue object represents finds itself, if any; or null otherwise.

          -

          The id attribute, on getting, must return +

          The id attribute, on getting, must return the text track cue identifier of the text track cue that the TextTrackCue object represents. On setting, the text track cue identifier must be set to the new value.

          -

          The startTime attribute, on +

          The startTime attribute, on getting, must return the text track cue start time of the text track cue that the TextTrackCue object represents, in seconds. On setting, the text track cue start time must be set to the new value, interpreted in seconds; then, if the @@ -37635,7 +37635,7 @@ interface TextTrackCue : EventTarget { element's show poster flag is not set, then run the time marches on steps for that media element.

          -

          The endTime attribute, on getting, +

          The endTime attribute, on getting, must return the text track cue end time of the text track cue that the TextTrackCue object represents, in seconds. On setting, the text track cue end time must be set to the new value, interpreted in seconds; then, if the @@ -37645,7 +37645,7 @@ interface TextTrackCue : EventTarget { element's show poster flag is not set, then run the time marches on steps for that media element.

          -

          The pauseOnExit attribute, on +

          The pauseOnExit attribute, on getting, must return true if the text track cue pause-on-exit flag of the text track cue that the TextTrackCue object represents is set; or false otherwise. On setting, the text track cue pause-on-exit flag must be set if the new value is @@ -37663,9 +37663,9 @@ interface TextTrackCue : EventTarget { Event handler Event handler event type - onchange change - onaddtrack addtrack - onremovetrack removetrack + onchange change + onaddtrack addtrack + onremovetrack removetrack

          The following are the event handlers that (and their corresponding TextTrackCue : EventTarget { Event handler Event handler event type - oncuechange cuechange + oncuechange cuechange

          The following are the event handlers (and their corresponding TextTrackCue : EventTarget { Event handler Event handler event type - onenter enter - onexit exit + onenter enter + onexit exit

          @@ -37924,7 +37924,7 @@ red:89
          -

          The defaultMuted IDL attribute must +

          The defaultMuted IDL attribute must reflect the muted content attribute.

          @@ -37986,14 +37986,14 @@ interface TimeRanges {
          -

          The length IDL attribute must return the +

          The length IDL attribute must return the number of ranges represented by the object.

          -

          The start(index) +

          The start(index) method must return the position of the start of the indexth range represented by the object, in seconds measured from the start of the timeline that the object covers.

          -

          The end(index) method +

          The end(index) method must return the position of the end of the indexth range represented by the object, in seconds measured from the start of the timeline that the object covers.

          @@ -38058,7 +38058,7 @@ dictionary TrackEventInit : EventInit {
          -

          The track attribute must return the value +

          The track attribute must return the value it was initialized to. It represents the context information for the event.

          @@ -38941,9 +38941,9 @@ interface HTMLAreaElement : HTMLElement { expressed user preference.

          The IDL attributes alt, coords, - target, download, alt, coords, + target, download, ping, and rel, each must reflect the respective content attributes of the same name.

          @@ -38956,7 +38956,7 @@ interface HTMLAreaElement : HTMLElement { data-x="dom-area-rellist">relList
          must reflect the rel content attribute.

          -

          The IDL attribute referrerPolicy must +

          The IDL attribute referrerPolicy must reflect the referrerpolicy content attribute, limited to only known values.

          @@ -39319,7 +39319,7 @@ interface HTMLAreaElement : HTMLElement {
          -

          The getSVGDocument() method must run +

          The getSVGDocument() method must run the following steps:

            @@ -39341,8 +39341,8 @@ interface HTMLAreaElement : HTMLElement {

            Dimension attributes

            -

            Author requirements: The width and Author requirements: The width and height attributes on img, iframe, embed, object, video, and, when their type attribute is in the HTMLAreaElement : HTMLElement {

            The width and width and height IDL attributes on the iframe, embed, object, and video elements must reflect the respective content attributes of the same name.

            @@ -39669,15 +39669,15 @@ interface HTMLTableElement : HTMLElement { element child of the table element, if any, must be removed, and the new value, if not null, must be inserted as the first node of the table element.

            -

            The createCaption() method must return +

            The createCaption() method must return the first caption element child of the table element, if any; otherwise a new caption element must be table-created, inserted as the first node of the table element, and then returned.

            -

            The deleteCaption() method must remove +

            The deleteCaption() method must remove the first caption element child of the table element, if any.

            -

            The tHead IDL attribute must return, on +

            The tHead IDL attribute must return, on getting, the first thead element child of the table element, if any, or null otherwise. On setting, if the new value is null or a thead element, the first thead element child of the table element, if any, must be removed, and @@ -39688,17 +39688,17 @@ interface HTMLTableElement : HTMLElement { "HierarchyRequestError" DOMException must be thrown instead.

            -

            The createTHead() method must return the +

            The createTHead() method must return the first thead element child of the table element, if any; otherwise a new thead element must be table-created and inserted immediately before the first element in the table element that is neither a caption element nor a colgroup element, if any, or at the end of the table if there are no such elements, and then that new element must be returned.

            -

            The deleteTHead() method must remove the +

            The deleteTHead() method must remove the first thead element child of the table element, if any.

            -

            The tFoot IDL attribute must return, on +

            The tFoot IDL attribute must return, on getting, the first tfoot element child of the table element, if any, or null otherwise. On setting, if the new value is null or a tfoot element, the first tfoot element child of the table element, if any, must be removed, and @@ -39706,19 +39706,19 @@ interface HTMLTableElement : HTMLElement { null nor a tfoot element, then a "HierarchyRequestError" DOMException must be thrown instead.

            -

            The createTFoot() method must return the +

            The createTFoot() method must return the first tfoot element child of the table element, if any; otherwise a new tfoot element must be table-created and inserted at the end of the table, and then that new element must be returned.

            -

            The deleteTFoot() method must remove the +

            The deleteTFoot() method must remove the first tfoot element child of the table element, if any.

            -

            The tBodies attribute must return an +

            The tBodies attribute must return an HTMLCollection rooted at the table node, whose filter matches only tbody elements that are children of the table element.

            -

            The createTBody() method must +

            The createTBody() method must table-create a new tbody element, insert it immediately after the last tbody element child in the table element, if any, or at the end of the table element if the table element has no @@ -39734,7 +39734,7 @@ interface HTMLTableElement : HTMLElement { or tbody element, again in tree order, followed finally by those elements whose parent is a tfoot element, still in tree order.

            -

            The behavior of the insertRow(index) method depends on the state of the table. When it is called, +

            The behavior of the insertRow(index) method depends on the state of the table. When it is called, the method must act as required by the first item in the following list of conditions that describes the state of the table and the index argument:

            @@ -39777,7 +39777,7 @@ interface HTMLTableElement : HTMLElement { newly created tr element.
      -

      When the deleteRow(index) method is called, the user agent must run the following +

      When the deleteRow(index) method is called, the user agent must run the following steps:

        @@ -40353,7 +40353,7 @@ interface HTMLTableSectionElement : HTMLElement { rooted at this element, whose filter matches only tr elements that are children of this element.

        -

        The insertRow(index) +

        The insertRow(index) method must act as follows:

          @@ -40376,7 +40376,7 @@ interface HTMLTableSectionElement : HTMLElement {
        1. Return table row.

        -

        The deleteRow(index) method +

        The deleteRow(index) method must, when invoked, act as follows:

          @@ -40608,14 +40608,14 @@ interface HTMLTableRowElement : HTMLElement {
          -

          The rowIndex attribute must, if this element has +

          The rowIndex attribute must, if this element has a parent table element, or a parent tbody, thead, or tfoot element and a grandparent table element, return the index of this tr element in that table element's rows collection. If there is no such table element, then the attribute must return −1.

          -

          The sectionRowIndex attribute must, if +

          The sectionRowIndex attribute must, if this element has a parent table, tbody, thead, or tfoot element, return the index of the tr element in the parent element's rows collection (for tables, that's @@ -40628,7 +40628,7 @@ interface HTMLTableRowElement : HTMLElement { filter matches only td and th elements that are children of the tr element.

          -

          The insertCell(index) +

          The insertCell(index) method must act as follows:

            @@ -40652,7 +40652,7 @@ interface HTMLTableRowElement : HTMLElement {
          1. Return table cell.

          -

          The deleteCell(index) +

          The deleteCell(index) method must act as follows:

            @@ -40981,11 +40981,11 @@ interface HTMLTableCellElement : HTMLElement { -

            The colSpan IDL attribute must +

            The colSpan IDL attribute must reflect the colspan content attribute. It is clamped to the range [1, 1000], and its default value is 1.

            -

            The rowSpan IDL attribute must +

            The rowSpan IDL attribute must reflect the rowspan content attribute. It is clamped to the range [0, 65534], and its default value is 1.

            @@ -40993,7 +40993,7 @@ interface HTMLTableCellElement : HTMLElement { data-x="dom-tdth-headers">headers
            IDL attribute must reflect the content attribute of the same name.

            -

            The cellIndex IDL attribute must, if the +

            The cellIndex IDL attribute must, if the element has a parent tr element, return the index of the cell's element in the parent element's cells collection. If there is no such parent element, then the attribute must return −1.

            @@ -42908,14 +42908,14 @@ interface HTMLFormElement : HTMLElement { the content attribute of the same name, limited to only known values.

            The name and - rel IDL attributes must reflect the + rel IDL attributes must reflect the content attribute of the same name.

            -

            The acceptCharset IDL attribute must +

            The acceptCharset IDL attribute must reflect the accept-charset content attribute.

            -

            The relList IDL attribute must +

            The relList IDL attribute must reflect the rel content attribute.


            @@ -43086,7 +43086,7 @@ interface HTMLFormElement : HTMLElement { element from the form element itself, with the submitted from submit() method flag set.

            -

            The requestSubmit(submitter) +

            The requestSubmit(submitter) method, when invoked, must run the following steps:

              @@ -43121,12 +43121,12 @@ interface HTMLFormElement : HTMLElement {
            1. Unmark the form element as locked for reset.

            -

            If the checkValidity() method is +

            If the checkValidity() method is invoked, the user agent must statically validate the constraints of the form element, and return true if the constraint validation return a positive result, and false if it returned a negative result.

            -

            If the reportValidity() method is +

            If the reportValidity() method is invoked, the user agent must interactively validate the constraints of the form element, and return true if the constraint validation return a positive result, and false if it returned a negative result.

            @@ -43283,7 +43283,7 @@ interface HTMLLabelElement : HTMLElement {
            -

            The htmlFor IDL attribute must +

            The htmlFor IDL attribute must reflect the for content attribute.

            The control @@ -43329,7 +43329,7 @@ interface HTMLLabelElement : HTMLElement {

            Labelable elements and all input elements have a live NodeList object associated with them that represents the list of label elements, in tree order, whose labeled - control is the element in question. The is the element in question. The labels IDL attribute of labelable elements that are not form-associated custom elements, and the HTMLLabelElement : HTMLElement {

            Form-associated custom elements don't have a labels IDL attribute. Instead, their - ElementInternals object has a ElementInternals object has a labels IDL attribute. On getting, it must throw a "NotSupportedError" DOMException if the target element is not a form-associated custom @@ -45049,27 +45049,27 @@ interface HTMLInputElement : HTMLElement { attribute for="HTMLInputElement">size, src, and step IDL attributes must - reflect the respective content attributes of the same name. The reflect the respective content attributes of the same name. The dirName IDL attribute must reflect the dirname content attribute. The dirname content attribute. The readOnly IDL attribute must reflect the - readonly content attribute. The readonly content attribute. The defaultChecked IDL attribute must reflect the checked content attribute. The - defaultValue IDL attribute must + defaultValue IDL attribute must reflect the value content attribute.

            The type IDL attribute must reflect the respective content attribute of the same name, - limited to only known values. The limited to only known values. The maxLength IDL attribute must reflect the maxlength content attribute, limited to only - non-negative numbers. The minLength + non-negative numbers. The minLength IDL attribute must reflect the minlength content attribute, limited to only non-negative numbers.

            The IDL attributes width and width and height must return the rendered width and height of the image, in CSS pixels, if an image is being rendered, and is being rendered to a visual medium; or else the intrinsic @@ -49390,7 +49390,7 @@ You cannot submit this form when the field is incorrect.


            -

            The valueAsDate IDL attribute represents +

            The valueAsDate IDL attribute represents the value of the element, interpreted as a date.

            On getting, if the valueAsDate attribute


            -

            The valueAsNumber IDL attribute +

            The valueAsNumber IDL attribute represents the value of the element, interpreted as a number.

            @@ -49439,7 +49439,7 @@ You cannot submit this form when the field is incorrect.
            -

            The stepDown(n) and stepUp(n) methods, when invoked, +

            The stepDown(n) and stepUp(n) methods, when invoked, must run the following algorithm:

              @@ -50242,7 +50242,7 @@ interface HTMLSelectElement : HTMLElement { by the method of the same name on the options collection, when invoked with the same argument.

              -

              The namedItem(name) +

              The namedItem(name) method must return the value returned by the method of the same name on the options collection, when invoked with the same argument.

              @@ -50263,12 +50263,12 @@ interface HTMLSelectElement : HTMLElement { method on the ChildNode interface implemented by the HTMLSelectElement ancestor interface Element when it has no arguments.

              -

              The selectedOptions IDL attribute +

              The selectedOptions IDL attribute must return an HTMLCollection rooted at the select node, whose filter matches the elements in the list of options that have their selectedness set to true.

              -

              The selectedIndex IDL attribute, on +

              The selectedIndex IDL attribute, on getting, must return the index of the first option element in the list of options in tree order that has its HTMLOptionElement : HTMLElement {

              The disabled IDL attribute must reflect the - content attribute of the same name. The defaultSelected IDL attribute must reflect the selected content attribute.

              @@ -50848,7 +50848,7 @@ interface HTMLOptionElement : HTMLElement {

              A legacy factory function is provided for creating HTMLOptionElement objects (in addition to the factory methods from DOM such as createElement()): createElement()): Option(text, value, defaultSelected, selected). When invoked, the legacy factory function must perform the following steps:

              @@ -51267,30 +51267,30 @@ interface HTMLTextAreaElement : HTMLElement {

              The cols, placeholder, required, rows, and cols, placeholder, required, rows, and wrap IDL attributes must reflect the respective content attributes of the same name. The cols and rows attributes are limited to only non-negative numbers greater than zero with fallback. The cols IDL attribute's default value is 20. The rows IDL - attribute's default value is 2. The dirName + attribute's default value is 2. The dirName IDL attribute must reflect the dirname content - attribute. The maxLength IDL attribute + attribute. The maxLength IDL attribute must reflect the maxlength content - attribute, limited to only non-negative numbers. The limited to only non-negative numbers. The minLength IDL attribute must reflect the minlength content attribute, limited to only - non-negative numbers. The readOnly + non-negative numbers. The readOnly IDL attribute must reflect the readonly content attribute.

              The type IDL attribute must return the value "textarea".

              -

              The defaultValue attribute's getter +

              The defaultValue attribute's getter must return the element's child text content.

              The defaultValue attribute's setter must @@ -51318,7 +51318,7 @@ interface HTMLTextAreaElement : HTMLElement { data-x="">none".

            -

            The textLength IDL attribute must +

            The textLength IDL attribute must return the length of the element's API value.

            @@ -51525,7 +51525,7 @@ interface HTMLOutputElement : HTMLElement {
          1. String replace all with the given value within this element.

          -

          The defaultValue attribute's getter +

          The defaultValue attribute's getter must return the result of running this element's default value.

          @@ -51544,7 +51544,7 @@ interface HTMLOutputElement : HTMLElement {

          The type attribute's getter must return "output".

          -

          The htmlFor IDL attribute must +

          The htmlFor IDL attribute must reflect the for content attribute.

          The willValidate, HTMLProgressElement : HTMLElement {

          -

          If the progress bar is an indeterminate progress bar, then the If the progress bar is an indeterminate progress bar, then the position IDL attribute must return −1. Otherwise, it must return the result of dividing the current value by the maximum value.

          -

          If the progress bar is an indeterminate progress bar, then the If the progress bar is an indeterminate progress bar, then the value IDL attribute, on getting, must return 0. Otherwise, it must return the current value. On setting, the given value must be converted to the best representation of the number as a @@ -52479,7 +52479,7 @@ interface HTMLLegendElement : HTMLElement {

          A form-associated element is, by default, associated with its nearest ancestor form element (as described - below), but, if it is listed, may have a , but, if it is listed, may have a form attribute specified to override this.

          This feature allows authors to work around the lack of support for nested @@ -52639,7 +52639,7 @@ interface HTMLLegendElement : HTMLElement {

          Form-associated custom elements don't have form IDL attribute. Instead, their - ElementInternals object has a ElementInternals object has a form IDL attribute. On getting, it must throw a "NotSupportedError" DOMException if the target element is not a form-associated custom @@ -53033,7 +53033,7 @@ form.method === input; // => true


          The target and - formtarget content attributes, if specified, + formtarget content attributes, if specified, must have values that are valid browsing context names or keywords.

          @@ -53085,20 +53085,20 @@ form.method === input; // => true
          known values. The encoding IDL attribute must reflect the enctype content attribute, limited to only known - values. The noValidate IDL attribute + values. The noValidate IDL attribute must reflect the novalidate content - attribute. The formAction IDL attribute must + attribute. The formAction IDL attribute must reflect the formaction content attribute, except that on getting, when the content attribute is missing or its value is the empty string, the element's node document's URL must be - returned instead. The formEnctype IDL + returned instead. The formEnctype IDL attribute must reflect the formenctype - content attribute, limited to only known values. The limited to only known values. The formMethod IDL attribute must reflect the formmethod content attribute, limited to only known - values. The formNoValidate IDL + values. The formNoValidate IDL attribute must reflect the formnovalidate content attribute. The formnovalidate content attribute. The formTarget IDL attribute must reflect the formtarget content attribute. @@ -54850,7 +54850,7 @@ MIT Room 32-G524
        1. Set the selection range with 0 and infinity.

        -

        The selectionStart +

        The selectionStart attribute's getter must run the following steps:

          @@ -54890,7 +54890,7 @@ MIT Room 32-G524 attribute.

        -

        The selectionEnd attribute's +

        The selectionEnd attribute's getter must run the following steps:

          @@ -54925,7 +54925,7 @@ MIT Room 32-G524 data-x="dom-textarea/input-selectionDirection">selectionDirection attribute.

        -

        The selectionDirection +

        The selectionDirection attribute's getter must run the following steps:

          @@ -54951,7 +54951,7 @@ MIT Room 32-G524 given value.

        -

        The The setSelectionRange(start, end, direction) method, when invoked, must run the following steps:

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

      The setRangeText(replacement, +

      The setRangeText(replacement, start, end, selectMode) method, when invoked, must run the following steps:

      @@ -55064,7 +55064,7 @@ MIT Room 32-G524
      -
      If the fourth argument's value is "select"
      +
      If the fourth argument's value is "select"

      Let selection start be start.

      @@ -55072,19 +55072,19 @@ MIT Room 32-G524

      Let selection end be new end.

      -
      If the fourth argument's value is "start"
      +
      If the fourth argument's value is "start"

      Let selection start and selection end be start.

      -
      If the fourth argument's value is "end"
      +
      If the fourth argument's value is "end"

      Let selection start and selection end be new end.

      -
      If the fourth argument's value is "preserve"
      +
      If the fourth argument's value is "preserve"
      If the method has only one argument
      @@ -55533,12 +55533,12 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD
      -

      The willValidate attribute's getter must +

      The willValidate attribute's getter must return true, if this element is a candidate for constraint validation, and false otherwise (i.e., false if any conditions are barring it from constraint validation).

      -

      The willValidate attribute +

      The willValidate attribute of ElementInternals interface, on getting, must throw a "NotSupportedError" DOMException if the target element is not a @@ -55546,7 +55546,7 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD target element is a candidate for constraint validation, and false otherwise.

      -

      The The setCustomValidity(message) method, when invoked, must set the custom validity error message to message.

      @@ -55585,7 +55585,7 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD ValidityState object that represents the validity states of this element. This object is live.

      -

      The validity attribute of +

      The validity attribute of ElementInternals interface, on getting, must throw a "NotSupportedError" DOMException if the target element is not a @@ -55612,37 +55612,37 @@ interface ValidityState { true if the corresponding condition given in the following list is true, and false otherwise.

      -
      valueMissing
      +
      valueMissing

      The control is suffering from being missing.

      -
      typeMismatch
      +
      typeMismatch

      The control is suffering from a type mismatch.

      -
      patternMismatch
      +
      patternMismatch

      The control is suffering from a pattern mismatch.

      -
      tooLong
      +
      tooLong

      The control is suffering from being too long.

      -
      tooShort
      +
      tooShort

      The control is suffering from being too short.

      -
      rangeUnderflow
      +
      rangeUnderflow

      The control is suffering from an underflow.

      -
      rangeOverflow
      +
      rangeOverflow

      The control is suffering from an overflow.

      -
      stepMismatch
      +
      stepMismatch

      The control is suffering from a step mismatch.

      -
      badInput
      +
      badInput

      The control is suffering from bad input.

      -
      customError
      +
      customError

      The control is suffering from a custom error.

      -
      valid
      +
      valid

      None of the other conditions are true.

      @@ -55665,10 +55665,10 @@ interface ValidityState {
    1. Return true.

    -

    The checkValidity() method, when +

    The checkValidity() method, when invoked, must run the check validity steps on this element.

    -

    The checkValidity() method +

    The checkValidity() method of the ElementInternals interface must run these steps:

      @@ -55708,10 +55708,10 @@ interface ValidityState {
    1. Return true.

    -

    The reportValidity() method, when +

    The reportValidity() method, when invoked, must run the report validity steps on this element.

    -

    The reportValidity() +

    The reportValidity() method of the ElementInternals interface must run these steps:

      @@ -55724,7 +55724,7 @@ interface ValidityState {
    1. Run the report validity steps on element.

    -

    The validationMessage attribute's +

    The validationMessage attribute's getter must run these steps:

      @@ -56634,7 +56634,7 @@ dictionary SubmitEventInit : EventInit {
      -

      The submitter attribute must return +

      The submitter attribute must return the value it was initialized to.

      @@ -56665,7 +56665,7 @@ dictionary FormDataEventInit : EventInit {
      -

      The formData attribute must return the value it was +

      The formData attribute must return the value it was initialized to. It represents a FormData object associated to the entry list that is constructed when the form is submitted.

      @@ -57321,7 +57321,7 @@ interface HTMLDialogElement : HTMLElement {
    1. Run the dialog focusing steps for the dialog element.

    -

    When the showModal() method is invoked, +

    When the showModal() method is invoked, the user agent must run the following steps:

      @@ -57433,7 +57433,7 @@ interface HTMLDialogElement : HTMLElement { close at subject.

    -

    The returnValue IDL attribute, on +

    The returnValue IDL attribute, on getting, must return the last value to which it was set. On setting, it must be set to the new value. When the element is created, it must be set to the empty string.

    @@ -57643,7 +57643,7 @@ interface HTMLScriptElement : HTMLElement { data-x="module script">module scripts (and will be ignored if it is).

    The async and - defer attributes are defer attributes are boolean attributes that indicate how the script should be evaluated. Classic scripts may specify defer or async, but must @@ -57739,20 +57739,20 @@ interface HTMLScriptElement : HTMLElement {

    The IDL attributes src, type, - defer, and src, type, + defer, and integrity, must each reflect the respective content attributes of the same name.

    -

    The referrerPolicy IDL attribute must +

    The referrerPolicy IDL attribute must reflect the referrerpolicy content attribute, limited to only known values.

    -

    The crossOrigin IDL attribute must +

    The crossOrigin IDL attribute must reflect the crossorigin content attribute, limited to only known values.

    -

    The noModule IDL attribute must +

    The noModule IDL attribute must reflect the nomodule content attribute.

    @@ -59454,7 +59454,7 @@ callback BlobCallback = undefined (Blob? blob);

    The canvas element has two attributes to control the size of the element's bitmap: - width and width and height. These attributes, when specified, must have values that are valid non-negative integers. The rules for parsing non-negative integers must be used to BlobCallback = undefined (Blob? blob); -

    The getContext(contextId, +

    The getContext(contextId, options) method of the canvas element, when invoked, must run these steps: @@ -59770,7 +59770,7 @@ callback BlobCallback = undefined (Blob? blob); -

    The toDataURL(type, +

    The toDataURL(type, quality) method, when invoked, must run these steps:

      @@ -59799,7 +59799,7 @@ callback BlobCallback = undefined (Blob? blob);
    -

    The toBlob(callback, type, +

    The toBlob(callback, type, quality) method, when invoked, must run these steps:

      @@ -59840,7 +59840,7 @@ callback BlobCallback = undefined (Blob? blob);
    -

    The The transferControlToOffscreen() method, when invoked, must run these steps:

    @@ -60224,7 +60224,7 @@ interface Path2D { can be useful when implementing certain kinds of applications, such as drawing applications, where the latency between input and rasterization is critical.

    -

    The The getContextAttributes() method, when invoked, must return a CanvasRenderingContext2DSettings dictionary containing the following members:

    @@ -60292,11 +60292,11 @@ interface Path2D { content attributes.

  1. Set context's alpha to - settings's settings's alpha.

  2. Set context's desynchronized to settings's desynchronized to settings's desynchronized.

  3. Return context.

  4. @@ -60353,7 +60353,7 @@ context.fillRect(100,0,50,50); // only this square remains

    The CanvasFillRule enumeration is used to select the fill rule algorithm by which to determine if a point is inside or outside a path.

    -

    The value "nonzero" value +

    The value "nonzero" value indicates the nonzero winding rule, wherein a point is considered to be outside a shape if the number of times a half-infinite straight @@ -60363,7 +60363,7 @@ context.fillRect(100,0,50,50); // only this square remains

    -

    The "evenodd" value indicates +

    The "evenodd" value indicates the even-odd rule, wherein a point is considered to be outside a shape if the number of times a half-infinite straight @@ -60379,14 +60379,14 @@ context.fillRect(100,0,50,50); // only this square remains

    The ImageSmoothingQuality enumeration is used to express a preference for the interpolation quality to use when smoothing images.

    -

    The "low" value +

    The "low" value indicates a preference for a low level of image interpolation quality. Low-quality image interpolation may be more computationally efficient than higher settings.

    -

    The "medium" value +

    The "medium" value indicates a preference for a medium level of image interpolation quality.

    -

    The "high" value +

    The "high" value indicates a preference for a high level of image interpolation quality. High-quality image interpolation may be more computationally expensive than lower settings.

    @@ -60585,7 +60585,7 @@ idea from Mihai:

    Objects that implement the CanvasPathDrawingStyles interface have attributes and methods (defined in this section) that control how lines are treated by the object.

    -

    The lineWidth attribute gives the +

    The lineWidth attribute gives the width of lines, in coordinate space units. On getting, it must return the current value. On setting, zero, negative, infinite, and NaN values must be ignored, leaving the value unchanged; other values must change the current value to the new value.

    @@ -60596,7 +60596,7 @@ idea from Mihai:
    -

    The lineCap attribute defines the type +

    The lineCap attribute defines the type of endings that UAs will place on the end of lines. The three valid values are "butt", "round", and "square".

    @@ -60610,7 +60610,7 @@ idea from Mihai:
    -

    The lineJoin attribute defines the type +

    The lineJoin attribute defines the type of corners that UAs will place where two lines meet. The three valid values are "bevel", "round", and "miter".

    @@ -60625,7 +60625,7 @@ idea from Mihai:

    When the lineJoin attribute has the value "miter", strokes use the miter limit ratio to decide how to render joins. The - miter limit ratio can be explicitly set using the miterLimit attribute. On getting, it must return the current value. On setting, zero, negative, infinite, and NaN values must be ignored, leaving the value unchanged; other values must change the current value to the new value.

    @@ -60642,7 +60642,7 @@ idea from Mihai: empty or consists of an even number of non-negative numbers. Initially, the dash list must be empty.

    -

    The setLineDash() method, when +

    The setLineDash() method, when invoked, must run these steps:

      @@ -60659,12 +60659,12 @@ idea from Mihai:
    1. Let the object's dash list be a.

    -

    When the getLineDash() method is +

    When the getLineDash() method is invoked, it must return a sequence whose values are the values of the object's dash list, in the same order.

    It is sometimes useful to change the "phase" of the dash pattern, e.g. to achieve a "marching - ants" effect. The phase can be set using the lineDashOffset attribute. On getting, it must return the current value. On setting, infinite and NaN values must be ignored, leaving the value unchanged; other values must change the current value to the new value.

    @@ -61100,13 +61100,13 @@ worker.postMesage(offscreenCanvas, [offscreenCanvas]); rendered), then the relative keywords must be interpreted relative to the normal-weight 10px sans-serif default.

    -

    The textAlign IDL attribute, on +

    The textAlign IDL attribute, on getting, must return the current value. On setting, the current value must be changed to the new value. When the object implementing the CanvasTextDrawingStyles interface is created, the textAlign attribute must initially have the value start.

    -

    The textBaseline IDL attribute, on +

    The textBaseline IDL attribute, on getting, must return the current value. On setting, the current value must be changed to the new value. When the object implementing the CanvasTextDrawingStyles interface is created, the textBaseline attribute must @@ -61125,21 +61125,21 @@ worker.postMesage(offscreenCanvas, [offscreenCanvas]); as follows:

    -
    start +
    start

    Align to the start edge of the text (left side in left-to-right text, right side in right-to-left text).

    -
    end +
    end

    Align to the end edge of the text (right side in left-to-right text, left side in right-to-left text).

    -
    left +
    left

    Align to the left.

    -
    right +
    right

    Align to the right.

    -
    center +
    center

    Align to the center.

    @@ -61152,22 +61152,22 @@ worker.postMesage(offscreenCanvas, [offscreenCanvas]);

    The keywords map to these alignment points as follows:

    -
    top +
    top
    The top of the em square
    -
    hanging +
    hanging
    The hanging baseline
    -
    middle +
    middle
    The middle of the em square
    -
    alphabetic +
    alphabetic
    The alphabetic baseline
    -
    ideographic +
    ideographic
    The ideographic-under baseline
    -
    bottom +
    bottom
    The bottom of the em square
    @@ -61781,7 +61781,7 @@ try { data-x="dom-context-2d-transformation">current transformation matrix before being added to the path.

    -

    The moveTo(x, y) +

    The moveTo(x, y) method, when invoked, must run these steps:

      @@ -61799,7 +61799,7 @@ try { subpath flag.

      -

      The closePath() method, when invoked, +

      The closePath() method, when invoked, must do nothing if the object's path has no subpaths. Otherwise, it must mark the last subpath as closed, create a new subpath whose first point is the same as the previous subpath's first point, and finally add this new subpath to the path.

      @@ -61813,7 +61813,7 @@ try {

      New points and the lines connecting them are added to subpaths using the methods described below. In all cases, the methods only modify the last subpath in the object's path.

      -

      The lineTo(x, y) +

      The lineTo(x, y) method, when invoked, must run these steps:

        @@ -61827,7 +61827,7 @@ try { the subpath.

      -

      The quadraticCurveTo(cpx, +

      The quadraticCurveTo(cpx, cpy, x, y) method, when invoked, must run these steps:

      @@ -61844,7 +61844,7 @@ try {
    1. Add the given point (x, y) to the subpath.

    -

    The bezierCurveTo(cp1x, +

    The bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) method, when invoked, must run these steps:

    @@ -61863,7 +61863,7 @@ try {
    -

    The arcTo(x1, y1, x2, +

    The arcTo(x1, y1, x2, y2, radius) method, when invoked, must run these steps:

      @@ -62019,7 +62019,7 @@ try {
      -

      The Path2D(path) constructor, when +

      The Path2D(path) constructor, when invoked, must run these steps:

        @@ -62051,7 +62051,7 @@ try {
        -

        The addPath(b, +

        The addPath(b, transform) method, when invoked on a Path2D object a, must run these steps:

        @@ -62246,7 +62246,7 @@ try {
        -

        The getTransform() method, when +

        The getTransform() method, when invoked, must return a newly created DOMMatrix representing a copy of the current transformation matrix matrix of the context.

        @@ -62254,7 +62254,7 @@ try { current transformation matrix, and updating the current transformation matrix will not affect an already returned DOMMatrix.

        -

        The setTransform(a, b, +

        The setTransform(a, b, c, d, e, f) method, when invoked, must run these steps:

        @@ -62268,7 +62268,7 @@ try { d, e, f) method with the same arguments.

      -

      The The setTransform(transform) method, when invoked, must run these steps:

      @@ -62284,7 +62284,7 @@ try {
    1. Reset the current transformation matrix to matrix.

    -

    The resetTransform() method, +

    The resetTransform() method, when invoked, must reset the current transformation matrix to the identity matrix.

    @@ -62498,8 +62498,8 @@ try {

    Objects that implement the CanvasFillStrokeStyles interface have attributes and methods (defined in this section) that control how shapes are treated by the object.

    -

    The fillStyle attribute represents the - color or style to use inside shapes, and the strokeStyle attribute represents the color +

    The fillStyle attribute represents the + color or style to use inside shapes, and the strokeStyle attribute represents the color or style to use for the lines around the shapes.

    Both attributes can be either strings, CanvasGradients, or @@ -62601,7 +62601,7 @@ try {

    -

    The addColorStop(offset, +

    The addColorStop(offset, color) method on the CanvasGradient, when invoked, must run these steps:

    @@ -62634,7 +62634,7 @@ try {
-

The createLinearGradient(x0, +

The createLinearGradient(x0, y0, x1, y1) method takes four arguments that represent the start point (x0, y0) and end point (x1, y1) of the gradient. The method, when invoked, must return a linear @@ -62650,7 +62650,7 @@ try { data-x="">y0 = y1, then the linear gradient must paint nothing.

-

The createRadialGradient(x0, +

The createRadialGradient(x0, y0, r0, x1, y1, r1) method takes six arguments, the first three representing the start circle with origin (x0, y0) and radius r0, and the last three representing the end circle with @@ -62728,7 +62728,7 @@ try {

-

The createPattern(image, +

The createPattern(image, repetition) method, when invoked, must run these steps:

    @@ -62763,7 +62763,7 @@ try {

    Patterns have a transformation matrix, which controls how the pattern is used when it is painted. Initially, a pattern's transformation matrix must be the identity matrix.

    -

    The The setTransform(transform) method, when invoked, must run these steps:

    @@ -62878,7 +62878,7 @@ try {
    -

    The clearRect(x, y, +

    The clearRect(x, y, w, h) method, when invoked, must run these steps:

      @@ -62894,7 +62894,7 @@ try {

      If either height or width are zero, this method has no effect, since the set of pixels would be empty.

      -

      The fillRect(x, y, +

      The fillRect(x, y, w, h) method, when invoked, must must run these steps:

        @@ -62906,7 +62906,7 @@ try { data-x="dom-context-2d-fillStyle">fillStyle.

      -

      The strokeRect(x, y, +

      The strokeRect(x, y, w, h) method, when invoked, must run these steps:

        @@ -62977,7 +62977,7 @@ try {

        Objects that implement the CanvasText interface provide the following methods for rendering text.

        -

        The fillText() and The fillText() and strokeText() methods take three or four arguments, text, x, y, and optionally maxWidth, and render the given text at the given (x, y) coordinates ensuring that the text @@ -63022,7 +63022,7 @@ try {

        - The measureText() method takes one + The measureText() method takes one argument, text. When the method is invoked, the user agent must run the text preparation algorithm, passing it text and the object implementing the CanvasText interface, and then using the returned inline box must return @@ -63038,7 +63038,7 @@ try {

        The width of that inline box, in CSS pixels. (The text's advance width.)

        -
        actualBoundingBoxLeft attribute
        +
        actualBoundingBoxLeft attribute

        The distance parallel to the baseline from the alignment point given by the

        -
        actualBoundingBoxRight attribute
        +
        actualBoundingBoxRight attribute

        The distance parallel to the baseline from the alignment point given by the

        -
        fontBoundingBoxAscent attribute
        +
        fontBoundingBoxAscent attribute

        The distance from the horizontal line indicated by the

        -
        fontBoundingBoxDescent attribute
        +
        fontBoundingBoxDescent attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the descent metric of the first available font, in CSS pixels; positive numbers indicating a distance going down from the given baseline.

        -
        actualBoundingBoxAscent attribute
        +
        actualBoundingBoxAscent attribute

        The distance from the horizontal line indicated by the

        -
        actualBoundingBoxDescent attribute
        +
        actualBoundingBoxDescent attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the bottom of the bounding rectangle of the given text, in CSS pixels; positive numbers indicating a distance going down from the given baseline.

        -
        emHeightAscent attribute
        +
        emHeightAscent attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the highest top of the em @@ -63118,7 +63118,7 @@ try { be positive). Zero if the given baseline is the top of that em square; half the font size if the given baseline is the middle of that em square.

        -
        emHeightDescent attribute
        +
        emHeightDescent attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the lowest bottom of the em @@ -63126,7 +63126,7 @@ try { indicating that the given baseline is above the bottom of that em square. (Zero if the given baseline is the bottom of that em square.)

        -
        hangingBaseline attribute
        +
        hangingBaseline attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the hanging @@ -63134,7 +63134,7 @@ try { positive numbers indicating that the given baseline is below the hanging baseline. (Zero if the given baseline is the hanging baseline.)

        -
        alphabeticBaseline attribute
        +
        alphabeticBaseline attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the alphabetic @@ -63142,7 +63142,7 @@ try { positive numbers indicating that the given baseline is below the alphabetic baseline. (Zero if the given baseline is the alphabetic baseline.)

        -
        ideographicBaseline attribute
        +
        ideographicBaseline attribute

        The distance from the horizontal line indicated by the textBaseline attribute to the ideographic-under @@ -63226,7 +63226,7 @@ try {

        -

        The beginPath() method, when invoked, +

        The beginPath() method, when invoked, must empty the list of subpaths in the context's current default path so that it once again has zero subpaths.

        @@ -63290,7 +63290,7 @@ try {
        -

        The isPointInPath() method, when +

        The isPointInPath() method, when invoked, must return true if the point given by the x and y coordinates passed to the method, when treated as coordinates in the canvas coordinate space unaffected by the current transformation, is inside the intended path as determined by the fill rule @@ -63301,7 +63301,7 @@ try {


        -

        The isPointInStroke() method, +

        The isPointInStroke() method, when invoked, must return true if the point given by the x and y coordinates passed to the method, when treated as coordinates in the canvas coordinate space unaffected by the current transformation, is inside the path that results from The The drawFocusIfNeeded(element) method, when invoked, must run these steps:

        @@ -63467,7 +63467,7 @@ try {
        -

        The scrollPathIntoView() +

        The scrollPathIntoView() method, when invoked, must run these steps:

          @@ -63497,7 +63497,7 @@ try {
          Drawing images
          -

          Objects that implement the CanvasDrawImage interface have the Objects that implement the CanvasDrawImage interface have the drawImage method to draw images.

          @@ -63708,7 +63708,7 @@ try { for reading and writing pixel data to the bitmap.

          The ImageData() - constructors and the createImageData() methods are used to instantiate new ImageData objects.

          @@ -63786,7 +63786,7 @@ try { Initialize the image data of the new ImageData object to transparent black. Return the newly created ImageData object.

          -

          The getImageData(sx, +

          The getImageData(sx, sy, sw, sh) method, when invoked, must, if either the sw or sh arguments are zero, throw an "IndexSizeError" DOMException; otherwise, @@ -63816,7 +63816,7 @@ try {

          1. Let imageData be a new uninitialized ImageData object.

          2. -
          3. If source is specified, then assign the

            If source is specified, then assign the data attribute of imageData to source.

          4. @@ -63880,7 +63880,7 @@ try { components must be assigned consecutive indices starting with 0 for the top left pixel's red component.

            -

            The putImageData() method writes +

            The putImageData() method writes data from ImageData structures back to the rendering context's output bitmap. Its arguments are: imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, and dirtyHeight.

            @@ -64084,7 +64084,7 @@ function AddCloud(data, x, y) { ... }
            -

            The globalAlpha attribute gives an +

            The globalAlpha attribute gives an alpha value that is applied to shapes and images before they are composited onto the output bitmap. The value must be in the range from 0.0 (fully transparent) to 1.0 (no additional transparency). If an attempt is made to set the attribute to a value outside this range, including @@ -64092,7 +64092,7 @@ function AddCloud(data, x, y) { ... } the context is created, the globalAlpha attribute must initially have the value 1.0.

            -

            The The globalCompositeOperation attribute sets the current composition operator, which controls how shapes and images are drawn onto the output bitmap, once they have had

            Objects that implement the CanvasImageSmoothing interface have attributes that control how image smoothing is performed.

            -

            The imageSmoothingEnabled +

            The imageSmoothingEnabled attribute, on getting, must return the last value it was set to. On setting, it must be set to the new value. When the object implementing the CanvasImageSmoothing interface is created, the attribute must be set to true.

            -

            The imageSmoothingQuality +

            The imageSmoothingQuality attribute, on getting, must return the last value it was set to. On setting, it must be set to the new value. When the object implementing the CanvasImageSmoothing interface is created, the attribute must be set to "

            -

            The shadowColor attribute sets the +

            The shadowColor attribute sets the color of the shadow.

            When the context is created, the shadowColor @@ -64216,7 +64216,7 @@ function AddCloud(data, x, y) { ... } failure then it must be ignored, and the attribute must retain its previous value.

            -

            The shadowOffsetX and The shadowOffsetX and shadowOffsetY attributes specify the distance that the shadow will be offset in the positive horizontal and positive vertical distance respectively. Their values are in coordinate space units. They are not affected by the current @@ -64229,7 +64229,7 @@ function AddCloud(data, x, y) { ... } set to the new value, except if the value is infinite or NaN, in which case the new value must be ignored.

            -

            The shadowBlur attribute specifies +

            The shadowBlur attribute specifies the level of the blurring effect. (The units do not map to coordinate space units, and are not affected by the current transformation matrix.)

            @@ -64629,7 +64629,7 @@ dictionary ImageBitmapRenderingContextSettings {
            -

            The canvas attribute +

            The canvas attribute must return the value it was initialized to when the object was created.

            An ImageBitmapRenderingContext object has an ImageBitmapRenderingContextSettings {

            Process each of the members of settings as follows:

            -
            alpha
            +
            alpha
            If false, then set context's alpha flag to false.
            @@ -64758,7 +64758,7 @@ dictionary ImageBitmapRenderingContextSettings {
            -

            The The transferFromImageBitmap(imageBitmap) method, when invoked, must run these steps:

            @@ -64943,7 +64943,7 @@ interface OffscreenCanvas : EventTarget {
            -

            The getContext(contextId, +

            The getContext(contextId, options) method of an OffscreenCanvas object, when invoked, must run these steps:

            @@ -65058,7 +65058,7 @@ interface OffscreenCanvas : EventTarget {
            -

            If either the width or If either the width or height attributes of an OffscreenCanvas object are set (to a new value or to the same value as before) and the OffscreenCanvas object's context @@ -65111,7 +65111,7 @@ interface OffscreenCanvas : EventTarget {

            -

            The The convertToBlob(options) method, when invoked, must run the following steps:

            @@ -65166,7 +65166,7 @@ interface OffscreenCanvas : EventTarget {
          5. Return result.

          -

          The The transferToImageBitmap() method, when invoked, must run the following steps:

            @@ -66346,7 +66346,7 @@ document.body.append(parent);
            -

            The customElements attribute +

            The customElements attribute of the Window interface must return the CustomElementRegistry object for that Window object.

            @@ -66429,7 +66429,7 @@ dictionary ElementDefinitionOptions {

            Element definition is a process of adding a custom element definition to the CustomElementRegistry. This is accomplished by the define() method. When invoked, - the define(name, + the define(name, constructor, options) method must run these steps:

            @@ -66639,7 +66639,7 @@ dictionary ElementDefinitionOptions {
          -

          When invoked, the When invoked, the get(name) method must run these steps:

          @@ -66651,7 +66651,7 @@ dictionary ElementDefinitionOptions {
        1. Otherwise, return undefined.

        -

        When invoked, the When invoked, the whenDefined(name) method must run these steps:

        @@ -66705,7 +66705,7 @@ fetch(articleURL)
        -

        When invoked, the When invoked, the upgrade(root) method must run these steps:

        @@ -67495,7 +67495,8 @@ dictionary ValidityStateFlags {
        -

        The setFormValue(value, +

        The setFormValue(value, state) method steps are:

          @@ -67538,8 +67539,9 @@ dictionary ValidityStateFlags {

          Each form-associated custom element has a validation anchor element. It is null initially.

          -

          The setValidity(flags, - message, anchor) method steps are:

          +

          The setValidity(flags, message, + anchor) method steps are:

          1. Let element be this's target @@ -67571,9 +67573,10 @@ dictionary ValidityStateFlags { anchor.

          -

          The validationMessage - getter steps are to return the validation message of - this's target element.

          +

          The validationMessage getter steps are to + return the validation message of this's + target element.

          The entry construction algorithm for a form-associated custom element, given an element element and a @@ -73154,7 +73157,7 @@ END:VCARD

        -

        The tabIndex IDL attribute must +

        The tabIndex IDL attribute must reflect the value of the tabindex content attribute. The default value is 0 if the element is an a, area, button, frame, iframe, input, @@ -73826,7 +73829,7 @@ END:VCARD

        -

        The The activeElement attribute's getter must run these steps:

        @@ -73853,7 +73856,7 @@ END:VCARD
      1. Return null.

      -

      The hasFocus() method on the +

      The hasFocus() method on the Document object, when invoked, must return the result of running the has focus steps with the Document object as the argument.

      @@ -73897,7 +73900,7 @@ END:VCARD
    1. Run the focusing steps for the element.

    2. -
    3. If the value of the

      If the value of the preventScroll dictionary member of options is false, then scroll the element into view with scroll behavior "auto", block flow direction @@ -74309,10 +74312,10 @@ addShortcutKeyLabel(document.getElementById('c'));


      -

      The accessKey IDL attribute must +

      The accessKey IDL attribute must reflect the accesskey content attribute.

      -

      The accessKeyLabel IDL attribute must return +

      The accessKeyLabel IDL attribute must return a string that represents the element's assigned access key, if any. If the element does not have one, then the IDL attribute must return the empty string.

      @@ -75656,7 +75659,7 @@ interface DataTransfer { array to the result of creating a frozen array from L.

    -

    The DataTransfer() constructor, when +

    The DataTransfer() constructor, when invoked, must return a newly created DataTransfer object initialized as follows:

      @@ -75670,7 +75673,7 @@ interface DataTransfer { effectAllowed to "none".

    -

    The dropEffect attribute controls +

    The dropEffect attribute controls the drag-and-drop feedback that the user is given during a drag-and-drop operation. When the DataTransfer object is created, the dropEffect attribute is set to a string value. On @@ -75681,7 +75684,7 @@ interface DataTransfer { data-x="dom-DataTransfer-dropEffect-move">move", then the attribute's current value must be set to the new value. Other values must be ignored.

    -

    The effectAllowed attribute is +

    The effectAllowed attribute is used in the drag-and-drop processing model to initialize the dropEffect attribute during the dragenter and DataTransfer { data-x="dom-DataTransfer-effectAllowed-uninitialized">uninitialized", then the attribute's current value must be set to the new value. Otherwise it must be left unchanged.

    -

    The items attribute must return a +

    The items attribute must return a DataTransferItemList object associated with the DataTransfer object.

    -

    The setDragImage(element, +

    The setDragImage(element, x, y) method must run the following steps:

      @@ -75724,11 +75727,11 @@ interface DataTransfer { y coordinate.

    -

    The types attribute must return this +

    The types attribute must return this DataTransfer object's types array.

    -

    The getData(format) method +

    The getData(format) method must run the following steps:

      @@ -75765,7 +75768,7 @@ interface DataTransfer {
    1. Return result.

    -

    The setData(format, +

    The setData(format, data) method must run the following steps:

      @@ -75798,7 +75801,7 @@ interface DataTransfer { given by the method's second argument.

    -

    The clearData() method must run the +

    The clearData() method must run the following steps:

      @@ -75836,7 +75839,7 @@ interface DataTransfer { calling clearData() (it would still contain the "Files" string if any files were included in the drag).

      -

      The files attribute must return a +

      The files attribute must return a live FileList sequence consisting of File objects representing the files found by the following steps. Furthermore, for a given FileList object and a given underlying file, the same @@ -75937,7 +75940,7 @@ DND-v5: DataTransferItem? length attribute must +

      The length attribute must return zero if the object is in the disabled mode; otherwise it must return the number of items in the drag data store item list.

      @@ -75957,7 +75960,7 @@ DND-v5: DataTransferItem? add()
      method must run the +

      The add() method must run the following steps:

        @@ -76028,7 +76031,7 @@ DND-v5: DataTransferItem? remove() method, when +

        The remove() method, when invoked with the argument i, must run these steps:

          @@ -76039,7 +76042,7 @@ DND-v5: DataTransferItem? clear() method, if the +

          The clear() method, if the DataTransferItemList object is in the read/write mode, must remove all the items from the drag data store. Otherwise, it must do nothing.

          @@ -76122,7 +76125,7 @@ callback FunctionObjectCallback = undefined (any data);-->
          with which the DataTransferItem object's DataTransfer object is associated.

          -

          The kind attribute must return the +

          The kind attribute must return the empty string if the DataTransferItem object is in the disabled mode; otherwise it must return the string given in the cell from the second column of the following table from the row whose cell in the first column contains the drag data item kind of the item @@ -76138,12 +76141,12 @@ callback FunctionObjectCallback = undefined (any data);--> Object "object"--> -

          The type attribute must return the +

          The type attribute must return the empty string if the DataTransferItem object is in the disabled mode; otherwise it must return the drag data item type string of the item represented by the DataTransferItem object.

          -

          The getAsString(callback) method must run the following steps:

          +

          The getAsString(callback) method must run the following steps:

          1. If the callback is null, return.

          2. @@ -76191,7 +76194,7 @@ callback FunctionObjectCallback = undefined (any data);-->
            --> -

            The getAsFile() +

            The getAsFile() method must run the following steps:

              @@ -76271,7 +76274,7 @@ dictionary DragEventInit : MouseEventInit {
              -

              The dataTransfer attribute of the +

              The dataTransfer attribute of the DragEvent interface must return the value it was initialized to. It represents the context information for the event.

              @@ -77875,7 +77878,7 @@ popup4.close();
            1. Return current's WindowProxy object.

            -

            The frameElement attribute's getter must run +

            The frameElement attribute's getter must run these steps:

              @@ -78832,7 +78835,7 @@ dictionary WindowPostMessageOptions : PostMessageOptions data-x="concept-document-bc">browsing context. It is either null or a browsing context.

              -

              The window, The window, frames, and self attributes' getters must return this Window object's relevant Realm.[[GlobalEnv]]'s @@ -78849,7 +78852,7 @@ dictionary WindowPostMessageOptions : PostMessageOptions Window object of the original about:blank page is reused and gets a new Document object.

              -

              The defaultView attribute's getter, +

              The defaultView attribute's getter, when invoked, must run these steps:

                @@ -80451,7 +80454,7 @@ interface BarProp {
                -

                The domain getter steps are:

                +

                The domain getter steps are:

                1. Let effectiveDomain be this's History {

                -

                The pushState(data, title, - url) method steps are to run the shared history push/replace state - steps given this, data, title, url, and - true.

                - -

                The replaceState(data, +

                The pushState(data, title, url) method steps are to run the shared history push/replace state steps given this, data, title, - url, and false.

                + url, and true.

                + +

                The replaceState(data, title, + url) method steps are to run the shared history push/replace state + steps given this, data, title, url, and + false.

                The shared history push/replace state steps, given a History history, a value data, a string title, a scalar value @@ -83291,7 +83295,7 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O

                -

                The Document object's The Document object's location attribute's getter must return this Document object's relevant global object's Location object, if this Document object is fully active, and null otherwise.

                @@ -83998,7 +84002,7 @@ interface Location { // but see also ancestorOrigins attribute's +

                The ancestorOrigins attribute's getter must run these steps:

                  @@ -89545,21 +89549,21 @@ dictionary ErrorEventInit : EventInit { any error = null; }; -

                  The message attribute must return the +

                  The message attribute must return the value it was initialized to. It represents the error message.

                  -

                  The filename attribute must return the +

                  The filename attribute must return the value it was initialized to. It represents the URL of the script in which the error originally occurred.

                  -

                  The lineno attribute must return the +

                  The lineno attribute must return the value it was initialized to. It represents the line number where the error occurred in the script.

                  -

                  The colno attribute must return the value +

                  The colno attribute must return the value it was initialized to. It represents the column number where the error occurred in the script.

                  -

                  The error attribute must return the value +

                  The error attribute must return the value it was initialized to. Where appropriate, it is set to the object representing the error (e.g., the exception object in the case of an uncaught DOM exception).

                  @@ -89647,10 +89651,10 @@ dictionary PromiseRejectionEventInit : EventInit { any reason; };
                  -

                  The promise attribute must +

                  The promise attribute must return the value it was initialized to. It represents the promise which this notification is about.

                  -

                  The reason attribute must +

                  The reason attribute must return the value it was initialized to. It represents the rejection reason for the promise.

                  JavaScript specification host hooks

                  @@ -92193,8 +92197,8 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEvent Event handler Event handler event type oncut cut - oncopy copy - onpaste paste + oncopy copy + onpaste paste

                  This list of event handlers is reified as event handler IDL @@ -93367,7 +93371,7 @@ scheduleWork(); // queues a task to do lots of work callback.

                  -

                  The The queueMicrotask(callback) method must queue a microtask to invoke callback, and if callback throws an exception, report the @@ -93827,15 +93831,15 @@ interface Navigator {

                  -
                  appCodeName
                  +
                  appCodeName

                  Must return the string "Mozilla".

                  -
                  appName
                  +
                  appName

                  Must return the string "Netscape".

                  -
                  appVersion
                  +
                  appVersion

                  Must return either the string "4.0" or a string representing the version of the browser in detail, e.g. "1.0 (VMS; en-US) Mellblomenator/9000".

                  @@ -93852,7 +93856,7 @@ interface Navigator {
                  product

                  Must return the string "Gecko".

                  -
                  productSub
                  +
                  productSub

                  Must return the appropriate string from the following list:

                  @@ -93870,7 +93874,7 @@ interface Navigator { -
                  userAgent
                  +
                  userAgent

                  Must return the default `User-Agent` value.

                  @@ -93894,7 +93898,7 @@ interface Navigator {
                  -
                  vendorSub
                  +
                  vendorSub

                  Must return the empty string.

                  @@ -93906,7 +93910,7 @@ interface Navigator { [Exposed=Window] readonly attribute DOMString oscpu; };
                  -

                  The taintEnabled() method must +

                  The taintEnabled() method must return false.

                  The oscpu attribute's getter must return @@ -94124,7 +94128,7 @@ interface Navigator {

                  -

                  The The registerProtocolHandler(scheme, url) method steps are:

                  @@ -94195,7 +94199,7 @@ interface Navigator {
                -

                The The unregisterProtocolHandler(scheme, url) method steps are: @@ -94355,7 +94359,7 @@ interface Navigator {

                -

                The cookieEnabled attribute must +

                The cookieEnabled attribute must return true if the user agent attempts to handle cookies according to HTTP State Management Mechanism, and false if it ignores cookie change requests.

                @@ -94513,7 +94517,7 @@ interface MimeType { data-x="dom-navigator-plugins">navigator.plugins
                attribute must return a PluginArray object.

                -

                The navigator.mimeTypes attribute must +

                The navigator.mimeTypes attribute must return a MimeTypeArray object.


                @@ -94560,11 +94564,11 @@ interface MimeType {

                - The length attribute must return the + The length attribute must return the number of non-hidden plugins represented by the object.

                -

                The item() method of a +

                The item() method of a PluginArray object must return null if the argument is not one of the object's supported property indices, and otherwise must return the result of running the following steps, using the method's argument as index:

                @@ -94590,13 +94594,13 @@ interface MimeType { the name attributes of all the Plugin objects represented by the PluginArray object.

                -

                The namedItem() method of a +

                The namedItem() method of a PluginArray object must return null if the argument is not one of the object's supported property names, and otherwise must return the Plugin object, of those represented by the PluginArray object, that has a name equal to the method's argument.

                -

                The refresh() method of the +

                The refresh() method of the PluginArray object of a Navigator object, when invoked, must check to see if any plugins have been installed or reconfigured since the user agent created the PluginArray object. If so, and the method's argument is true, then @@ -94637,12 +94641,12 @@ interface MimeType {

                - The length attribute must return the + The length attribute must return the number of MIME types explicitly supported by non-hidden plugins represented by the corresponding PluginArray object, if any.

                -

                The item() method of a +

                The item() method of a MimeTypeArray object must return null if the argument is not one of the object's supported property indices, and otherwise must return the result of running the following steps, using the method's argument as index:

                @@ -94669,7 +94673,7 @@ interface MimeType { the type attributes of all the MimeType objects represented by the MimeTypeArray object.

                -

                The namedItem() method of a +

                The namedItem() method of a MimeTypeArray object must return null if the argument is not one of the object's supported property names, and otherwise must return the MimeType object that has a type equal to the method's argument.

                @@ -94700,10 +94704,10 @@ interface MimeType {

                - The length attribute must return the number of + The length attribute must return the number of reported MIME types.

                -

                The item() method of a The item() method of a Plugin object must return null if the argument is not one of the object's supported property indices, and otherwise must return the result of running the following steps, using the method's argument as index:

                @@ -94728,16 +94732,16 @@ interface MimeType { the values of the type attributes of the MimeType objects representing the reported MIME types.

                -

                The namedItem() method of a The namedItem() method of a Plugin object must return null if the argument is not one of the object's supported property names, and otherwise must return the MimeType object that has a type equal to the method's argument.

                -

                The name attribute must return the +

                The name attribute must return the plugin's name.

                -

                The description and The description and filename attributes must return implementation-defined (in all likelihood, plugin-defined) strings. In each case, the same string must be returned each time, except that the strings returned may change @@ -94764,10 +94768,10 @@ interface MimeType { by the PluginArray object's refresh() method.

                -

                The type attribute must return the +

                The type attribute must return the valid MIME type string with no parameters describing the MIME type.

                -

                The description and The description and suffixes attributes must return implementation-defined (in all likelihood, plugin-defined) strings. In each case, the same string must be returned each time, except that the strings returned may change @@ -94788,7 +94792,7 @@ interface MimeType { interpreted as separating subsequent filename extensions, as in "htm,html".

                -

                The enabledPlugin attribute must +

                The enabledPlugin attribute must return the Plugin object that represents the plugin that explicitly supported the MIME type that this MimeType object represents when this object was last created or updated by MimeType {

                - The navigator.javaEnabled() method must + The navigator.javaEnabled() method must return true if the user agent supports a plugin that supports the MIME type "application/x-java-vm"; otherwise it must return false.

                @@ -94969,7 +94973,7 @@ dictionary ImageBitmapOptions {
                -

                The createImageBitmap(image, +

                The createImageBitmap(image, options) and createImageBitmap(image sx, sy, sw, sh, options) methods, when invoked, must run these steps:

                @@ -94980,9 +94984,9 @@ dictionary ImageBitmapOptions {
              1. If either sw or sh is given and is 0, then return p rejected with a RangeError.

              2. -
              3. If either options's

                If either options's resizeWidth or options's - resizeHeight is present and + resizeHeight is present and is 0, then return p rejected with an "InvalidStateError" DOMException.

              4. @@ -95253,34 +95257,34 @@ dictionary ImageBitmapOptions { sourceRectangle.

              5. Scale output to the size specified by outputWidth and - outputHeight. The user agent should use the value of the outputHeight. The user agent should use the value of the resizeQuality option to guide the choice of scaling algorithm.

              6. -

                If the value of the If the value of the imageOrientation member of - options is "flipY", + options is "flipY", output must be flipped vertically, disregarding any image orientation metadata of the source (such as EXIF metadata), if any.

                -

                If the value is "If the value is "none", no extra step is required.

              7. If image is an img element or a Blob object, let - val be the value of the val be the value of the colorSpaceConversion member of options, and then run these substeps:

                  -
                1. If val is "

                  If val is "default", the color space conversion behavior is implementation-specific, and should be chosen according to the color space that the implementation uses for drawing images onto the canvas.

                2. -
                3. If val is "

                  If val is "none", output must be decoded without performing any color space conversions. This means that the image decoding algorithm must ignore color profile metadata embedded in the source data as well as the display device @@ -95292,22 +95296,22 @@ dictionary ImageBitmapOptions {

                4. -

                  Let val be the value of Let val be the value of premultiplyAlpha member of options, and then run these substeps:

                    -
                  1. If val is "

                    If val is "default", the alpha premultiplication behavior is implementation-specific, and should be chosen according to implementation deems optimal for drawing images onto the canvas.

                  2. -
                  3. If val is "

                    If val is "premultiply", the output that is not premultiplied by alpha must have its color components multiplied by alpha and that is premultiplied by alpha must be left untouched.

                  4. -
                  5. If val is "

                    If val is "none", the output that is not premultiplied by alpha must be left untouched and that is premultiplied by alpha must have its color components divided by alpha.

                  6. @@ -95317,7 +95321,7 @@ dictionary ImageBitmapOptions {
                  7. Return output.

                  -

                  When the close() method is called, the +

                  When the close() method is called, the user agent must run these steps:

                    @@ -95328,7 +95332,7 @@ dictionary ImageBitmapOptions { data-x="concept-ImageBitmap-bitmap-data">bitmap data.

                  -

                  The width attribute's getter must run +

                  The width attribute's getter must run these steps:

                    @@ -95339,7 +95343,7 @@ dictionary ImageBitmapOptions { pixels.

                  -

                  The height attribute's getter must run +

                  The height attribute's getter must run these steps:

                    @@ -95353,18 +95357,18 @@ dictionary ImageBitmapOptions {

                    The ResizeQuality enumeration is used to express a preference for the interpolation quality to use when scaling images.

                    -

                    The "pixelated" value indicates +

                    The "pixelated" value indicates a preference to scale the image that maximizes the appearance. Scaling algorithms that "smooth" colors are acceptable, such as bilinear interpolation.

                    -

                    The "low" value +

                    The "low" value indicates a preference for a low level of image interpolation quality. Low-quality image interpolation may be more computationally efficient than higher settings.

                    -

                    The "medium" value indicates +

                    The "medium" value indicates a preference for a medium level of image interpolation quality.

                    -

                    The "high" value indicates a +

                    The "high" value indicates a preference for a high level of image interpolation quality. High-quality image interpolation may be more computationally expensive than lower settings.

                    @@ -95459,7 +95463,7 @@ interface mixin AnimationFrameProvider {
                    -

                    The The requestAnimationFrame(callback) method must run the following steps:

                    @@ -95837,7 +95841,7 @@ dictionary EventSourceInit {
                    -

                    The EventSource(url, +

                    The EventSource(url, eventSourceInitDict) constructor, when invoked, must run these steps:

                      @@ -95893,30 +95897,30 @@ dictionary EventSourceInit {
                      -

                      The url attribute's getter must return the +

                      The url attribute's getter must return the serialization of this EventSource object's url.

                      -

                      The withCredentials attribute +

                      The withCredentials attribute must return the value to which it was last initialized. When the object is created, it must be initialized to false.

                      -

                      The readyState attribute represents +

                      The readyState attribute represents the state of the connection. It can have the following values:

                    -
                    CONNECTING (numeric value 0)
                    +
                    CONNECTING (numeric value 0)
                    The connection has not yet been established, or it was closed and the user agent is reconnecting.
                    -
                    OPEN (numeric value 1)
                    +
                    OPEN (numeric value 1)
                    The user agent has an open connection and is dispatching events as it receives them.
                    -
                    CLOSED (numeric value 2)
                    +
                    CLOSED (numeric value 2)
                    The connection is not open, and the user agent is not trying to reconnect. Either there was a fatal error or the close() method was invoked.
                    @@ -95928,7 +95932,7 @@ dictionary EventSourceInit { be set to CONNECTING (0). The rules given below for handling the connection define when the value changes.

                    -

                    The close() method must abort any +

                    The close() method must abort any instances of the fetch algorithm started for this EventSource object, and must set the readyState attribute to EventSourceInit { Event handler Event handler event type - onopen open - onmessage message - onerror error + onopen open + onmessage message + onerror error


                    @@ -96678,7 +96682,7 @@ interface WebSocket : EventTarget {
                    -

                    The WebSocket(url, +

                    The WebSocket(url, protocols) constructor, when invoked, must run these steps:

                      @@ -96730,11 +96734,11 @@ interface WebSocket : EventTarget {
                      -

                      The url attribute's getter must return this +

                      The url attribute's getter must return this WebSocket object's url, serialized.

                      -

                      The readyState attribute represents +

                      The readyState attribute represents the state of the connection. It can have the following values:

                    @@ -96743,21 +96747,21 @@ interface WebSocket : EventTarget { following values:

                    -
                    CONNECTING (numeric value 0)
                    +
                    CONNECTING (numeric value 0)
                    The connection has not yet been established.
                    -
                    OPEN (numeric value 1)
                    +
                    OPEN (numeric value 1)
                    The WebSocket connection is established and communication is possible.
                    -
                    CLOSING (numeric value 2)
                    +
                    CLOSING (numeric value 2)
                    The connection is going through the closing handshake, or the close() method has been invoked.
                    -
                    CLOSED (numeric value 3)
                    +
                    CLOSED (numeric value 3)
                    The connection has been closed or could not be opened.
                    @@ -96767,15 +96771,15 @@ interface WebSocket : EventTarget {

                    When the object is created its readyState must be set to CONNECTING (0).

                    -

                    The extensions attribute must +

                    The extensions attribute must initially return the empty string. After the WebSocket connection is established, its value might change, as defined below.

                    -

                    The protocol attribute must initially +

                    The protocol attribute must initially return the empty string. After the WebSocket connection is established, its value might change, as defined below.

                    -

                    The close(code, +

                    The close(code, reason) method, when invoked, must run these steps:

                      @@ -96885,7 +96889,7 @@ interface WebSocket : EventTarget {
                      -

                      The bufferedAmount attribute must +

                      The bufferedAmount attribute must return the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but that, as of the last time the event loop reached step 1, had not yet been transmitted to the network. (This thus @@ -96919,7 +96923,7 @@ socket.onopen = function () {

                      -

                      When a WebSocket object is created, its When a WebSocket object is created, its binaryType IDL attribute must be set to the string "blob". On getting, it must return the last value it was set to. On setting, the user agent must set the IDL attribute to the new value.

                      @@ -96935,7 +96939,7 @@ socket.onopen = function () { important in particular because it is quite possible for the attribute to be changed after the user agent has received the data but before the user agent has fired the event for it.

                      -

                      The send(data) method transmits +

                      The send(data) method transmits data using the connection. If the readyState attribute is CONNECTING, it must throw an "InvalidStateError" DOMException. Otherwise, the user agent @@ -97028,10 +97032,10 @@ socket.onopen = function () { Event handler Event handler event type - onopen open - onmessage message - onerror error - onclose close + onopen open + onmessage message + onerror error + onclose close @@ -97084,14 +97088,14 @@ socket.onopen = function () {

                      a new DOMString containing data
                      type indicates that the data is Binary and binaryType is "binaryType is "blob"
                      a new Blob object, created in the relevant Realm of the WebSocket object, that represents data as its raw data
                      type indicates that the data is Binary and binaryType is "binaryType is "arraybuffer"
                      a new ArrayBuffer object, created in the relevant Realm of the WebSocket object, @@ -97284,14 +97288,14 @@ dictionary CloseEventInit : EventInit {
                      -

                      The wasClean attribute must return the +

                      The wasClean attribute must return the value it was initialized to. It represents whether the connection closed cleanly or not.

                      -

                      The code attribute must return the value +

                      The code attribute must return the value it was initialized to. It represents the WebSocket connection close code provided by the server.

                      -

                      The reason attribute must return the +

                      The reason attribute must return the value it was initialized to. It represents the WebSocket connection close reason provided by the server.

                      @@ -97617,7 +97621,7 @@ function receiver(e) {
                    -

                    The postMessage(message, +

                    The postMessage(message, options) method, when invoked on a Window object, must run the following steps:

                      @@ -97627,7 +97631,7 @@ function receiver(e) { message, and options.

                    -

                    The postMessage(message, +

                    The postMessage(message, targetOrigin, transfer) method, when invoked on a Window object, must run the following steps:

                    @@ -97888,10 +97892,10 @@ interface MessageChannel { port 2.

                  -

                  The port1 getter steps are to return +

                  The port1 getter steps are to return this's port 1.

                  -

                  The port2 getter steps are to return +

                  The port2 getter steps are to return this's port 2.

              8. @@ -98126,7 +98130,7 @@ dictionary PostMessageOptions {
              -

              The postMessage(message, +

              The postMessage(message, options) method, when invoked on a MessagePort object must run the following steps:

              @@ -98138,7 +98142,7 @@ dictionary PostMessageOptions { message and options.

            -

            The postMessage(message, +

            The postMessage(message, transfer) method, when invoked on a MessagePort object must run the following steps:

            @@ -98155,13 +98159,13 @@ dictionary PostMessageOptions {
            -

            The start() method, when invoked, must +

            The start() method, when invoked, must enable this MessagePort object's port message queue, if it is not already enabled.


            -

            The close() method, when invoked, must +

            The close() method, when invoked, must run these steps:

              @@ -98182,8 +98186,8 @@ dictionary PostMessageOptions { Event handler Event handler event type - onmessage message - onmessageerror messageerror + onmessage message + onmessageerror messageerror

              The first time a MessagePort object's BroadcastChannel : EventTarget { to false.

            -

            The name getter steps are to return +

            The name getter steps are to return this's channel name.

            -

            The The postMessage(message) method steps are:

            @@ -98409,7 +98413,7 @@ interface BroadcastChannel : EventTarget { BroadcastChannel object's relevant global object to the BroadcastChannel object itself.

            -

            The close() method steps are to set +

            The close() method steps are to set this's closed flag to true.

    @@ -98434,8 +98438,8 @@ interface BroadcastChannel : EventTarget { Event handler Event handler event type - onmessage message - onmessageerror messageerror + onmessage message + onmessageerror messageerror
@@ -98984,10 +98988,10 @@ interface WorkerGlobalScope : EventTarget {
-

The self attribute must return the +

The self attribute must return the WorkerGlobalScope object itself.

-

The location attribute must +

The location attribute must return the WorkerLocation object whose associated WorkerGlobalScope object is the WorkerGlobalScope object.

@@ -99009,12 +99013,12 @@ interface WorkerGlobalScope : EventTarget { Event handler Event handler event type - onerror error - onlanguagechange languagechange - onoffline offline - ononline online - onrejectionhandled rejectionhandled - onunhandledrejection unhandledrejection + onerror error + onlanguagechange languagechange + onoffline offline + ononline online + onrejectionhandled rejectionhandled + onunhandledrejection unhandledrejection @@ -99064,14 +99068,14 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
-

The name attribute must +

The name attribute must return the DedicatedWorkerGlobalScope object's name. Its value represents the name given to the worker using the Worker constructor, used primarily for debugging purposes.

-

The The postMessage(message, - transfer) and transfer) and postMessage(message, options) methods on DedicatedWorkerGlobalScope objects act as if, when invoked, it immediately invoked the respective DedicatedWorkerGlobalScope : WorkerGlobalScope flag to true. (This prevents any further tasks from being queued.)

-

The close() method, when +

The close() method, when invoked, must close a worker with this DedicatedWorkerGlobalScope object.

@@ -99109,8 +99113,8 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope Event handler Event handler event type - onmessage message - onmessageerror messageerror + onmessage message + onmessageerror messageerror @@ -99158,12 +99162,12 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
-

The name attribute must +

The name attribute must return the SharedWorkerGlobalScope object's name. Its value represents the name that can be used to obtain a reference to the worker using the SharedWorker constructor.

-

The close() method, when +

The close() method, when invoked, must close a worker with this SharedWorkerGlobalScope object.

@@ -99180,7 +99184,7 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { Event handler Event handler event type - onconnect connect + onconnect connect @@ -99668,7 +99672,7 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { Event handler Event handler event type - onerror error + onerror error @@ -99824,7 +99828,7 @@ enum WorkerType { "classic", "module" };
-

The terminate() method, when invoked, +

The terminate() method, when invoked, must cause the terminate a worker algorithm to be run on the worker with which the object is associated.

@@ -99835,8 +99839,8 @@ enum WorkerType { "classic", "module" };

All messages received by that port must immediately be retargeted at the Worker object.

-

The postMessage(message, - transfer) and The postMessage(message, + transfer) and postMessage(message, options) methods on Worker objects act as if, when invoked, they immediately invoked the respective WorkerType { "classic", "module" }; Event handler Event handler event type - onmessage message - onmessageerror messageerror + onmessage message + onmessageerror messageerror


-

When the Worker(scriptURL, +

When the Worker(scriptURL, options) constructor is invoked, the user agent must run the following steps:

@@ -99957,7 +99961,7 @@ interface SharedWorker : EventTarget {
-

The port attribute must return the value +

The port attribute must return the value it was assigned by the object's constructor. It represents the MessagePort for communicating with the shared worker.

@@ -99968,7 +99972,7 @@ interface SharedWorker : EventTarget { Implementations could use one per origin; that would not be observably different and enables more concurrency.

-

When the SharedWorker(scriptURL, +

When the SharedWorker(scriptURL, options) constructor is invoked:

    @@ -101445,11 +101449,11 @@ interface Storage {
    -

    The length getter steps are to return +

    The length getter steps are to return this's map's size.

    -

    The key(n) method steps are:

    +

    The key(n) method steps are:

    1. If n is greater than or equal to this's Storage { are the result of running get the keys on storage's map.

      -

      The getItem(key) method steps +

      The getItem(key) method steps are:

        @@ -101477,7 +101481,7 @@ interface Storage { data-x="concept-Storage-map">map[key].

      -

      The setItem(key, +

      The setItem(key, value) method are:

        @@ -101512,7 +101516,7 @@ interface Storage { key, oldValue, and value.

      -

      The removeItem(key) method +

      The removeItem(key) method steps are:

        @@ -101531,7 +101535,7 @@ interface Storage { key, oldValue, and null.

      -

      The clear() method steps are:

      +

      The clear() method steps are:

      1. Clear this's Storage {

        - The sessionStorage getter steps are:

        + The sessionStorage getter steps are:

        1. If this's associated @@ -101630,7 +101634,7 @@ interface Storage {

          - The localStorage getter steps are:

          + The localStorage getter steps are:

          1. If this's associated @@ -101702,15 +101706,15 @@ dictionary StorageEventInit : EventInit {

            -

            The key, oldValue, newValue, url, and The key, oldValue, newValue, url, and storageArea attributes must return the values they were initialized to.

            -

            The initStorageEvent() +

            The initStorageEvent() method must initialize the event in a manner analogous to the similarly-named initEvent() method.

            @@ -116126,7 +116130,7 @@ if (s = prompt('What is your name?')) {
            char on tbody, thead, and tfoot elements
            charoff on tbody, thead, and tfoot elements
            height on thead, tbody, and tfoot elements
            -
            valign on tbody, thead, and tfoot elements
            +
            valign on tbody, thead, and tfoot elements
            align on td and th elements
            bgcolor on td and th elements
            char on td and th elements
            @@ -116324,18 +116328,18 @@ interface HTMLMarqueeElement : HTMLElement { for="HTMLMarqueeElement">width IDL attributes must reflect the respective content attributes of the same name.

            -

            The bgColor IDL attribute must +

            The bgColor IDL attribute must reflect the bgcolor content attribute.

            -

            The scrollAmount IDL attribute must +

            The scrollAmount IDL attribute must reflect the scrollamount content attribute. The default value is 6.

            -

            The scrollDelay IDL attribute must +

            The scrollDelay IDL attribute must reflect the scrolldelay content attribute. The default value is 85.

            -

            The trueSpeed IDL attribute must +

            The trueSpeed IDL attribute must reflect the truespeed content attribute.

            @@ -116447,33 +116451,33 @@ interface HTMLFrameElement : HTMLElement { data-x="attr-frame-src">src
            content attribute is defined as containing a URL.

            -

            The frameBorder IDL attribute of the +

            The frameBorder IDL attribute of the frame element must reflect the element's frameborder content attribute.

            -

            The longDesc IDL attribute of the +

            The longDesc IDL attribute of the frame element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

            -

            The noResize IDL attribute of the +

            The noResize IDL attribute of the frame element must reflect the element's noresize content attribute.

            -

            The contentDocument IDL attribute, +

            The contentDocument IDL attribute, on getting, must return the frame element's content document.

            -

            The contentWindow IDL attribute must +

            The contentWindow IDL attribute must return the WindowProxy object of the frame element's nested browsing context, if the element's nested browsing context is non-null, or return null otherwise.

            -

            The marginHeight IDL attribute of the +

            The marginHeight IDL attribute of the frame element must reflect the element's marginheight content attribute.

            -

            The marginWidth IDL attribute of the +

            The marginWidth IDL attribute of the frame element must reflect the element's marginwidth content attribute.

            @@ -116509,7 +116513,7 @@ interface HTMLFrameElement : HTMLElement { [CEReactions] attribute boolean noHref; };
            -

            The noHref IDL attribute of the +

            The noHref IDL attribute of the area element must reflect the element's nohref content attribute.

            @@ -116532,15 +116536,15 @@ interface HTMLFrameElement : HTMLElement { attribute of the body element must reflect the element's link content attribute.

            -

            The aLink IDL attribute of the body +

            The aLink IDL attribute of the body element must reflect the element's alink content attribute.

            -

            The vLink IDL attribute of the body +

            The vLink IDL attribute of the body element must reflect the element's vlink content attribute.

            -

            The bgColor IDL attribute of the +

            The bgColor IDL attribute of the body element must reflect the element's bgcolor content attribute.

            @@ -116590,11 +116594,11 @@ interface HTMLFrameElement : HTMLElement { attribute of the col element must reflect the element's char content attribute.

            -

            The chOff IDL attribute of the col +

            The chOff IDL attribute of the col element must reflect the element's charoff content attribute.

            -

            The vAlign IDL attribute of the col +

            The vAlign IDL attribute of the col element must reflect the element's valign content attribute.

            @@ -116704,7 +116708,7 @@ interface HTMLFontElement : HTMLElement { hr element must reflect the respective content attributes of the same name.

            -

            The noShade IDL attribute of the hr +

            The noShade IDL attribute of the hr element must reflect the element's noshade content attribute.

            @@ -116735,20 +116739,20 @@ interface HTMLFontElement : HTMLElement { data-x="dom-iframe-scrolling">scrolling IDL attributes of the iframe element must reflect the respective content attributes of the same name.

            -

            The frameBorder IDL attribute of the +

            The frameBorder IDL attribute of the iframe element must reflect the element's frameborder content attribute.

            -

            The longDesc IDL attribute of the +

            The longDesc IDL attribute of the iframe element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

            -

            The marginHeight IDL attribute of the +

            The marginHeight IDL attribute of the iframe element must reflect the element's marginheight content attribute.

            -

            The marginWidth IDL attribute of the +

            The marginWidth IDL attribute of the iframe element must reflect the element's marginwidth content attribute.

            @@ -116773,7 +116777,7 @@ interface HTMLFontElement : HTMLElement { img element must reflect the respective content attributes of the same name.

            -

            The longDesc IDL attribute of the +

            The longDesc IDL attribute of the img element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

            @@ -116794,7 +116798,7 @@ interface HTMLFontElement : HTMLElement { attribute of the input element must reflect the content attribute of the same name.

            -

            The useMap IDL attribute of the +

            The useMap IDL attribute of the input element must reflect the element's usemap content attribute.

            @@ -116916,12 +116920,12 @@ interface HTMLFontElement : HTMLElement { object element must reflect the respective content attributes of the same name.

            -

            The codeBase IDL attribute of the +

            The codeBase IDL attribute of the object element must reflect the element's codebase content attribute, which for the purposes of reflection is defined as containing a URL.

            -

            The codeType IDL attribute of the +

            The codeType IDL attribute of the object element must reflect the element's codetype content attribute.

            @@ -116956,7 +116960,7 @@ interface HTMLFontElement : HTMLElement { attribute of the param element must reflect the content attribute of the same name.

            -

            The valueType IDL attribute of the +

            The valueType IDL attribute of the param element must reflect the element's valuetype content attribute.

            @@ -116995,11 +116999,11 @@ interface HTMLFontElement : HTMLElement { };

            The charset and charset and event IDL attributes of the script element must reflect the respective content attributes of the same name.

            -

            The htmlFor IDL attribute of the +

            The htmlFor IDL attribute of the script element must reflect the element's for content attribute.

            @@ -117027,15 +117031,15 @@ interface HTMLFontElement : HTMLElement { table element must reflect the respective content attributes of the same name.

            -

            The bgColor IDL attribute of the +

            The bgColor IDL attribute of the table element must reflect the element's bgcolor content attribute.

            -

            The cellPadding IDL attribute of the +

            The cellPadding IDL attribute of the table element must reflect the element's cellpadding content attribute.

            -

            The cellSpacing IDL attribute of the +

            The cellSpacing IDL attribute of the table element must reflect the element's cellspacing content attribute.

            @@ -117058,11 +117062,11 @@ interface HTMLFontElement : HTMLElement { reflect the elements' char content attributes.

            -

            The chOff IDL attribute of the +

            The chOff IDL attribute of the tbody, thead, and tfoot elements must reflect the elements' charoff content attributes.

            -

            The vAlign IDL attribute of the +

            The vAlign IDL attribute of the tbody, thead, and tfoot element must reflect the elements' valign content attributes.

            @@ -117093,19 +117097,19 @@ interface HTMLFontElement : HTMLElement { attribute of the td and th elements must reflect the elements' char content attributes.

            -

            The chOff IDL attribute of the td +

            The chOff IDL attribute of the td and th elements must reflect the elements' charoff content attributes.

            -

            The noWrap IDL attribute of the td +

            The noWrap IDL attribute of the td and th elements must reflect the elements' nowrap content attributes.

            -

            The vAlign IDL attribute of the td +

            The vAlign IDL attribute of the td and th elements must reflect the elements' valign content attributes.

            -

            The bgColor IDL attribute of the +

            The bgColor IDL attribute of the td and th elements must reflect the elements' bgcolor content attributes.

            @@ -117128,15 +117132,15 @@ interface HTMLFontElement : HTMLElement { attribute of the tr element must reflect the element's char content attribute.

            -

            The chOff IDL attribute of the tr +

            The chOff IDL attribute of the tr element must reflect the element's charoff content attribute.

            -

            The vAlign IDL attribute of the tr +

            The vAlign IDL attribute of the tr element must reflect the element's valign content attribute.

            -

            The bgColor IDL attribute of the tr +

            The bgColor IDL attribute of the tr element must reflect the element's bgcolor content attribute.

            @@ -117192,19 +117196,19 @@ interface HTMLFontElement : HTMLElement { Content attribute - fgColor + fgColor text - linkColor + linkColor link - vlinkColor + vlinkColor vlink - alinkColor + alinkColor alink - bgColor + bgColor bgcolor @@ -117220,7 +117224,7 @@ interface HTMLFontElement : HTMLElement { whose filter matches nothing. (It exists for historical reasons.)

            The clear(), - captureEvents(), and captureEvents(), and releaseEvents() methods must do nothing.


            @@ -117238,7 +117242,7 @@ interface HTMLFontElement : HTMLElement { [Replaceable, SameObject] readonly attribute External external; };
            -

            The captureEvents() and releaseEvents() methods must do nothing.

            +

            The captureEvents() and releaseEvents() methods must do nothing.

            The external attribute of the Window interface must return an instance of the External @@ -117250,8 +117254,8 @@ interface External { undefined IsSearchProviderInstalled(); }; -

            The AddSearchProvider() and - The AddSearchProvider() and + IsSearchProviderInstalled() methods must do nothing.

            From ecc78f6a3375203dfca210fbbbf1fb2c929458e8 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Fri, 5 Feb 2021 17:15:58 +0900 Subject: [PATCH 2/3] Fix issue with navigator.onLine See https://github.com/whatwg/html/pull/5956#discussion_r503409588 --- source | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source b/source index 73753c95575..ec9a1f3d34f 100644 --- a/source +++ b/source @@ -94042,10 +94042,10 @@ interface Navigator {
            -

            The navigator.onLine attribute must return - false if the user agent will not contact the network when the user follows links or when a script - requests a remote page (or knows that such an attempt would fail), and must return true - otherwise.

            +

            The onLine attribute must return false if the user agent + will not contact the network when the user follows links or when a script requests a remote page + (or knows that such an attempt would fail), and must return true otherwise.

            When the value that would be returned by the navigator.onLine attribute of a Window or From 50f9b57934ff729dc0bc647c3f24b4bef5e64dbc Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Fri, 5 Feb 2021 18:09:07 +0900 Subject: [PATCH 3/3] Re-wrap --- source | 2474 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 1387 insertions(+), 1087 deletions(-) diff --git a/source b/source index ec9a1f3d34f..b9cd42b9c3a 100644 --- a/source +++ b/source @@ -7347,19 +7347,22 @@ interface HTMLAllCollection { an element preceding its name if it contributes both, they differ from each other, and neither is the duplicate of an earlier entry.

            -

            On getting, the length - attribute must return the number of nodes represented by the collection.

            +

            On getting, the length attribute must return the number of + nodes represented by the collection.

            The indexed property getter must return the result of getting the "all"-indexed element from this HTMLAllCollection given the passed index.

            -

            The namedItem(name) - method must return the result of getting the "all"-named +

            The namedItem(name) method must + return the result of getting the "all"-named element(s) from this HTMLAllCollection given name.

            -

            The item(nameOrIndex) - method must perform the following steps:

            +

            The item(nameOrIndex) method must perform + the following steps:

            1. If nameOrIndex was not provided, return null.

            2. @@ -7523,7 +7526,9 @@ interface RadioNodeList : NodeList { data-x="attr-fe-name">name
              if it contributes both, they differ from each other, and neither is the duplicate of an earlier entry.

              -

              The namedItem(name) method must act according to the following algorithm:

              +

              The namedItem(name) method + must act according to the following algorithm:

              1. If name is the empty string, return null and stop the algorithm.
              2. @@ -7551,7 +7556,8 @@ interface RadioNodeList : NodeList {

                Members of the RadioNodeList interface inherited from the NodeList interface must behave as they would on a NodeList object.

                -

                The value IDL attribute on the +

                The value IDL attribute on the RadioNodeList object, on getting, must return the value returned by running the following steps:

                @@ -7677,8 +7683,9 @@ interface HTMLOptionsCollection : HTMLCollection {

                The object's supported property indices are as defined for HTMLCollection objects.

                -

                On getting, the length - attribute must return the number of nodes represented by the collection.

                +

                On getting, the length attribute must return the number of + nodes represented by the collection.

                On setting, the behavior depends on whether the new value is equal to, greater than, or less than the number of nodes represented by the collection at that time. If the number is @@ -7725,7 +7732,9 @@ interface HTMLOptionsCollection : HTMLCollection { element. Otherwise, replace the indexth element in the collection by value.

              -

              The add(element, before) method must act according to the following algorithm:

              +

              The add(element, before) + method must act according to the following algorithm:

              1. If element is an ancestor of the select element on which @@ -7751,7 +7760,9 @@ interface HTMLOptionsCollection : HTMLCollection { reference.

              -

              The remove(index) method must act according to the following algorithm:

              +

              The remove(index) method must act + according to the following algorithm:

              1. If the number of nodes represented by the collection is zero, return.

              2. @@ -7777,9 +7788,10 @@ interface HTMLOptionsCollection : HTMLCollection {
              3. Remove element from its parent node.

              -

              The selectedIndex IDL - attribute must act like the identically named attribute on the select element on - which the HTMLOptionsCollection is rooted

              +

              The selectedIndex IDL attribute must act + like the identically named attribute on the select element on which the + HTMLOptionsCollection is rooted

              @@ -9295,9 +9307,10 @@ partial interface Document {
              -

              The lastModified attribute, on - getting, must return the date and time of the Document's source file's last - modification, in the user's local time zone, in the following format:

              +

              The lastModified attribute, on getting, must return + the date and time of the Document's source file's last modification, in the user's + local time zone, in the following format:

              1. The month component of the date.
              2. @@ -9371,8 +9384,9 @@ partial interface Document { HTML parser or an XML parser that has not yet been stopped or aborted.

                -

                The readyState IDL attribute must, on - getting, return the current document readiness.

                +

                The readyState IDL attribute must, on getting, return + the current document readiness.

              @@ -9684,10 +9698,10 @@ partial interface Document {
              -

              The currentScript attribute, on - getting, must return the value to which it was most recently set. When the Document - is created, the currentScript must be - initialized to null.

              +

              The currentScript attribute, on getting, must return + the value to which it was most recently set. When the Document is created, the currentScript must be initialized to null.

              @@ -12469,7 +12483,8 @@ interface DOMStringMap {
              -

              The innerText getter steps are:

              +

              The innerText getter + steps are:

              1. @@ -13231,11 +13246,12 @@ interface HTMLLinkElement : HTMLElement {

                The link element allows authors to link their document to other resources.

                -

                The address of the link(s) is given by the href - attribute. If the href attribute is present, then its value - must be a valid non-empty URL potentially surrounded by spaces. One or both of the - href or imagesrcset attributes must be present.

                +

                The address of the link(s) is given by the href attribute. If the href attribute is present, then its value must be a valid + non-empty URL potentially surrounded by spaces. One or both of the href or imagesrcset + attributes must be present.

                If both the href and imagesrcset attributes are absent, then the element does not @@ -13568,21 +13584,23 @@ interface HTMLLinkElement : HTMLElement { attribute must reflect the as content attribute, limited to only known values.

                -

                The crossOrigin IDL attribute must - reflect the crossorigin content - attribute, limited to only known values.

                +

                The crossOrigin IDL attribute must reflect the + crossorigin content attribute, limited to only + known values.

                -

                The referrerPolicy IDL attribute must - reflect the referrerpolicy - content attribute, limited to only known values.

                +

                The referrerPolicy IDL attribute must + reflect the referrerpolicy content + attribute, limited to only known values.

                -

                The imageSrcset IDL attribute must - reflect the imagesrcset content - attribute.

                +

                The imageSrcset IDL attribute must reflect the + imagesrcset content attribute.

                -

                The imageSizes IDL attribute must - reflect the imagesizes content - attribute.

                +

                The imageSizes IDL attribute must reflect the + imagesizes content attribute.

                The relList IDL attribute must reflect the HTMLMetaElement : HTMLElement {

                The name and content IDL attributes must reflect the respective content attributes of the same name. The IDL - attribute httpEquiv must reflect - the content attribute http-equiv.

                + attribute httpEquiv must reflect the content attribute + http-equiv.

              @@ -19825,17 +19844,19 @@ interface HTMLAnchorElement : HTMLElement { data-x="dom-a-download">download, ping, target, rel, hreflang, and - type, must reflect the respective content - attributes of the same name.

              + data-x="dom-a-rel">rel
              , hreflang, and type, must reflect the respective content attributes + of the same name.

              The IDL attribute relList must reflect the rel content attribute.

              -

              The IDL attribute referrerPolicy must - reflect the referrerpolicy - content attribute, limited to only known values.

              +

              The IDL attribute referrerPolicy must reflect the referrerpolicy content attribute, limited to + only known values.

              The text attribute's getter must return this element's descendant text content.

              @@ -20474,13 +20495,13 @@ resulting from the campaign's mismanagement.</p> element must also contain the definition(s) for the term given by the dfn element.

              -

              Defining term: if the dfn element has a title attribute, then the exact value of that attribute - is the term being defined. Otherwise, if it contains exactly one element child node and no child - Text nodes, and that child element is an abbr element with a title attribute, then the exact value of that attribute - is the term being defined. Otherwise, it is the descendant text content of the - dfn element that gives the term being defined.

              +

              Defining term: if the dfn element has a title attribute, then the exact value of that + attribute is the term being defined. Otherwise, if it contains exactly one element child node and + no child Text nodes, and that child element is an abbr element with a + title attribute, then the exact value of that + attribute is the term being defined. Otherwise, it is the descendant text content of + the dfn element that gives the term being defined.

              @@ -21568,9 +21589,9 @@ interface HTMLTimeElement : HTMLElement { efficient approach might be to create a single algorithm that parses all these data types in one pass; developing such an algorithm is left as an exercise to the reader.

              -

              The dateTime IDL attribute must - reflect the element's datetime content - attribute.

              +

              The dateTime + IDL attribute must reflect the element's datetime content attribute.

            @@ -25814,9 +25835,9 @@ interface HTMLModElement : HTMLElement {

            The cite IDL attribute must reflect the element's cite content - attribute. The dateTime IDL attribute must - reflect the element's datetime content - attribute.

            + attribute. The dateTime IDL attribute must reflect the + element's datetime content attribute.

            @@ -26237,8 +26258,9 @@ interface HTMLSourceElement : HTMLElement { algorithm.

            The IDL attributes src, type, - srcset, src, type, srcset, sizes and media must reflect the respective content attributes of the same name.

            @@ -26626,9 +26648,10 @@ interface HTMLImageElement : HTMLElement {

            The isMap IDL attribute must reflect the ismap content attribute.

            -

            The referrerPolicy IDL attribute must - reflect the referrerpolicy - content attribute, limited to only known values.

            +

            The referrerPolicy IDL attribute must + reflect the referrerpolicy content + attribute, limited to only known values.

            The decoding IDL attribute must reflect the decoding @@ -30695,26 +30718,29 @@ interface HTMLIFrameElement : HTMLElement { values defined in the sandbox attribute and supported by the user agent.

            -

            The allowFullscreen IDL attribute - must reflect the allowfullscreen - content attribute.

            +

            The allowFullscreen IDL attribute must + reflect the allowfullscreen content + attribute.

            -

            The referrerPolicy IDL attribute - must reflect the referrerpolicy - content attribute, limited to only known values.

            +

            The referrerPolicy IDL attribute must + reflect the referrerpolicy content + attribute, limited to only known values.

            The loading IDL attribute must reflect the loading content attribute, limited to only known values.

            -

            The contentDocument IDL attribute, - on getting, must return the iframe element's content document.

            +

            The contentDocument IDL attribute, on getting, must + return the iframe element's content + document.

            -

            The contentWindow IDL attribute must - return the WindowProxy object of the iframe element's nested - browsing context, if its nested browsing context is non-null, or null - otherwise.

            +

            The contentWindow IDL attribute must return the + WindowProxy object of the iframe element's nested browsing + context, if its nested browsing context is non-null, or null otherwise.

@@ -31751,20 +31777,23 @@ interface HTMLObjectElement : HTMLElement {

The IDL attributes data, type - and name each must reflect the - respective content attributes of the same name. The data, type and name each must reflect the respective content + attributes of the same name. The useMap IDL attribute must reflect the usemap content attribute.

-

The contentDocument IDL attribute, - on getting, must return the object element's content document.

+

The contentDocument IDL attribute, on getting, must + return the object element's content + document.

-

The contentWindow IDL attribute must - return the WindowProxy object of the object element's nested - browsing context, if its nested browsing context is non-null; otherwise, it - must return null.

+

The contentWindow IDL attribute must return the + WindowProxy object of the object element's nested browsing + context, if its nested browsing context is non-null; otherwise, it must return + null.

The willValidate, validity, and HTMLVideoElement : HTMLMediaElement { the aspect ratio to the video data's dimensions to obtain the "correct" dimensions, then the user agent must apply the ratio by increasing one dimension and leaving the other unchanged.

-

The videoWidth IDL attribute must return - the intrinsic width of the video in The videoWidth IDL attribute must return the intrinsic width of the video in CSS pixels. The videoHeight IDL attribute must return the intrinsic height of the video in HTMLVideoElement : HTMLMediaElement { IDL attribute must reflect the poster content attribute.

-

The playsInline IDL attribute must - reflect the playsinline content - attribute.

+

The playsInline IDL attribute must reflect + the playsinline content attribute.

@@ -32398,8 +32428,9 @@ interface HTMLAudioElement : HTMLMediaElement {

A legacy factory function is provided for creating HTMLAudioElement objects (in addition to the factory methods from DOM such as createElement()): - Audio(src). When invoked, - the legacy factory function must perform the following steps:

+ Audio(src). When invoked, the legacy factory function + must perform the following steps:

  1. Let document be the current global object's HTMLTrackElement : HTMLElement {

    -

    The readyState attribute must return the - numeric value corresponding to the text track readiness state of the - track element's text track, as defined by the following list:

    +

    The readyState attribute must return the numeric value + corresponding to the text track readiness state of the track element's + text track, as defined by the following list:

    NONE (numeric value 0)
    @@ -32953,13 +32985,13 @@ interface MediaError { the error code, the message must be set to the empty string.

    -

    The code attribute of a - MediaError object must return this MediaError object's code.

    +

    The code + attribute of a MediaError object must return this MediaError object's + code.

    -

    The message attribute of a - MediaError object must return this MediaError object's message.

    +

    The message + attribute of a MediaError object must return this MediaError object's + message.

    @@ -32997,9 +33029,10 @@ interface MediaError { attribute on media elements must reflect the content attribute of the same name.

    -

    The crossOrigin IDL attribute must - reflect the crossorigin content - attribute, limited to only known values.

    +

    The crossOrigin IDL attribute must reflect + the crossorigin content attribute, limited to + only known values.

@@ -33036,14 +33069,16 @@ interface MediaError {
-

The currentSrc IDL attribute must initially be set to - the empty string. Its value is changed by the resource +

The currentSrc IDL attribute must initially be set to the + empty string. Its value is changed by the resource selection algorithm defined below.

-

The srcObject IDL attribute, on getting, - must return the element's assigned media provider object, if any, or null otherwise. - On setting, it must set the element's assigned media provider object to the new - value, and then invoke the element's media element load algorithm.

+

The srcObject IDL attribute, on getting, must return the + element's assigned media provider object, if any, or null otherwise. On setting, it + must set the element's assigned media provider object to the new value, and then + invoke the element's media element load algorithm.

@@ -33097,12 +33132,17 @@ interface MediaError {
-

The canPlayType(type) method must return the - empty string if type is a type that the user agent knows it cannot - render or is the type "application/octet-stream"; it must return "probably" if the user agent is confident - that the type represents a media resource that it can render if used in with this - audio or video element; and it must return "maybe" otherwise. Implementors are encouraged - to return "maybe" unless the type can be +

The canPlayType(type) method must return + the empty string if type is a type + that the user agent knows it cannot render or is the type + "application/octet-stream"; it must return "probably" if + the user agent is confident that the type represents a media resource that it can + render if used in with this audio or video element; and it must return + "maybe" otherwise. Implementors are encouraged to + return "maybe" unless the type can be confidently established as being supported or not. Generally, a user agent should never return "probably" for a type that allows the codecs parameter if that parameter is not present.

@@ -33161,8 +33201,9 @@ interface MediaError {

As media elements interact with the network, their current - network activity is represented by the networkState attribute. On getting, it must - return the current network state of the element, which must be one of the following values:

+ network activity is represented by the networkState attribute. On getting, it must return + the current network state of the element, which must be one of the following values:

@@ -34465,16 +34506,17 @@ interface MediaError { user agent is to show a poster frame for a video element instead of showing the video contents.

-

The currentTime attribute must, on - getting, return the media element's default playback start position, - unless that is zero, in which case it must return the element's official playback - position. The returned value must be expressed in seconds. On setting, if the media - element's readyState is The currentTime attribute must, on getting, return the + media element's default playback start position, unless that is zero, in + which case it must return the element's official playback position. The returned + value must be expressed in seconds. On setting, if the media element's readyState is HAVE_NOTHING, then it must set the media element's default playback start position to the new value; otherwise, it must set the official playback position to the new value and then seek to the new value. The new value must be interpreted as being in - seconds.

+ data-x="dom-media-seek">seek to the new value. The new value must be interpreted as being + in seconds.

If the media resource is a streaming resource, then the user agent might be unable to obtain certain parts of the resource after it has expired from its buffer. Similarly, some @@ -34560,7 +34602,8 @@ interface MediaError { media timeline, known as the timeline offset. Initially, the timeline offset must be set to Not-a-Number (NaN).

-

The getStartDate() method must return The getStartDate() method must return a new Date object representing the current timeline offset.

@@ -34835,9 +34878,10 @@ interface MediaError {
-

The readyState IDL attribute must, on - getting, return the value described above that describes the current ready state of the - media element.

+

The readyState IDL attribute must, on getting, return the + value described above that describes the current ready state of the media + element.

@@ -35119,18 +35163,20 @@ interface MediaError {
-

The defaultPlaybackRate attribute - gives the desired speed at which the media resource is to play, as a multiple of its - intrinsic speed. The attribute is mutable: on getting it must return the last value it was set to, - or 1.0 if it hasn't yet been set; on setting the attribute must be set to the new value.

+

The defaultPlaybackRate attribute gives the + desired speed at which the media resource is to play, as a multiple of its intrinsic + speed. The attribute is mutable: on getting it must return the last value it was set to, or 1.0 if + it hasn't yet been set; on setting the attribute must be set to the new value.

The defaultPlaybackRate is used by the user agent when it exposes a user interface to the user.

-

The playbackRate attribute gives the - effective playback rate, which is the speed at which the media resource plays, as a - multiple of its intrinsic speed. If it is not equal to the The playbackRate attribute gives the effective playback + rate, which is the speed at which the media resource plays, as a multiple of its + intrinsic speed. If it is not equal to the defaultPlaybackRate, then the implication is that the user is using a feature such as fast forward or slow motion playback. The attribute is mutable: on getting it must return the last value it was set to, or 1.0 if it hasn't yet been set; @@ -35671,7 +35717,8 @@ interface MediaError {

The seeking attribute must initially have the value false.

-

The fastSeek() method must The fastSeek() method must seek to the time given by the method's argument, with the approximate-for-speed flag set.

@@ -35846,15 +35893,15 @@ interface MediaError {
-

The audioTracks attribute of a - media element must return a live AudioTrackList object - representing the audio tracks available in the media element's media - resource.

+

The audioTracks attribute of a media element + must return a live AudioTrackList object representing the audio tracks + available in the media element's media resource.

-

The videoTracks attribute of a - media element must return a live VideoTrackList object - representing the video tracks available in the media element's media - resource.

+

The videoTracks attribute of a media element + must return a live VideoTrackList object representing the video tracks + available in the media element's media resource.

There are only ever one AudioTrackList object and one VideoTrackList object per media element, even if another media @@ -36013,8 +36060,9 @@ interface VideoTrack {

The AudioTrackList length and VideoTrackList - length attribute getters must return - the number of tracks represented by their objects at the time of getting.

+ length + attribute getters must return the number of tracks represented by their objects at the time of + getting.

The supported property indices of AudioTrackList and VideoTrackList objects at any instant are the numbers from zero to the number of @@ -36052,19 +36100,21 @@ interface VideoTrack { created, its selection state must be set to false (not selected). The resource fetch algorithm can override this.

-

The AudioTrack id and - VideoTrack id attributes must - return the identifier of the track, if it has one, or the empty string otherwise. If the - media resource is in a format that supports media fragment syntax, the - identifier returned for a particular track must be the same identifier that would enable the track - if used as the name of a track in the track dimension of such a The AudioTrack id and VideoTrack id attributes must return the + identifier of the track, if it has one, or the empty string otherwise. If the media + resource is in a format that supports media fragment syntax, the identifier + returned for a particular track must be the same identifier that would enable the track if used as + the name of a track in the track dimension of such a fragment.

For example, in Ogg files, this would be the Name header field of the track.

-

The AudioTrack kind and - VideoTrack kind attributes must - return the category of the track, if it has one, or the empty string otherwise.

+

The AudioTrack kind and VideoTrack kind attributes must return the + category of the track, if it has one, or the empty string otherwise.

The category of a track is the string given in the first column of the table below that is the most appropriate for the track based on the definitions in the table's second and third columns, @@ -36157,25 +36207,26 @@ interface VideoTrack {

-

The AudioTrack label and - VideoTrack label attributes - must return the label of the track, if it has one, or the empty string otherwise.

+

The AudioTrack label and VideoTrack label attributes must return the + label of the track, if it has one, or the empty string otherwise.

-

The AudioTrack language - and VideoTrack language - attributes must return the BCP 47 language tag of the language of the track, if it has one, or the - empty string otherwise. If the user agent is not able to express that language as a BCP 47 - language tag (for example because the language information in the media resource's - format is a free-form string without a defined interpretation), then the method must return the - empty string, as if the track had no language.

+

The AudioTrack language and VideoTrack language attributes must + return the BCP 47 language tag of the language of the track, if it has one, or the empty string + otherwise. If the user agent is not able to express that language as a BCP 47 language tag (for + example because the language information in the media resource's format is a + free-form string without a defined interpretation), then the method must return the empty string, + as if the track had no language.

-

The AudioTrack enabled - attribute, on getting, must return true if the track is currently enabled, and false otherwise. On - setting, it must enable the track if the new value is true, and disable it otherwise. (If the - track is no longer in an AudioTrackList object, then the track being enabled or - disabled has no effect beyond changing the value of the attribute on the AudioTrack - object.)

+

The AudioTrack enabled attribute, on getting, must return true if + the track is currently enabled, and false otherwise. On setting, it must enable the track if the + new value is true, and disable it otherwise. (If the track is no longer in an + AudioTrackList object, then the track being enabled or disabled has no effect beyond + changing the value of the attribute on the AudioTrack object.)

Whenever an audio track in an AudioTrackList that was disabled is enabled, and whenever one that was enabled is disabled, the user agent must @@ -36193,13 +36244,14 @@ interface VideoTrack { currently represent any tracks, or if none of the tracks are selected, it must instead return −1.

-

The VideoTrack selected - attribute, on getting, must return true if the track is currently selected, and false otherwise. - On setting, it must select the track if the new value is true, and unselect it otherwise. If the - track is in a VideoTrackList, then all the other VideoTrack objects in - that list must be unselected. (If the track is no longer in a VideoTrackList object, - then the track being selected or unselected has no effect beyond changing the value of the - attribute on the VideoTrack object.)

+

The VideoTrack selected attribute, on getting, must return true if + the track is currently selected, and false otherwise. On setting, it must select the track if the + new value is true, and unselect it otherwise. If the track is in a VideoTrackList, + then all the other VideoTrack objects in that list must be unselected. (If the track + is no longer in a VideoTrackList object, then the track being selected or unselected + has no effect beyond changing the value of the attribute on the VideoTrack + object.)

Whenever a track in a VideoTrackList that was previously not selected is selected, and whenever the selected track in a VideoTrackList is @@ -37150,15 +37202,17 @@ interface TextTrackList : EventTarget {

A TextTrackList object represents a dynamically updating list of text tracks in a given order.

-

The textTracks attribute of media elements must return a TextTrackList object - representing the TextTrack objects of the text tracks - in the media element's list of text tracks, in the same order as in the +

The textTracks attribute of media elements must return a TextTrackList object representing the + TextTrack objects of the text tracks in the + media element's list of text tracks, in the same order as in the list of text tracks.

-

The length attribute of a - TextTrackList object must return the number of text - tracks in the list represented by the TextTrackList object.

+

The length attribute of a TextTrackList + object must return the number of text tracks in the list + represented by the TextTrackList object.

The supported property indices of a TextTrackList object at any instant are the numbers from zero to the number of text tracks in @@ -37171,10 +37225,11 @@ interface TextTrackList : EventTarget { the indexth text track in the list represented by the TextTrackList object.

-

The getTrackById(id) method must return the first TextTrack in the - TextTrackList object whose id IDL attribute - would return a value equal to the value of the id argument. When no tracks - match the given argument, the method must return null.

+

The getTrackById(id) method must + return the first TextTrack in the TextTrackList object whose id IDL attribute would return a value equal to the value of the + id argument. When no tracks match the given argument, the method must return null.

@@ -37302,8 +37357,10 @@ interface TextTrack : EventTarget {
-

The addTextTrack(kind, label, language) method of media elements, when invoked, must run the following steps:

+

The addTextTrack(kind, label, + language) method of media elements, + when invoked, must run the following steps:

  1. @@ -37343,34 +37400,36 @@ interface TextTrack : EventTarget {
    -

    The kind attribute must return the - text track kind of the text track that the TextTrack object - represents.

    +

    The kind + attribute must return the text track kind of the text track that the + TextTrack object represents.

    -

    The label attribute must return the - text track label of the text track that the TextTrack - object represents.

    +

    The label + attribute must return the text track label of the text track that the + TextTrack object represents.

    -

    The language attribute must return the - text track language of the text track that the TextTrack - object represents.

    +

    The language + attribute must return the text track language of the text track that the + TextTrack object represents.

    -

    The id attribute returns the track's - identifier, if it has one, or the empty string otherwise. For tracks that correspond to - track elements, the track's identifier is the value of the element's id attribute, if any. For in-band tracks, the track's identifier is +

    The id attribute + returns the track's identifier, if it has one, or the empty string otherwise. For tracks that + correspond to track elements, the track's identifier is the value of the element's + id attribute, if any. For in-band tracks, the track's identifier is specified by the media resource. If the media resource is in a format - that supports media fragment syntax, the identifier returned for a particular - track must be the same identifier that would enable the track if used as the name of a track in - the track dimension of such a fragment.

    + that supports media fragment syntax, the identifier returned for a particular track + must be the same identifier that would enable the track if used as the name of a track in the + track dimension of such a fragment.

    -

    The inBandMetadataTrackDispatchType +

    The inBandMetadataTrackDispatchType attribute must return the text track in-band metadata track dispatch type of the text track that the TextTrack object represents.

    -

    The mode attribute, on getting, must return - the string corresponding to the text track mode of the text track that - the TextTrack object represents, as defined by the following list:

    +

    The mode + attribute, on getting, must return the string corresponding to the text track mode of + the text track that the TextTrack object represents, as defined by the + following list:

    "disabled"
    @@ -37410,13 +37469,14 @@ interface TextTrack : EventTarget {

    If the text track mode of the text track that the TextTrack object represents is not the text track disabled mode, then - the cues attribute must return a - live TextTrackCueList object that represents the subset of the - text track list of cues of the text track that the + the cues attribute + must return a live TextTrackCueList object that represents the subset of + the text track list of cues of the text track that the TextTrack object represents whose end times occur at or after the earliest possible position when the script - started, in text track cue order. Otherwise, it must return null. For each TextTrack object, when an - object is returned, the same TextTrackCueList object must be returned each time.

    + started, in text track cue order. Otherwise, it must return null. For each + TextTrack object, when an object is returned, the same TextTrackCueList + object must be returned each time.

    The earliest possible position when the script started is whatever the earliest possible position was the last time the event loop reached step @@ -37424,12 +37484,13 @@ interface TextTrack : EventTarget {

    If the text track mode of the text track that the TextTrack object represents is not the text track disabled mode, then - the activeCues attribute must return a - live TextTrackCueList object that represents the subset of the - text track list of cues of the text track that the + the activeCues + attribute must return a live TextTrackCueList object that represents the + subset of the text track list of cues of the text track that the TextTrack object represents whose active flag was set when the script - started, in text track cue order. Otherwise, it must return null. For each TextTrack object, when an - object is returned, the same TextTrackCueList object must be returned each time.

    + started, in text track cue order. Otherwise, it must return null. For each + TextTrack object, when an object is returned, the same TextTrackCueList + object must be returned each time.

    A text track cue's active flag was set when the script started if its text track cue active flag was set the last time the event loop reached @@ -37437,8 +37498,9 @@ interface TextTrack : EventTarget {


    -

    The addCue(cue) method - of TextTrack objects, when invoked, must run the following steps:

    +

    The addCue(cue) method of TextTrack + objects, when invoked, must run the following steps:

    1. If the text track list of cues does not yet have any associated rules @@ -37457,8 +37519,9 @@ interface TextTrack : EventTarget { text track list of cues.

    -

    The removeCue(cue) - method of TextTrack objects, when invoked, must run the following steps:

    +

    The removeCue(cue) method of + TextTrack objects, when invoked, must run the following steps:

    1. If the given cue is not in the TextTrack object's text @@ -37543,9 +37606,10 @@ interface TextTrackCueList {

      A TextTrackCueList object represents a dynamically updating list of text track cues in a given order.

      -

      The length attribute must return - the number of cues in the list represented by the - TextTrackCueList object.

      +

      The length attribute must return the number of cues in the list represented by the TextTrackCueList + object.

      The supported property indices of a TextTrackCueList object at any instant are the numbers from zero to the number of cues in the @@ -37557,10 +37621,12 @@ interface TextTrackCueList { given index index, the user agent must return the indexth text track cue in the list represented by the TextTrackCueList object.

      -

      The getCueById(id) method, when called with an argument other than the empty string, - must return the first text track cue in the list represented by the - TextTrackCueList object whose text track cue identifier is id, if any, or null otherwise. If the argument is the empty string, then the method - must return null.

      +

      The getCueById(id) method, when + called with an argument other than the empty string, must return the first text track + cue in the list represented by the TextTrackCueList object whose text + track cue identifier is id, if any, or null otherwise. If the argument is the + empty string, then the method must return null.

@@ -37615,28 +37681,31 @@ interface TextTrackCue : EventTarget {
-

The track attribute, on getting, must - return the TextTrack object of the text track in whose list of cues the text track cue that the - TextTrackCue object represents finds itself, if any; or null otherwise.

+

The track + attribute, on getting, must return the TextTrack object of the text + track in whose list of cues the text + track cue that the TextTrackCue object represents finds itself, if any; or + null otherwise.

-

The id attribute, on getting, must return - the text track cue identifier of the text track cue that the - TextTrackCue object represents. On setting, the text track cue - identifier must be set to the new value.

+

The id + attribute, on getting, must return the text track cue identifier of the text + track cue that the TextTrackCue object represents. On setting, the text + track cue identifier must be set to the new value.

-

The startTime attribute, on - getting, must return the text track cue start time of the text track cue - that the TextTrackCue object represents, in seconds. On setting, the text track - cue start time must be set to the new value, interpreted in seconds; then, if the +

The startTime attribute, on getting, must return the + text track cue start time of the text track cue that the + TextTrackCue object represents, in seconds. On setting, the text track cue + start time must be set to the new value, interpreted in seconds; then, if the TextTrackCue object's text track cue is in a text track's list of cues, and that text track is in a media element's list of text tracks, and the media element's show poster flag is not set, then run the time marches on steps for that media element.

-

The endTime attribute, on getting, - must return the text track cue end time of the text track cue that the +

The endTime attribute, on getting, must return the + text track cue end time of the text track cue that the TextTrackCue object represents, in seconds. On setting, the text track cue end time must be set to the new value, interpreted in seconds; then, if the TextTrackCue object's text track cue is in a text track's @@ -37645,11 +37714,12 @@ interface TextTrackCue : EventTarget { element's show poster flag is not set, then run the time marches on steps for that media element.

-

The pauseOnExit attribute, on - getting, must return true if the text track cue pause-on-exit flag of the text - track cue that the TextTrackCue object represents is set; or false otherwise. - On setting, the text track cue pause-on-exit flag must be set if the new value is - true, and must be unset otherwise.

+

The pauseOnExit attribute, on getting, must return + true if the text track cue pause-on-exit flag of the text track cue that + the TextTrackCue object represents is set; or false otherwise. On setting, the + text track cue pause-on-exit flag must be set if the new value is true, and must be + unset otherwise.

Event handlers for objects of the text track APIs
@@ -37924,8 +37994,9 @@ red:89
-

The defaultMuted IDL attribute must - reflect the muted content attribute.

+

The defaultMuted IDL attribute must reflect + the muted content attribute.

@@ -37986,16 +38057,18 @@ interface TimeRanges {
-

The length IDL attribute must return the - number of ranges represented by the object.

+

The length + IDL attribute must return the number of ranges represented by the object.

-

The start(index) - method must return the position of the start of the indexth range represented - by the object, in seconds measured from the start of the timeline that the object covers.

+

The start(index) method must return the position + of the start of the indexth range represented by the object, in seconds measured from + the start of the timeline that the object covers.

-

The end(index) method - must return the position of the end of the indexth range represented by the - object, in seconds measured from the start of the timeline that the object covers.

+

The end(index) method must return the position of + the end of the indexth range represented by the object, in seconds measured from the + start of the timeline that the object covers.

These methods must throw "IndexSizeError" DOMExceptions if called with an index argument greater than or equal to the number of ranges @@ -38058,8 +38131,9 @@ dictionary TrackEventInit : EventInit {

-

The track attribute must return the value - it was initialized to. It represents the context information for the event.

+

The track + attribute must return the value it was initialized to. It represents the context information for + the event.

@@ -38941,8 +39015,9 @@ interface HTMLAreaElement : HTMLElement { expressed user preference.

The IDL attributes alt, coords, - target, alt, coords, target, download, ping, and rel, each must reflect the respective content @@ -38956,9 +39031,10 @@ interface HTMLAreaElement : HTMLElement { data-x="dom-area-rellist">relList must reflect the rel content attribute.

-

The IDL attribute referrerPolicy must - reflect the referrerpolicy - content attribute, limited to only known values.

+

The IDL attribute referrerPolicy must reflect the referrerpolicy content attribute, limited to + only known values.

@@ -39319,8 +39395,9 @@ interface HTMLAreaElement : HTMLElement {
-

The getSVGDocument() method must run - the following steps:

+

The getSVGDocument() method must run the following + steps:

  1. Let document be this element's HTMLAreaElement : HTMLElement {

    Dimension attributes

    -

    Author requirements: The width and Author requirements: The width and height attributes on img, iframe, embed, object, video, and, when their type attribute is in the HTMLAreaElement : HTMLElement {

    The width and width and height IDL attributes on the iframe, embed, object, and video elements must reflect the respective content attributes of the same name.

    @@ -39669,59 +39748,68 @@ interface HTMLTableElement : HTMLElement { element child of the table element, if any, must be removed, and the new value, if not null, must be inserted as the first node of the table element.

    -

    The createCaption() method must return - the first caption element child of the table element, if any; otherwise - a new caption element must be table-created, inserted as the first node - of the table element, and then returned.

    - -

    The deleteCaption() method must remove - the first caption element child of the table element, if any.

    - -

    The tHead IDL attribute must return, on - getting, the first thead element child of the table element, if any, or - null otherwise. On setting, if the new value is null or a thead element, the first - thead element child of the table element, if any, must be removed, and - the new value, if not null, must be inserted immediately before the first element in the - table element that is neither a caption element nor a - colgroup element, if any, or at the end of the table if there are no such elements. - If the new value is neither null nor a thead element, then a +

    The createCaption() method must return the first + caption element child of the table element, if any; otherwise a new + caption element must be table-created, inserted as the first node of the + table element, and then returned.

    + +

    The deleteCaption() method must remove the first + caption element child of the table element, if any.

    + +

    The tHead IDL + attribute must return, on getting, the first thead element child of the + table element, if any, or null otherwise. On setting, if the new value is null or a + thead element, the first thead element child of the table + element, if any, must be removed, and the new value, if not null, must be inserted immediately + before the first element in the table element that is neither a caption + element nor a colgroup element, if any, or at the end of the table if there are no + such elements. If the new value is neither null nor a thead element, then a "HierarchyRequestError" DOMException must be thrown instead.

    -

    The createTHead() method must return the - first thead element child of the table element, if any; otherwise a new +

    The createTHead() method must return the first + thead element child of the table element, if any; otherwise a new thead element must be table-created and inserted immediately before the first element in the table element that is neither a caption element nor a colgroup element, if any, or at the end of the table if there are no such elements, and then that new element must be returned.

    -

    The deleteTHead() method must remove the - first thead element child of the table element, if any.

    +

    The deleteTHead() method must remove the first + thead element child of the table element, if any.

    -

    The tFoot IDL attribute must return, on - getting, the first tfoot element child of the table element, if any, or - null otherwise. On setting, if the new value is null or a tfoot element, the first - tfoot element child of the table element, if any, must be removed, and - the new value, if not null, must be inserted at the end of the table. If the new value is neither - null nor a tfoot element, then a "HierarchyRequestError" - DOMException must be thrown instead.

    +

    The tFoot IDL + attribute must return, on getting, the first tfoot element child of the + table element, if any, or null otherwise. On setting, if the new value is null or a + tfoot element, the first tfoot element child of the table + element, if any, must be removed, and the new value, if not null, must be inserted at the end of + the table. If the new value is neither null nor a tfoot element, then a + "HierarchyRequestError" DOMException must be thrown + instead.

    -

    The createTFoot() method must return the - first tfoot element child of the table element, if any; otherwise a new +

    The createTFoot() method must return the first + tfoot element child of the table element, if any; otherwise a new tfoot element must be table-created and inserted at the end of the table, and then that new element must be returned.

    -

    The deleteTFoot() method must remove the - first tfoot element child of the table element, if any.

    +

    The deleteTFoot() method must remove the first + tfoot element child of the table element, if any.

    -

    The tBodies attribute must return an - HTMLCollection rooted at the table node, whose filter matches only - tbody elements that are children of the table element.

    +

    The tBodies + attribute must return an HTMLCollection rooted at the table node, whose + filter matches only tbody elements that are children of the table + element.

    -

    The createTBody() method must - table-create a new tbody element, insert it - immediately after the last tbody element child in the table element, if - any, or at the end of the table element if the table element has no +

    The createTBody() method must table-create a new tbody element, insert it immediately + after the last tbody element child in the table element, if any, or at + the end of the table element if the table element has no tbody element children, and then must return the new tbody element.

    The rows @@ -39734,9 +39822,11 @@ interface HTMLTableElement : HTMLElement { or tbody element, again in tree order, followed finally by those elements whose parent is a tfoot element, still in tree order.

    -

    The behavior of the insertRow(index) method depends on the state of the table. When it is called, - the method must act as required by the first item in the following list of conditions that - describes the state of the table and the index argument:

    +

    The behavior of the insertRow(index) method depends on the state + of the table. When it is called, the method must act as required by the first item in the + following list of conditions that describes the state of the table and the index + argument:

    @@ -39777,8 +39867,9 @@ interface HTMLTableElement : HTMLElement { newly created tr element.
    -

    When the deleteRow(index) method is called, the user agent must run the following - steps:

    +

    When the deleteRow(index) method is called, the user + agent must run the following steps:

    1. If index is less than −1 or greater than or equal to the number of @@ -40353,8 +40444,9 @@ interface HTMLTableSectionElement : HTMLElement { rooted at this element, whose filter matches only tr elements that are children of this element.

      -

      The insertRow(index) - method must act as follows:

      +

      The insertRow(index) method must act as + follows:

      1. If index is less than −1 or greater than the number of elements in the @@ -40376,8 +40468,9 @@ interface HTMLTableSectionElement : HTMLElement {

      2. Return table row.

      -

      The deleteRow(index) method - must, when invoked, act as follows: +

      The deleteRow(index) method must, when invoked, + act as follows:

      1. If index is less than −1 or greater than or equal to the number of @@ -40608,19 +40701,21 @@ interface HTMLTableRowElement : HTMLElement {

        -

        The rowIndex attribute must, if this element has - a parent table element, or a parent tbody, thead, or +

        The rowIndex attribute must, if this element has a parent + table element, or a parent tbody, thead, or tfoot element and a grandparent table element, return the index of this tr element in that table element's rows collection. If there is no such table element, then the attribute must return −1.

        -

        The sectionRowIndex attribute must, if - this element has a parent table, tbody, thead, or - tfoot element, return the index of the tr element in the parent - element's rows collection (for tables, that's - HTMLTableElement's rows collection; for table - sections, that's HTMLTableSectionElement's rows +

        The sectionRowIndex attribute must, if this element has a + parent table, tbody, thead, or tfoot element, + return the index of the tr element in the parent element's rows collection (for tables, that's HTMLTableElement's rows collection; for table sections, that's + HTMLTableSectionElement's rows collection). If there is no such parent element, then the attribute must return −1.

        The cells @@ -40628,8 +40723,9 @@ interface HTMLTableRowElement : HTMLElement { filter matches only td and th elements that are children of the tr element.

        -

        The insertCell(index) - method must act as follows:

        +

        The insertCell(index) method must act as + follows:

        1. If index is less than −1 or greater than the number of elements in @@ -40652,8 +40748,9 @@ interface HTMLTableRowElement : HTMLElement {

        2. Return table cell.

        -

        The deleteCell(index) - method must act as follows:

        +

        The deleteCell(index) method must act as + follows:

        1. If index is less than −1 or greater than or equal to the number of @@ -40981,22 +41078,25 @@ interface HTMLTableCellElement : HTMLElement { -

          The colSpan IDL attribute must - reflect the colspan content attribute. It is - clamped to the range [1, 1000], and its default value is 1.

          +

          The colSpan IDL attribute must reflect the colspan content attribute. It is clamped to the + range [1, 1000], and its default value is 1.

          -

          The rowSpan IDL attribute must - reflect the rowspan content attribute. It is - clamped to the range [0, 65534], and its default value is 1.

          +

          The rowSpan IDL attribute must reflect the rowspan content attribute. It is clamped to the + range [0, 65534], and its default value is 1.

          The headers IDL attribute must reflect the content attribute of the same name.

          -

          The cellIndex IDL attribute must, if the - element has a parent tr element, return the index of the cell's element in the parent - element's cells collection. If there is no such parent element, - then the attribute must return −1.

          +

          The cellIndex IDL attribute must, if the element has a parent + tr element, return the index of the cell's element in the parent element's cells collection. If there is no such parent element, then the + attribute must return −1.

          The scope IDL attribute must reflect the content attribute of the same name, limited to @@ -42908,15 +43008,16 @@ interface HTMLFormElement : HTMLElement { the content attribute of the same name, limited to only known values.

          The name and - rel IDL attributes must reflect the - content attribute of the same name.

          + rel IDL attributes + must reflect the content attribute of the same name.

          -

          The acceptCharset IDL attribute must - reflect the accept-charset content - attribute.

          +

          The acceptCharset IDL attribute must reflect + the accept-charset content attribute.

          -

          The relList IDL attribute must - reflect the rel content attribute.

          +

          The relList + IDL attribute must reflect the rel content + attribute.


          @@ -43086,8 +43187,9 @@ interface HTMLFormElement : HTMLElement { element from the form element itself, with the submitted from submit() method flag set.

          -

          The requestSubmit(submitter) - method, when invoked, must run the following steps:

          +

          The requestSubmit(submitter) method, when + invoked, must run the following steps:

          1. @@ -43121,15 +43223,17 @@ interface HTMLFormElement : HTMLElement {
          2. Unmark the form element as locked for reset.

          -

          If the checkValidity() method is - invoked, the user agent must statically validate the constraints of the - form element, and return true if the constraint validation return a positive - result, and false if it returned a negative result.

          +

          If the checkValidity() method is invoked, the user agent + must statically validate the constraints of the form element, and return + true if the constraint validation return a positive result, and false if it returned a + negative result.

          -

          If the reportValidity() method is - invoked, the user agent must interactively validate the constraints of the - form element, and return true if the constraint validation return a positive - result, and false if it returned a negative result.

          +

          If the reportValidity() method is invoked, the user agent + must interactively validate the constraints of the form element, and + return true if the constraint validation return a positive result, and false if it returned + a negative result.

        @@ -43283,8 +43387,9 @@ interface HTMLLabelElement : HTMLElement {
        -

        The htmlFor IDL attribute must - reflect the for content attribute.

        +

        The htmlFor + IDL attribute must reflect the for content + attribute.

        The control IDL attribute must return the label element's labeled control, if any, @@ -43329,7 +43434,8 @@ interface HTMLLabelElement : HTMLElement {

        Labelable elements and all input elements have a live NodeList object associated with them that represents the list of label elements, in tree order, whose labeled - control is the element in question. The is the element in question. The labels IDL attribute of labelable elements that are not form-associated custom elements, and the HTMLInputElement : HTMLElement { attribute for="HTMLInputElement">size, src, and step IDL attributes must - reflect the respective content attributes of the same name. The dirName IDL attribute must reflect the dirname content attribute. The readOnly IDL attribute must reflect the - readonly content attribute. The reflect the respective content attributes of the same name. The dirName IDL attribute must + reflect the dirname content attribute. The readOnly IDL + attribute must reflect the readonly content + attribute. The defaultChecked IDL attribute must reflect the checked content attribute. The - defaultValue IDL attribute must - reflect the value content attribute.

        + defaultValue IDL attribute must reflect + the value content attribute.

        The type IDL attribute must reflect the respective content attribute of the same name, limited to only known values. The maxLength IDL attribute must reflect the maxlength content attribute, limited to only - non-negative numbers. The minLength - IDL attribute must reflect the minlength - content attribute, limited to only non-negative numbers.

        + non-negative numbers. The minLength IDL attribute must reflect the + minlength content attribute, limited to only + non-negative numbers.

        The IDL attributes width and


        -

        The valueAsDate IDL attribute represents - the value of the element, interpreted as a date.

        +

        The valueAsDate IDL attribute represents the value of the element, interpreted as a date.

        On getting, if the valueAsDate attribute does not apply, as defined for the input element's


        -

        The valueAsNumber IDL attribute - represents the value of the element, interpreted as a - number.

        +

        The valueAsNumber IDL attribute represents the value of the element, interpreted as a number.

        On getting, if the valueAsNumber attribute does not apply, as defined for the input element's


        -

        The stepDown(n) and stepUp(n) methods, when invoked, - must run the following algorithm:

        +

        The stepDown(n) and stepUp(n) methods, + when invoked, must run the following algorithm:

        1. If the stepDown() and HTMLSelectElement : HTMLElement { by the method of the same name on the options collection, when invoked with the same argument.

          -

          The namedItem(name) - method must return the value returned by the - method of the same name on the options collection, - when invoked with the same argument.

          +

          The namedItem(name) method must return the value + returned by the method of the same name on the + options collection, when invoked with the same + argument.

          When the user agent is to set the value of a new indexed property or set the value of an existing indexed property for a @@ -50263,17 +50376,18 @@ interface HTMLSelectElement : HTMLElement { method on the ChildNode interface implemented by the HTMLSelectElement ancestor interface Element when it has no arguments.

          -

          The selectedOptions IDL attribute - must return an HTMLCollection rooted at the select node, whose filter - matches the elements in the list of options that - have their selectedness set to true.

          +

          The selectedOptions IDL attribute must return an + HTMLCollection rooted at the select node, whose filter matches the + elements in the list of options that have their + selectedness set to true.

          -

          The selectedIndex IDL attribute, on - getting, must return the index of the first - option element in the list of - options in tree order that has its selectedness set to true, if any. If there isn't one, - then it must return −1.

          +

          The selectedIndex IDL attribute, on getting, must + return the index of the first option + element in the list of options in tree + order that has its selectedness set to + true, if any. If there isn't one, then it must return −1.

          On setting, the selectedIndex attribute must set the selectedness of all the option @@ -50848,10 +50962,10 @@ interface HTMLOptionElement : HTMLElement {

          A legacy factory function is provided for creating HTMLOptionElement objects (in addition to the factory methods from DOM such as createElement()): Option(text, value, defaultSelected, - selected). When invoked, the legacy factory function must perform the - following steps:

          + data-x="dom-Document-createElement">createElement()
          ): Option(text, value, + defaultSelected, selected). When invoked, the legacy factory + function must perform the following steps:

          1. Let document be the current global object's HTMLTextAreaElement : HTMLElement {

            The cols, placeholder, required, rows, and wrap IDL attributes must reflect the - respective content attributes of the same name. The cols - and rows attributes are limited to only non-negative - numbers greater than zero with fallback. The cols - IDL attribute's default value is 20. The rows IDL - attribute's default value is 2. The dirName - IDL attribute must reflect the dirname content - attribute. The maxLength IDL attribute - must reflect the maxlength content - attribute, limited to only non-negative numbers. The placeholder, required, rows, and wrap IDL + attributes must reflect the respective content attributes of the same name. The cols and rows attributes + are limited to only non-negative numbers greater than zero with fallback. The cols IDL attribute's default value is 20. The rows IDL attribute's default value is 2. The dirName IDL attribute + must reflect the dirname content attribute. The + maxLength IDL attribute must reflect the + maxlength content attribute, limited to only + non-negative numbers. The minLength IDL attribute must reflect the minlength content attribute, limited to only - non-negative numbers. The readOnly - IDL attribute must reflect the readonly - content attribute.

            + non-negative numbers. The readOnly IDL attribute must reflect the + readonly content attribute.

            The type IDL attribute must return the value "textarea".

            -

            The defaultValue attribute's getter - must return the element's child text content. +

            The defaultValue attribute's getter must return the + element's child text content.

            The defaultValue attribute's setter must string replace all with the given value within this element.

            @@ -51318,9 +51435,9 @@ interface HTMLTextAreaElement : HTMLElement { data-x="">none
            ".

          -

          The textLength IDL attribute must - return the length of the element's API - value.

          +

          The textLength IDL attribute must return the + length of the element's API value.

          The willValidate, validity, and HTMLOutputElement : HTMLElement {

        2. String replace all with the given value within this element.

        -

        The defaultValue attribute's getter - must return the result of running this element's default value.

        +

        The defaultValue attribute's getter must return the + result of running this element's default + value.

        The defaultValue attribute's setter must run these steps:

        @@ -51544,8 +51662,9 @@ interface HTMLOutputElement : HTMLElement {

        The type attribute's getter must return "output".

        -

        The htmlFor IDL attribute must - reflect the for content attribute.

        +

        The htmlFor IDL attribute must reflect the for content attribute.

        The willValidate, validity, and HTMLProgressElement : HTMLElement {

        -

        If the progress bar is an indeterminate progress bar, then the position IDL attribute must return −1. - Otherwise, it must return the result of dividing the If the progress bar is an indeterminate progress bar, then the position IDL attribute + must return −1. Otherwise, it must return the result of dividing the current value by the maximum value.

        -

        If the progress bar is an indeterminate progress bar, then the value IDL attribute, on getting, must return 0. - Otherwise, it must return the current value. On - setting, the given value must be converted to the best representation of the number as a - floating-point number and then the value content - attribute must be set to that string.

        +

        If the progress bar is an indeterminate progress bar, then the value IDL attribute, on + getting, must return 0. Otherwise, it must return the current value. On setting, the given value must be + converted to the best representation of the number as a floating-point number and + then the value content attribute must be set to that + string.

        Setting the value IDL attribute to itself when the corresponding content attribute is absent would change the progress bar from an @@ -52479,7 +52599,8 @@ interface HTMLLegendElement : HTMLElement {

        A form-associated element is, by default, associated with its nearest ancestor form element (as described - below), but, if it is listed, may have a , but, if it is listed, may have a form attribute specified to override this.

        This feature allows authors to work around the lack of support for nested @@ -53033,9 +53154,9 @@ form.method === input; // => true


        The target and - formtarget content attributes, if specified, - must have values that are valid browsing - context names or keywords.

        + formtarget + content attributes, if specified, must have values that are valid browsing context names or keywords.


        @@ -53085,22 +53206,25 @@ form.method === input; // => true
        known values. The encoding IDL attribute must reflect the enctype content attribute, limited to only known - values. The noValidate IDL attribute - must reflect the novalidate content - attribute. The formAction IDL attribute must - reflect the formaction content attribute, - except that on getting, when the content attribute is missing or its value is the empty string, - the element's node document's URL must be - returned instead. The formEnctype IDL - attribute must reflect the formenctype - content attribute, limited to only known values. The . The noValidate IDL attribute must reflect the + novalidate content attribute. The formAction IDL attribute + must reflect the formaction content + attribute, except that on getting, when the content attribute is missing or its value is the empty + string, the element's node document's URL + must be returned instead. The formEnctype IDL attribute must reflect the + formenctype content attribute, limited to only + known values. The formMethod IDL attribute must reflect the formmethod content attribute, limited to only known - values. The formNoValidate IDL - attribute must reflect the formnovalidate content attribute. The formTarget IDL attribute must reflect the - formtarget content attribute. + values. The formNoValidate IDL attribute must reflect + the formnovalidate content attribute. The formTarget IDL + attribute must reflect the formtarget + content attribute.
        @@ -54850,8 +54974,9 @@ MIT Room 32-G524
      2. Set the selection range with 0 and infinity.

      -

      The selectionStart - attribute's getter must run the following steps:

      +

      The selectionStart attribute's getter must run + the following steps:

      1. If this element is an input element, and

      -

      The selectionEnd attribute's - getter must run the following steps:

      +

      The selectionEnd attribute's getter must run the + following steps:

      1. If this element is an input element, and selectionDirection attribute.

      -

      The selectionDirection - attribute's getter must run the following steps:

      +

      The selectionDirection attribute's getter + must run the following steps:

      1. If this element is an input element, and -

        The setRangeText(replacement, - start, end, selectMode) method, when invoked, must - run the following steps:

        +

        The setRangeText(replacement, start, + end, selectMode) method, when invoked, must run the following + steps:

        1. If this element is an input element, and -

          The willValidate attribute's getter must - return true, if this element is a candidate for constraint validation, and false - otherwise (i.e., false if any conditions are barring it from constraint validation).

          +

          The willValidate attribute's getter must return true, if + this element is a candidate for constraint validation, and false otherwise (i.e., + false if any conditions are barring it from + constraint validation).

          -

          The willValidate attribute - of ElementInternals interface, on getting, must throw a - "NotSupportedError" DOMException if the - target element is not a - form-associated custom element. Otherwise, it must return true if the - target element is a - candidate for constraint validation, and false otherwise.

          +

          The willValidate attribute of + ElementInternals interface, on getting, must throw a + "NotSupportedError" DOMException if the target element is not a form-associated custom + element. Otherwise, it must return true if the target + element is a candidate for constraint validation, and false otherwise.

          -

          The The setCustomValidity(message) method, when invoked, must set the custom validity error message to message.

          @@ -55585,13 +55716,14 @@ control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldD ValidityState object that represents the validity states of this element. This object is live.

          -

          The validity attribute of +

          The validity attribute of ElementInternals interface, on getting, must throw a - "NotSupportedError" DOMException if the - target element is not a - form-associated custom element. Otherwise, it must return a - ValidityState object that represents the validity states of the - target element. This object is live.

          + "NotSupportedError" DOMException if the target element is not a form-associated custom + element. Otherwise, it must return a ValidityState object that represents the + validity states of the target element. This + object is live.

          [Exposed=Window]
           interface ValidityState {
          @@ -55665,11 +55797,14 @@ interface ValidityState {
              
        2. Return true.

        -

        The checkValidity() method, when - invoked, must run the check validity steps on this element.

        +

        The checkValidity() method, when invoked, must run the + check validity steps on this element.

        -

        The checkValidity() method - of the ElementInternals interface must run these steps:

        +

        The checkValidity() method of the + ElementInternals interface must run these steps:

        1. Let element be this ElementInternals's ValidityState {

        2. Return true.

        -

        The reportValidity() method, when - invoked, must run the report validity steps on this element.

        +

        The reportValidity() method, when invoked, must run the + report validity steps on this element.

        -

        The reportValidity() - method of the ElementInternals interface must run these steps:

        +

        The reportValidity() method of the + ElementInternals interface must run these steps:

        1. Let element be this ElementInternals's ValidityState {

        2. Run the report validity steps on element.

        -

        The validationMessage attribute's - getter must run these steps:

        +

        The validationMessage attribute's getter must run + these steps:

        1. If this element is not a candidate for constraint validation or if this @@ -56634,8 +56774,9 @@ dictionary SubmitEventInit : EventInit {

          -

          The submitter attribute must return - the value it was initialized to.

          +

          The submitter attribute must return the value it was + initialized to.

          @@ -56665,9 +56806,11 @@ dictionary FormDataEventInit : EventInit {
          -

          The formData attribute must return the value it was - initialized to. It represents a FormData object associated to the entry list that is constructed when the form is submitted.

          +

          The formData attribute must return the value it was + initialized to. It represents a FormData object associated to the entry list that is + constructed when the form is + submitted.

          Resetting a form

          @@ -57321,8 +57464,9 @@ interface HTMLDialogElement : HTMLElement {
        2. Run the dialog focusing steps for the dialog element.

        -

        When the showModal() method is invoked, - the user agent must run the following steps:

        +

        When the showModal() method is invoked, the user agent must run + the following steps:

        1. Let subject be the dialog element on which the method was @@ -57433,9 +57577,10 @@ interface HTMLDialogElement : HTMLElement { close at subject.

        -

        The returnValue IDL attribute, on - getting, must return the last value to which it was set. On setting, it must be set to the new - value. When the element is created, it must be set to the empty string.

        +

        The returnValue IDL attribute, on getting, must return + the last value to which it was set. On setting, it must be set to the new value. When the element + is created, it must be set to the empty string.


        @@ -57643,9 +57788,9 @@ interface HTMLScriptElement : HTMLElement { data-x="module script">module scripts (and will be ignored if it is).

        The async and - defer attributes are boolean attributes that indicate how the script should be evaluated. Classic scripts may specify defer attributes are + boolean attributes that indicate how the script should be + evaluated. Classic scripts may specify defer or async, but must not specify either unless the src attribute is present. Module scripts may specify the HTMLScriptElement : HTMLElement {

        The IDL attributes src, type, - defer, and src, type, defer, and integrity, must each reflect the respective content attributes of the same name.

        -

        The referrerPolicy IDL attribute must +

        The referrerPolicy IDL attribute must reflect the referrerpolicy content attribute, limited to only known values.

        -

        The crossOrigin IDL attribute must - reflect the crossorigin content - attribute, limited to only known values.

        +

        The crossOrigin IDL attribute must reflect + the crossorigin content attribute, limited to + only known values.

        -

        The noModule IDL attribute must - reflect the nomodule content - attribute.

        +

        The noModule IDL attribute must reflect the + nomodule content attribute.

        The async IDL attribute controls whether the element will execute asynchronously or not. If the element's @@ -59454,14 +59602,15 @@ callback BlobCallback = undefined (Blob? blob);

        The canvas element has two attributes to control the size of the element's bitmap: - width and height. These attributes, when specified, must have - values that are valid non-negative integers. - The rules for parsing non-negative integers must be used to obtain their numeric values. If an attribute is missing, or - if parsing its value returns an error, then the default value must be used instead. The - width attribute defaults to 300, and the height attribute defaults to 150.

        + width and height. These attributes, + when specified, must have values that are valid + non-negative integers. The rules for parsing non-negative + integers must be used to obtain their numeric + values. If an attribute is missing, or if parsing its value returns an error, then the + default value must be used instead. The width + attribute defaults to 300, and the height attribute + defaults to 150.

        When setting the value of the width or height attribute, if the BlobCallback = undefined (Blob? blob); -

        The getContext(contextId, - options) method of the canvas element, when invoked, must run - these steps: +

        The getContext(contextId, options) + method of the canvas element, when invoked, must run these steps:

        1. If options is not an object, then set @@ -59770,8 +59919,9 @@ callback BlobCallback = undefined (Blob? blob); -

          The toDataURL(type, - quality) method, when invoked, must run these steps:

          +

          The toDataURL(type, quality) method, + when invoked, must run these steps:

            @@ -59799,7 +59949,8 @@ callback BlobCallback = undefined (Blob? blob);
          -

          The toBlob(callback, type, +

          The toBlob(callback, type, quality) method, when invoked, must run these steps:

            @@ -60296,7 +60447,8 @@ interface Path2D { data-x="dom-CanvasRenderingContext2DSettings-alpha">alpha.

          1. Set context's desynchronized to settings's desynchronized to settings's desynchronized.

          2. Return context.

          3. @@ -60353,8 +60505,9 @@ context.fillRect(100,0,50,50); // only this square remains

            The CanvasFillRule enumeration is used to select the fill rule algorithm by which to determine if a point is inside or outside a path.

            -

            The value "nonzero" value - indicates the nonzero winding rule, wherein +

            The value "nonzero" value indicates the nonzero winding + rule, wherein a point is considered to be outside a shape if the number of times a half-infinite straight line drawn from that point crosses the shape's path going in one direction is equal to the @@ -60363,8 +60516,9 @@ context.fillRect(100,0,50,50); // only this square remains

            -

            The "evenodd" value indicates - the even-odd rule, wherein +

            The "evenodd" value indicates the even-odd rule, + wherein a point is considered to be outside a shape if the number of times a half-infinite straight line drawn from that point crosses the shape's path is even. @@ -60379,16 +60533,19 @@ context.fillRect(100,0,50,50); // only this square remains

            The ImageSmoothingQuality enumeration is used to express a preference for the interpolation quality to use when smoothing images.

            -

            The "low" value - indicates a preference for a low level of image interpolation quality. Low-quality image - interpolation may be more computationally efficient than higher settings.

            +

            The "low" value indicates a preference + for a low level of image interpolation quality. Low-quality image interpolation may be more + computationally efficient than higher settings.

            -

            The "medium" value - indicates a preference for a medium level of image interpolation quality.

            +

            The "medium" value indicates a + preference for a medium level of image interpolation quality.

            -

            The "high" value - indicates a preference for a high level of image interpolation quality. High-quality image - interpolation may be more computationally expensive than lower settings.

            +

            The "high" value indicates a preference + for a high level of image interpolation quality. High-quality image interpolation may be more + computationally expensive than lower settings.

            Bilinear scaling is an example of a relatively fast, lower-quality image-smoothing algorithm. Bicubic or Lanczos scaling are examples of image-smoothing algorithms that produce @@ -60585,10 +60742,11 @@ idea from Mihai:

            Objects that implement the CanvasPathDrawingStyles interface have attributes and methods (defined in this section) that control how lines are treated by the object.

            -

            The lineWidth attribute gives the - width of lines, in coordinate space units. On getting, it must return the current value. On - setting, zero, negative, infinite, and NaN values must be ignored, leaving the value unchanged; - other values must change the current value to the new value.

            +

            The lineWidth attribute gives the width of lines, in + coordinate space units. On getting, it must return the current value. On setting, zero, negative, + infinite, and NaN values must be ignored, leaving the value unchanged; other values must change + the current value to the new value.

            When the object implementing the CanvasPathDrawingStyles interface is created, the lineWidth attribute must initially have the value @@ -60596,10 +60754,10 @@ idea from Mihai:


            -

            The lineCap attribute defines the type - of endings that UAs will place on the end of lines. The three valid values are "butt", "round", and "square".

            +

            The lineCap attribute defines the type of endings that + UAs will place on the end of lines. The three valid values are "butt", + "round", and "square".

            On getting, it must return the current value. On setting, the current value must be changed to the new value.

            @@ -60610,9 +60768,10 @@ idea from Mihai:
            -

            The lineJoin attribute defines the type - of corners that UAs will place where two lines meet. The three valid values are - "bevel", "round", and "miter".

            +

            The lineJoin attribute defines the type of corners that + UAs will place where two lines meet. The three valid values are "bevel", + "round", and "miter".

            On getting, it must return the current value. On setting, the current value must be changed to the new value.

            @@ -60625,10 +60784,11 @@ idea from Mihai:

            When the lineJoin attribute has the value "miter", strokes use the miter limit ratio to decide how to render joins. The - miter limit ratio can be explicitly set using the miterLimit attribute. On getting, it must return - the current value. On setting, zero, negative, infinite, and NaN values must be ignored, leaving - the value unchanged; other values must change the current value to the new value.

            + miter limit ratio can be explicitly set using the miterLimit + attribute. On getting, it must return the current value. On setting, zero, negative, infinite, and + NaN values must be ignored, leaving the value unchanged; other values must change the current + value to the new value.

            @@ -60642,8 +60802,9 @@ idea from Mihai: empty or consists of an even number of non-negative numbers. Initially, the dash list must be empty.

            -

            The setLineDash() method, when - invoked, must run these steps:

            +

            The setLineDash() method, when invoked, must run + these steps:

            1. Let a be the argument.

            2. @@ -60659,9 +60820,10 @@ idea from Mihai:
            3. Let the object's dash list be a.

            -

            When the getLineDash() method is - invoked, it must return a sequence whose values are the values of the object's dash - list, in the same order.

            +

            When the getLineDash() method is invoked, it must return a + sequence whose values are the values of the object's dash list, in the same + order.

            It is sometimes useful to change the "phase" of the dash pattern, e.g. to achieve a "marching ants" effect. The phase can be set using the rendered), then the relative keywords must be interpreted relative to the normal-weight 10px sans-serif default.

            -

            The textAlign IDL attribute, on - getting, must return the current value. On setting, the current value must be changed to the new - value. When the object implementing the CanvasTextDrawingStyles interface is - created, the textAlign attribute must initially - have the value start.

            +

            The textAlign IDL attribute, on getting, must return + the current value. On setting, the current value must be changed to the new value. When the object + implementing the CanvasTextDrawingStyles interface is created, the textAlign attribute must initially have the value start.

            -

            The textBaseline IDL attribute, on - getting, must return the current value. On setting, the current value must be changed to the new - value. When the object implementing the CanvasTextDrawingStyles interface is - created, the textBaseline attribute must - initially have the value alphabetic.

            +

            The textBaseline IDL attribute, on getting, must + return the current value. On setting, the current value must be changed to the new value. When the + object implementing the CanvasTextDrawingStyles interface is created, the textBaseline attribute must initially have the value + alphabetic.

            The direction IDL attribute, on getting, must return @@ -61781,8 +61945,8 @@ try { data-x="dom-context-2d-transformation">current transformation matrix before being added to the path.

            -

            The moveTo(x, y) - method, when invoked, must run these steps:

            +

            The moveTo(x, + y) method, when invoked, must run these steps:

            1. If either of the arguments are infinite or NaN, then return.

            2. @@ -61799,10 +61963,11 @@ try { subpath flag.

              -

              The closePath() method, when invoked, - must do nothing if the object's path has no subpaths. Otherwise, it must mark the last subpath as - closed, create a new subpath whose first point is the same as the previous subpath's first point, - and finally add this new subpath to the path.

              +

              The closePath() method, when invoked, must do nothing + if the object's path has no subpaths. Otherwise, it must mark the last subpath as closed, create a + new subpath whose first point is the same as the previous subpath's first point, and finally add + this new subpath to the path.

              If the last subpath had more than one point in its list of points, then this is equivalent to adding a straight line connecting the last point back to the first point of the last @@ -61813,8 +61978,8 @@ try {

              New points and the lines connecting them are added to subpaths using the methods described below. In all cases, the methods only modify the last subpath in the object's path.

              -

              The lineTo(x, y) - method, when invoked, must run these steps:

              +

              The lineTo(x, + y) method, when invoked, must run these steps:

              1. If either of the arguments are infinite or NaN, then return.

              2. @@ -61827,9 +61992,9 @@ try { the subpath.

              -

              The quadraticCurveTo(cpx, - cpy, x, y) method, when invoked, must run these - steps:

              +

              The quadraticCurveTo(cpx, cpy, + x, y) method, when invoked, must run these steps:

              1. If any of the arguments are infinite or NaN, then return.

              2. @@ -61844,9 +62009,10 @@ try {
              3. Add the given point (x, y) to the subpath.

              -

              The bezierCurveTo(cp1x, - cp1y, cp2x, cp2y, x, y) - method, when invoked, must run these steps:

              +

              The bezierCurveTo(cp1x, cp1y, + cp2x, cp2y, x, y) method, when invoked, + must run these steps:

              1. If any of the arguments are infinite or NaN, then return.

              2. @@ -61863,8 +62029,9 @@ try {
                -

                The arcTo(x1, y1, x2, - y2, radius) method, when invoked, must run these steps:

                +

                The arcTo(x1, + y1, x2, y2, radius) method, when invoked, + must run these steps:

                1. If any of the arguments are infinite or NaN, then return.

                2. @@ -62019,8 +62186,9 @@ try {
                  -

                  The Path2D(path) constructor, when - invoked, must run these steps:

                  +

                  The Path2D(path) constructor, when invoked, must run these + steps:

                  1. Let output be a new Path2D object.

                  2. @@ -62246,17 +62414,19 @@ try {
                    -

                    The getTransform() method, when - invoked, must return a newly created DOMMatrix representing a copy of the - current transformation matrix matrix of the context.

                    +

                    The getTransform() method, when invoked, must return + a newly created DOMMatrix representing a copy of the current transformation + matrix matrix of the context.

                    This returned object is not live, so updating it will not affect the current transformation matrix, and updating the current transformation matrix will not affect an already returned DOMMatrix.

                    -

                    The setTransform(a, b, - c, d, e, f) method, when invoked, must - run these steps:

                    +

                    The setTransform(a, b, c, + d, e, f) method, when invoked, must run these + steps:

                    1. If any of the arguments are infinite or NaN, then return.

                    2. @@ -62284,9 +62454,9 @@ try {
                    3. Reset the current transformation matrix to matrix.

                    -

                    The resetTransform() method, - when invoked, must reset the current transformation matrix to the identity - matrix.

                    +

                    The resetTransform() method, when invoked, must + reset the current transformation matrix to the identity matrix.

                    @@ -62498,9 +62668,11 @@ try {

                    Objects that implement the CanvasFillStrokeStyles interface have attributes and methods (defined in this section) that control how shapes are treated by the object.

                    -

                    The fillStyle attribute represents the - color or style to use inside shapes, and the strokeStyle attribute represents the color - or style to use for the lines around the shapes.

                    +

                    The fillStyle attribute represents the color or style + to use inside shapes, and the strokeStyle attribute represents the color or + style to use for the lines around the shapes.

                    Both attributes can be either strings, CanvasGradients, or CanvasPatterns. On setting, strings must be addColorStop(offset, +

                    The addColorStop(offset, color) method on the CanvasGradient, when invoked, must run these steps:

                    @@ -62634,11 +62807,12 @@ try {
                  -

                  The createLinearGradient(x0, - y0, x1, y1) method takes four arguments that - represent the start point (x0, y0) and end point (x1, - y1) of the gradient. The method, when invoked, must return a linear - CanvasGradient initialized with the specified line.

                  +

                  The createLinearGradient(x0, y0, + x1, y1) method takes four arguments that represent the start + point (x0, y0) and end point (x1, y1) of the gradient. + The method, when invoked, must return a linear CanvasGradient initialized with the + specified line.

                  Linear gradients must be rendered such that all points on a line perpendicular to the line that crosses the start and end points have the color at the point where those two lines cross (with the @@ -62650,9 +62824,10 @@ try { data-x="">y0 = y1, then the linear gradient must paint nothing.

                  -

                  The createRadialGradient(x0, - y0, r0, x1, y1, r1) method - takes six arguments, the first three representing the start circle with origin (x0, +

                  The createRadialGradient(x0, y0, + r0, x1, y1, r1) method takes six + arguments, the first three representing the start circle with origin (x0, y0) and radius r0, and the last three representing the end circle with origin (x1, y1) and radius r1. The values are in coordinate space units. If either of r0 or r1 are negative, then an @@ -62728,7 +62903,8 @@ try {

                  -

                  The createPattern(image, +

                  The createPattern(image, repetition) method, when invoked, must run these steps:

                    @@ -62878,8 +63054,9 @@ try {
                    -

                    The clearRect(x, y, - w, h) method, when invoked, must run these steps:

                    +

                    The clearRect(x, y, w, + h) method, when invoked, must run these steps:

                    1. If any of the arguments are infinite or NaN, then return.

                    2. @@ -62894,8 +63071,9 @@ try {

                      If either height or width are zero, this method has no effect, since the set of pixels would be empty.

                      -

                      The fillRect(x, y, - w, h) method, when invoked, must must run these steps:

                      +

                      The fillRect(x, + y, w, h) method, when invoked, must must run these + steps:

                      1. If any of the arguments are infinite or NaN, then return.

                      2. @@ -62906,8 +63084,9 @@ try { data-x="dom-context-2d-fillStyle">fillStyle
                        .

                      -

                      The strokeRect(x, y, - w, h) method, when invoked, must run these steps:

                      +

                      The strokeRect(x, y, w, + h) method, when invoked, must run these steps:

                      1. If any of the arguments are infinite or NaN, then return.

                      2. @@ -62977,7 +63156,8 @@ try {

                        Objects that implement the CanvasText interface provide the following methods for rendering text.

                        -

                        The fillText() and The fillText() + and strokeText() methods take three or four arguments, text, x, y, and optionally maxWidth, and render the given text at the given (x, y) coordinates ensuring that the text @@ -63022,9 +63202,10 @@ try {

                        - The measureText() method takes one - argument, text. When the method is invoked, the user agent must run the text - preparation algorithm, passing it text and the object implementing the + The measureText() method takes one argument, + text. When the method is invoked, the user agent must run the text preparation + algorithm, passing it text and the object implementing the CanvasText interface, and then using the returned inline box must return a new TextMetrics object with members behaving as described in the following list:

                        @@ -63226,9 +63407,10 @@ try {
                        -

                        The beginPath() method, when invoked, - must empty the list of subpaths in the context's current default path so that it - once again has zero subpaths.

                        +

                        The beginPath() method, when invoked, must empty the + list of subpaths in the context's current default path so that it once again has zero + subpaths.

                        Where the following method definitions use the term intended path, it means the Path2D argument, if one was provided, or the current default path @@ -63290,26 +63472,27 @@ try {


                        -

                        The isPointInPath() method, when - invoked, must return true if the point given by the x and y coordinates - passed to the method, when treated as coordinates in the canvas coordinate space unaffected by the - current transformation, is inside the intended path as determined by the fill rule - indicated by the fillRule argument; and must return false otherwise. Open subpaths must - be implicitly closed when computing the area inside the path, without affecting the actual - subpaths. Points on the path itself must be considered to be inside the path. If either of the - arguments are infinite or NaN, then the method must return false.

                        +

                        The isPointInPath() method, when invoked, must + return true if the point given by the x and y coordinates passed to the + method, when treated as coordinates in the canvas coordinate space unaffected by the current + transformation, is inside the intended path as determined by the fill rule indicated + by the fillRule argument; and must return false otherwise. Open subpaths must be + implicitly closed when computing the area inside the path, without affecting the actual subpaths. + Points on the path itself must be considered to be inside the path. If either of the arguments are + infinite or NaN, then the method must return false.


                        -

                        The isPointInStroke() method, - when invoked, must return true if the point given by the x and y coordinates - passed to the method, when treated as coordinates in the canvas coordinate space unaffected by the - current transformation, is inside the path that results from tracing the intended path, using the nonzero winding rule, and using the - CanvasPathDrawingStyles interface for the line styles; and must return false - otherwise. Points on the resulting path must be considered to be inside the path. If either of the - arguments are infinite or NaN, then the method must return false.

                        +

                        The isPointInStroke() method, when invoked, must + return true if the point given by the x and y coordinates passed to the + method, when treated as coordinates in the canvas coordinate space unaffected by the current + transformation, is inside the path that results from tracing + the intended path, using the nonzero winding + rule, and using the CanvasPathDrawingStyles interface for the line styles; and + must return false otherwise. Points on the resulting path must be considered to be inside the + path. If either of the arguments are infinite or NaN, then the method must return false.


                        @@ -63467,8 +63650,9 @@ try {
                        -

                        The scrollPathIntoView() - method, when invoked, must run these steps:

                        +

                        The scrollPathIntoView() method, when invoked, + must run these steps:

                        1. Let specifiedRectangle be the rectangle of the bounding box of the intended @@ -63497,8 +63681,9 @@ try {

                          Drawing images
                          -

                          Objects that implement the CanvasDrawImage interface have the drawImage method to draw images.

                          +

                          Objects that implement the CanvasDrawImage interface have the drawImage method to + draw images.

                          @@ -63786,10 +63971,11 @@ try { Initialize the image data of the new ImageData object to transparent black. Return the newly created ImageData object.

                          -

                          The getImageData(sx, - sy, sw, sh) method, when invoked, must, - if either the sw or sh arguments are zero, throw an - "IndexSizeError" DOMException; otherwise, +

                          The getImageData(sx, sy, sw, + sh) method, when invoked, must, if either the sw or + sh arguments are zero, throw an "IndexSizeError" + DOMException; otherwise, if the CanvasRenderingContext2D's origin-clean flag is set to false, it must throw a @@ -63880,10 +64066,11 @@ try { components must be assigned consecutive indices starting with 0 for the top left pixel's red component.

                          -

                          The putImageData() method writes - data from ImageData structures back to the rendering context's output - bitmap. Its arguments are: imagedata, dx, dy, - dirtyX, dirtyY, dirtyWidth, and dirtyHeight.

                          +

                          The putImageData() method writes data from + ImageData structures back to the rendering context's output bitmap. Its + arguments are: imagedata, dx, dy, dirtyX, + dirtyY, dirtyWidth, and dirtyHeight.

                          When the last four arguments to this method are omitted, they must be assumed to have the values 0, 0, the width member of the imagedata structure, and the height @@ -64084,18 +64271,19 @@ function AddCloud(data, x, y) { ... } -

                          The globalAlpha attribute gives an - alpha value that is applied to shapes and images before they are composited onto the output - bitmap. The value must be in the range from 0.0 (fully transparent) to 1.0 (no additional - transparency). If an attempt is made to set the attribute to a value outside this range, including - Infinity and Not-a-Number (NaN) values, then the attribute must retain its previous value. When - the context is created, the globalAlpha attribute - must initially have the value 1.0.

                          +

                          The globalAlpha attribute gives an alpha value that + is applied to shapes and images before they are composited onto the output bitmap. + The value must be in the range from 0.0 (fully transparent) to 1.0 (no additional transparency). + If an attempt is made to set the attribute to a value outside this range, including Infinity and + Not-a-Number (NaN) values, then the attribute must retain its previous value. When the context is + created, the globalAlpha attribute must initially + have the value 1.0.

                          The globalCompositeOperation attribute - sets the current composition operator, which controls how shapes and images are drawn onto the - output bitmap, once they have had current composition operator, which controls how shapes and images are drawn + onto the output bitmap, once they have had globalAlpha and the current transformation matrix applied. The possible values are those defined in Compositing and Blending, and include the values

                          Objects that implement the CanvasImageSmoothing interface have attributes that control how image smoothing is performed.

                          -

                          The imageSmoothingEnabled - attribute, on getting, must return the last value it was set to. On setting, it must be set to the - new value. When the object implementing the CanvasImageSmoothing interface is - created, the attribute must be set to true.

                          +

                          The imageSmoothingEnabled attribute, on + getting, must return the last value it was set to. On setting, it must be set to the new value. + When the object implementing the CanvasImageSmoothing interface is created, the + attribute must be set to true.

                          -

                          The imageSmoothingQuality - attribute, on getting, must return the last value it was set to. On setting, it must be set to the - new value. When the object implementing the CanvasImageSmoothing interface is - created, the attribute must be set to "low".

                          +

                          The imageSmoothingQuality attribute, on + getting, must return the last value it was set to. On setting, it must be set to the new value. + When the object implementing the CanvasImageSmoothing interface is created, the + attribute must be set to "low".

                          @@ -64202,8 +64391,9 @@ function AddCloud(data, x, y) { ... }
                          -

                          The shadowColor attribute sets the - color of the shadow.

                          +

                          The shadowColor attribute sets the color of the + shadow.

                          When the context is created, the shadowColor attribute initially must be transparent black.

                          @@ -64216,11 +64406,12 @@ function AddCloud(data, x, y) { ... }
                          failure then it must be ignored, and the attribute must retain its previous value.

                          -

                          The shadowOffsetX and shadowOffsetY attributes specify the distance - that the shadow will be offset in the positive horizontal and positive vertical distance - respectively. Their values are in coordinate space units. They are not affected by the current - transformation matrix.

                          +

                          The shadowOffsetX and shadowOffsetY + attributes specify the distance that the shadow will be offset in the positive horizontal and + positive vertical distance respectively. Their values are in coordinate space units. They are not + affected by the current transformation matrix.

                          When the context is created, the shadow offset attributes must initially have the value 0.

                          @@ -64229,9 +64420,10 @@ function AddCloud(data, x, y) { ... } set to the new value, except if the value is infinite or NaN, in which case the new value must be ignored.

                          -

                          The shadowBlur attribute specifies - the level of the blurring effect. (The units do not map to coordinate space units, and are not - affected by the current transformation matrix.)

                          +

                          The shadowBlur attribute specifies the level of the + blurring effect. (The units do not map to coordinate space units, and are not affected by the + current transformation matrix.)

                          When the context is created, the shadowBlur attribute must initially have the value 0.

                          @@ -64629,8 +64821,9 @@ dictionary ImageBitmapRenderingContextSettings {
                          -

                          The canvas attribute - must return the value it was initialized to when the object was created.

                          +

                          The canvas attribute must return the + value it was initialized to when the object was created.

                          An ImageBitmapRenderingContext object has an output bitmap, which is a @@ -64943,9 +65136,10 @@ interface OffscreenCanvas : EventTarget {


                          -

                          The getContext(contextId, - options) method of an OffscreenCanvas object, when - invoked, must run these steps:

                          +

                          The getContext(contextId, + options) method of an OffscreenCanvas object, when invoked, + must run these steps:

                          1. If options is not an object, then set @@ -65058,9 +65252,10 @@ interface OffscreenCanvas : EventTarget {

                            -

                            If either the width or height attributes of an - OffscreenCanvas object are set (to a new value or to the same value as before) and +

                            If either the width or height attributes of + an OffscreenCanvas object are set (to a new value or to the same value as before) and the OffscreenCanvas object's context mode is 2d, then replace the OffscreenCanvas object's bitmap with a @@ -66346,9 +66541,10 @@ document.body.append(parent);

                            -

                            The customElements attribute - of the Window interface must return the CustomElementRegistry object for - that Window object.

                            +

                            The customElements attribute of the + Window interface must return the CustomElementRegistry object for that + Window object.

                            [Exposed=Window]
                             interface CustomElementRegistry {
                            @@ -66429,8 +66625,9 @@ dictionary ElementDefinitionOptions {
                               

                            Element definition is a process of adding a custom element definition to the CustomElementRegistry. This is accomplished by the define() method. When invoked, - the define(name, - constructor, options) method must run these steps:

                            + the define(name, constructor, + options) method must run these steps:

                            @@ -73157,9 +73354,9 @@ END:VCARD
                            -

                            The tabIndex IDL attribute must - reflect the value of the tabindex content - attribute. The default value is 0 if the element is an a, area, +

                            The tabIndex IDL + attribute must reflect the value of the tabindex + content attribute. The default value is 0 if the element is an a, area, button, frame, iframe, input, object, select, textarea, or SVG a element, or is a summary element that is a summary for @@ -73856,9 +74053,9 @@ END:VCARD

                          2. Return null.

                          -

                          The hasFocus() method on the - Document object, when invoked, must return the result of running the has focus - steps with the Document object as the argument.

                          +

                          The hasFocus() + method on the Document object, when invoked, must return the result of running the + has focus steps with the Document object as the argument.

                          The focus() method, when invoked, must run these steps:

                          @@ -74312,12 +74509,14 @@ addShortcutKeyLabel(document.getElementById('c'));

                          -

                          The accessKey IDL attribute must - reflect the accesskey content attribute.

                          +

                          The accessKey IDL + attribute must reflect the accesskey content + attribute.

                          -

                          The accessKeyLabel IDL attribute must return - a string that represents the element's assigned access key, if any. If the element - does not have one, then the IDL attribute must return the empty string.

                          +

                          The accessKeyLabel IDL attribute must return a string that + represents the element's assigned access key, if any. If the element does not have + one, then the IDL attribute must return the empty string.

                          @@ -75659,8 +75858,9 @@ interface DataTransfer { array to the result of creating a frozen array from L.

                        -

                        The DataTransfer() constructor, when - invoked, must return a newly created DataTransfer object initialized as follows:

                        +

                        The DataTransfer() constructor, when invoked, must return a + newly created DataTransfer object initialized as follows:

                        1. Set the drag data store's item @@ -75673,19 +75873,21 @@ interface DataTransfer { effectAllowed to "none".

                        -

                        The dropEffect attribute controls - the drag-and-drop feedback that the user is given during a drag-and-drop operation. When the +

                        The dropEffect attribute controls the drag-and-drop + feedback that the user is given during a drag-and-drop operation. When the DataTransfer object is created, the dropEffect attribute is set to a string value. On getting, it must return its current value. On setting, if the new value is one of "none", "copy", "link", or "move", then the attribute's current value must be - set to the new value. Other values must be ignored.

                        + data-x="dom-DataTransfer-dropEffect-move">move
                        ", then the attribute's current value + must be set to the new value. Other values must be ignored.

                        -

                        The effectAllowed attribute is - used in the drag-and-drop processing model to initialize the The effectAllowed attribute is used in the + drag-and-drop processing model to initialize the dropEffect attribute during the dragenter and dragover events. When the DataTransfer object is @@ -75704,11 +75906,13 @@ interface DataTransfer { data-x="dom-DataTransfer-effectAllowed-uninitialized">uninitialized", then the attribute's current value must be set to the new value. Otherwise it must be left unchanged.

                        -

                        The items attribute must return a - DataTransferItemList object associated with the DataTransfer object.

                        +

                        The items + attribute must return a DataTransferItemList object associated with the + DataTransfer object.

                        -

                        The setDragImage(element, - x, y) method must run the following steps:

                        +

                        The setDragImage(element, x, + y) method must run the following steps:

                        1. If the DataTransfer object is no longer associated with a drag data @@ -75727,12 +75931,13 @@ interface DataTransfer { y coordinate.

                        -

                        The types attribute must return this - DataTransfer object's types - array.

                        +

                        The types + attribute must return this DataTransfer object's types array.

                        -

                        The getData(format) method - must run the following steps:

                        +

                        The getData(format) method must run the + following steps:

                        1. If the DataTransfer object is no longer associated with a drag data @@ -75768,8 +75973,9 @@ interface DataTransfer {

                        2. Return result.

                        -

                        The setData(format, - data) method must run the following steps:

                        +

                        The setData(format, data) method + must run the following steps:

                        1. If the DataTransfer object is no longer associated with a drag data @@ -75801,8 +76007,9 @@ interface DataTransfer { given by the method's second argument.

                        -

                        The clearData() method must run the - following steps:

                        +

                        The clearData() method must run the following + steps:

                        1. If the DataTransfer object is no longer associated with a drag data @@ -75839,11 +76046,11 @@ interface DataTransfer { calling clearData() (it would still contain the "Files" string if any files were included in the drag).

                          -

                          The files attribute must return a - live FileList sequence consisting of File objects - representing the files found by the following steps. - Furthermore, for a given FileList object and a given underlying file, the same - File object must be used each time.

                          +

                          The files + attribute must return a live FileList sequence consisting of + File objects representing the files found by the following steps. Furthermore, for a + given FileList object and a given underlying file, the same File object + must be used each time.

                          1. Start with an empty list L.

                          2. @@ -75940,9 +76147,10 @@ DND-v5: DataTransferItem? length attribute must - return zero if the object is in the disabled mode; otherwise it must return the number of - items in the drag data store item list.

                            +

                            The length attribute must return zero if the + object is in the disabled mode; otherwise it must return the number of items in the + drag data store item list.

                            When a DataTransferItemList object is not in the disabled mode, its supported property indices are the numbers in the range @@ -75960,8 +76168,8 @@ DND-v5: DataTransferItem? add() method must run the - following steps:

                            +

                            The add() method must run the following steps:

                            1. If the DataTransferItemList object is not in the DataTransferItem? remove() method, when - invoked with the argument i, must run these steps:

                              +

                              The remove() method, when invoked with the + argument i, must run these steps:

                              1. If the DataTransferItemList object is not in the DataTransferItem? clear() method, if the +

                                The clear() method, if the DataTransferItemList object is in the read/write mode, must remove all the items from the drag data store. Otherwise, it must do nothing.

                                @@ -76125,11 +76335,12 @@ callback FunctionObjectCallback = undefined (any data);--> with which the DataTransferItem object's DataTransfer object is associated.

                                -

                                The kind attribute must return the - empty string if the DataTransferItem object is in the disabled mode; otherwise - it must return the string given in the cell from the second column of the following table from the - row whose cell in the first column contains the drag data item kind of the item - represented by the DataTransferItem object:

                                +

                                The kind attribute must return the empty string if the + DataTransferItem object is in the disabled mode; otherwise it must return the + string given in the cell from the second column of the following table from the row whose cell in + the first column contains the drag data item kind of the item represented by the + DataTransferItem object:

                                @@ -76141,12 +76352,15 @@ callback FunctionObjectCallback = undefined (any data);-->
                                Object "object"-->
                                -

                                The type attribute must return the - empty string if the DataTransferItem object is in the disabled mode; otherwise - it must return the drag data item type string of the item represented by the +

                                The type attribute must return the empty string if the + DataTransferItem object is in the disabled mode; otherwise it must return + the drag data item type string of the item represented by the DataTransferItem object.

                                -

                                The getAsString(callback) method must run the following steps:

                                +

                                The getAsString(callback) method + must run the following steps:

                                1. If the callback is null, return.

                                2. @@ -76194,8 +76408,9 @@ callback FunctionObjectCallback = undefined (any data);--> --> -

                                  The getAsFile() - method must run the following steps:

                                  +

                                  The getAsFile() method must run the following + steps:

                                  1. If the DataTransferItem object is not in the DragEventInit : MouseEventInit {

                                    -

                                    The dataTransfer attribute of the +

                                    The dataTransfer attribute of the DragEvent interface must return the value it was initialized to. It represents the context information for the event.

                                    @@ -77878,8 +78094,8 @@ popup4.close();
                                  2. Return current's WindowProxy object.

                                  -

                                  The frameElement attribute's getter must run - these steps:

                                  +

                                  The frameElement + attribute's getter must run these steps:

                                  1. Let current be this Window object's browsing context. It is either null or a browsing context.

                                    -

                                    The window, frames, and The window, frames, and self attributes' getters must return this Window object's relevant Realm.[[GlobalEnv]]'s EnvironmentRecord's [[GlobalThisValue]].

                                    @@ -78852,8 +79068,9 @@ dictionary WindowPostMessageOptions : PostMessageOptions Window object of the original about:blank page is reused and gets a new Document object.

                                    -

                                    The defaultView attribute's getter, - when invoked, must run these steps:

                                    +

                                    The defaultView attribute's getter, when invoked, must + run these steps:

                                    1. If this Document object's browsing @@ -80454,7 +80671,8 @@ interface BarProp {

                                      -

                                      The domain getter steps are:

                                      +

                                      The domain getter + steps are:

                                      1. Let effectiveDomain be this's Location { // but see also ancestorOrigins attribute's - getter must run these steps: +

                                        The ancestorOrigins attribute's getter must run + these steps:

                                        1. If this Location object's relevant Document is @@ -89549,23 +89768,25 @@ dictionary ErrorEventInit : EventInit { any error = null; }; -

                                          The message attribute must return the - value it was initialized to. It represents the error message.

                                          +

                                          The message + attribute must return the value it was initialized to. It represents the error message.

                                          -

                                          The filename attribute must return the - value it was initialized to. It represents the URL of the script in which the error - originally occurred.

                                          +

                                          The filename attribute must return the value it was + initialized to. It represents the URL of the script in which the error originally + occurred.

                                          -

                                          The lineno attribute must return the - value it was initialized to. It represents the line number where the error occurred in the - script.

                                          +

                                          The lineno + attribute must return the value it was initialized to. It represents the line number where the + error occurred in the script.

                                          -

                                          The colno attribute must return the value - it was initialized to. It represents the column number where the error occurred in the script.

                                          +

                                          The colno + attribute must return the value it was initialized to. It represents the column number where the + error occurred in the script.

                                          -

                                          The error attribute must return the value - it was initialized to. Where appropriate, it is set to the object representing the error (e.g., - the exception object in the case of an uncaught DOM exception).

                                          +

                                          The error + attribute must return the value it was initialized to. Where appropriate, it is set to the object + representing the error (e.g., the exception object in the case of an uncaught DOM exception).

                                      @@ -89651,11 +89872,13 @@ dictionary PromiseRejectionEventInit : EventInit { any reason; }; -

                                      The promise attribute must - return the value it was initialized to. It represents the promise which this notification is about.

                                      +

                                      The promise attribute must return the value it + was initialized to. It represents the promise which this notification is about.

                                      -

                                      The reason attribute must - return the value it was initialized to. It represents the rejection reason for the promise.

                                      +

                                      The reason attribute must return the value it + was initialized to. It represents the rejection reason for the promise.

                                      JavaScript specification host hooks

                                      @@ -93910,8 +94133,8 @@ interface Navigator { [Exposed=Window] readonly attribute DOMString oscpu; }; -

                                      The taintEnabled() method must - return false.

                                      +

                                      The taintEnabled() method must return false.

                                      The oscpu attribute's getter must return either the empty string or a string representing the platform on which the browser is executing, @@ -94359,9 +94582,10 @@ interface Navigator {

                                      -

                                      The cookieEnabled attribute must - return true if the user agent attempts to handle cookies according to HTTP State Management - Mechanism, and false if it ignores cookie change requests.

                                      +

                                      The cookieEnabled attribute must return true if the + user agent attempts to handle cookies according to HTTP State Management Mechanism, + and false if it ignores cookie change requests.

                                      @@ -94517,8 +94741,9 @@ interface MimeType { data-x="dom-navigator-plugins">navigator.plugins attribute must return a PluginArray object.

                                      -

                                      The navigator.mimeTypes attribute must - return a MimeTypeArray object.

                                      +

                                      The navigator.mimeTypes attribute must return a + MimeTypeArray object.


                                      @@ -94564,14 +94789,14 @@ interface MimeType {

                                      - The length attribute must return the - number of non-hidden plugins - represented by the object.

                                      + The length + attribute must return the number of non-hidden plugins represented by the object.

                                      -

                                      The item() method of a - PluginArray object must return null if the argument is not one of the object's - supported property indices, and otherwise must return the result of running the - following steps, using the method's argument as index:

                                      +

                                      The item() + method of a PluginArray object must return null if the argument is not one of the + object's supported property indices, and otherwise must return the result of running + the following steps, using the method's argument as index:

                                      1. Let list be the Plugin objects @@ -94594,21 +94819,23 @@ interface MimeType { the name attributes of all the Plugin objects represented by the PluginArray object.

                                        -

                                        The namedItem() method of a - PluginArray object must return null if the argument is not one of the object's - supported property names, and otherwise must return the Plugin object, of those represented by the PluginArray - object, that has a name equal to the method's argument.

                                        - -

                                        The refresh() method of the - PluginArray object of a Navigator object, when invoked, must check to - see if any plugins have been installed or reconfigured since the user - agent created the PluginArray object. If so, and the method's argument is true, then - the user agent must act as if the location.reload() - method was called instead. Otherwise, the user agent must update the PluginArray - object and MimeTypeArray object created for attributes of that Navigator - object, and the Plugin and MimeType objects created - for those PluginArray and MimeTypeArray objects, using the same The namedItem() method of a PluginArray + object must return null if the argument is not one of the object's supported property + names, and otherwise must return the Plugin object, of + those represented by the PluginArray object, that has a name equal to the method's argument.

                                        + +

                                        The refresh() + method of the PluginArray object of a Navigator object, when invoked, + must check to see if any plugins have been installed or reconfigured + since the user agent created the PluginArray object. If so, and the method's argument + is true, then the user agent must act as if the location.reload() method was called instead. Otherwise, the + user agent must update the PluginArray object and MimeTypeArray object + created for attributes of that Navigator object, and the Plugin and MimeType objects created for those + PluginArray and MimeTypeArray objects, using the same Plugin objects for cases where the name is the same, and the same MimeType objects for cases where the type is the same, and creating new objects @@ -94641,15 +94868,16 @@ interface MimeType {

                                        - The length attribute must return the - number of MIME types explicitly supported by - non-hidden plugins represented by - the corresponding PluginArray object, if any.

                                        + The length + attribute must return the number of MIME types explicitly + supported by non-hidden plugins represented by the corresponding PluginArray object, + if any.

                                        -

                                        The item() method of a - MimeTypeArray object must return null if the argument is not one of the object's - supported property indices, and otherwise must return the result of running the - following steps, using the method's argument as index:

                                        +

                                        The item() + method of a MimeTypeArray object must return null if the argument is not one of the + object's supported property indices, and otherwise must return the result of running + the following steps, using the method's argument as index:

                                        1. Let list be the MimeType objects representing the MimeType { the type attributes of all the MimeType objects represented by the MimeTypeArray object.

                                          -

                                          The namedItem() method of a +

                                          The namedItem() method of a MimeTypeArray object must return null if the argument is not one of the object's supported property names, and otherwise must return the MimeType object that has a type equal to the method's argument.

                                          @@ -94704,11 +94933,11 @@ interface MimeType {

                                          - The length attribute must return the number of - reported MIME types.

                                          + The length attribute + must return the number of reported MIME types.

                                          -

                                          The item() method of a Plugin object must return null if the argument is not one of the +

                                          The item() method of a + Plugin object must return null if the argument is not one of the object's supported property indices, and otherwise must return the result of running the following steps, using the method's argument as index:

                                          @@ -94732,20 +94961,21 @@ interface MimeType { the values of the type attributes of the MimeType objects representing the reported MIME types.

                                          -

                                          The namedItem() method of a Plugin object must return null if the argument is not one of the - object's supported property names, and otherwise must return the +

                                          The namedItem() + method of a Plugin object must return null if the argument is not + one of the object's supported property names, and otherwise must return the MimeType object that has a type equal to the method's argument.

                                          -

                                          The name attribute must return the - plugin's name.

                                          +

                                          The name attribute must + return the plugin's name.

                                          -

                                          The description and filename attributes must return - implementation-defined (in all likelihood, plugin-defined) strings. In - each case, the same string must be returned each time, except that the strings returned may change - when the refresh() method updates the object.

                                          +

                                          The description + and filename + attributes must return implementation-defined (in all likelihood, + plugin-defined) strings. In each case, the same string must be returned each time, + except that the strings returned may change when the refresh() method updates the object.

                                          @@ -94768,10 +94998,12 @@ interface MimeType { by the PluginArray object's refresh() method.

                                          -

                                          The type attribute must return the - valid MIME type string with no parameters describing the MIME type.

                                          +

                                          The type attribute + must return the valid MIME type string with no parameters describing the MIME + type.

                                          -

                                          The description and The description and suffixes attributes must return implementation-defined (in all likelihood, plugin-defined) strings. In each case, the same string must be returned each time, except that the strings returned may change @@ -94792,20 +95024,21 @@ interface MimeType { interpreted as separating subsequent filename extensions, as in "htm,html".

                                          -

                                          The enabledPlugin attribute must - return the Plugin object that represents the plugin - that explicitly supported the MIME type that this MimeType +

                                          The enabledPlugin attribute must return the Plugin object that represents the plugin that + explicitly supported the MIME type that this MimeType object represents when this object was last created or updated by refresh(), whichever happened most - recently.

                                          + data-x="dom-PluginArray-refresh">refresh()
                                          , whichever happened most recently.


                                          - The navigator.javaEnabled() method must - return true if the user agent supports a plugin that supports the MIME - type "application/x-java-vm"; otherwise it must return false.

                                          + The navigator.javaEnabled() method must return true if + the user agent supports a plugin that supports the MIME type "application/x-java-vm"; otherwise it must return false.

                        @@ -94973,7 +95206,8 @@ dictionary ImageBitmapOptions {
                        -

                        The createImageBitmap(image, +

                        The createImageBitmap(image, options) and createImageBitmap(image sx, sy, sw, sh, options) methods, when invoked, must run these steps:

                        @@ -94985,9 +95219,10 @@ dictionary ImageBitmapOptions { rejected with a RangeError.

                      3. If either options's resizeWidth or options's - resizeHeight is present and - is 0, then return p rejected with an "InvalidStateError" + data-x="dom-ImageBitmapOptions-resizeWidth">resizeWidth or options's resizeHeight is present and is 0, then + return p rejected with an "InvalidStateError" DOMException.

                      4. Check the usability of the image argument. If this throws an @@ -95257,16 +95492,18 @@ dictionary ImageBitmapOptions { sourceRectangle.

                      5. Scale output to the size specified by outputWidth and - outputHeight. The user agent should use the value of the outputHeight. The user agent should use the value of the resizeQuality option to guide the choice of scaling algorithm.

                      6. If the value of the imageOrientation member of - options is "flipY", - output must be flipped vertically, disregarding any image orientation metadata of - the source (such as EXIF metadata), if any.

                        + options is "flipY", output must be flipped + vertically, disregarding any image orientation metadata of the source (such as EXIF metadata), + if any.

                        If the value is "none", no extra step is required.

                        @@ -95321,8 +95558,9 @@ dictionary ImageBitmapOptions {
                      7. Return output.

                      -

                      When the close() method is called, the - user agent must run these steps:

                      +

                      When the close() method is called, the user agent must run + these steps:

                      1. Set this ImageBitmap object's [[Detached]] internal slot value @@ -95332,8 +95570,8 @@ dictionary ImageBitmapOptions { data-x="concept-ImageBitmap-bitmap-data">bitmap data.

                      -

                      The width attribute's getter must run - these steps:

                      +

                      The width + attribute's getter must run these steps:

                      1. If this ImageBitmap object's [[Detached]] internal slot's @@ -95343,8 +95581,8 @@ dictionary ImageBitmapOptions { pixels.

                      -

                      The height attribute's getter must run - these steps:

                      +

                      The height + attribute's getter must run these steps:

                      1. If this ImageBitmap object's [[Detached]] internal slot's @@ -95357,20 +95595,23 @@ dictionary ImageBitmapOptions {

                        The ResizeQuality enumeration is used to express a preference for the interpolation quality to use when scaling images.

                        -

                        The "pixelated" value indicates - a preference to scale the image that maximizes the appearance. Scaling algorithms that "smooth" - colors are acceptable, such as bilinear interpolation.

                        +

                        The "pixelated" value indicates a preference to scale + the image that maximizes the appearance. Scaling algorithms that "smooth" colors are acceptable, + such as bilinear interpolation.

                        -

                        The "low" value - indicates a preference for a low level of image interpolation quality. Low-quality image +

                        The "low" + value indicates a preference for a low level of image interpolation quality. Low-quality image interpolation may be more computationally efficient than higher settings.

                        -

                        The "medium" value indicates - a preference for a medium level of image interpolation quality.

                        +

                        The "medium" value indicates a preference for a medium + level of image interpolation quality.

                        -

                        The "high" value indicates a - preference for a high level of image interpolation quality. High-quality image - interpolation may be more computationally expensive than lower settings.

                        +

                        The "high" value indicates a preference for a high level + of image interpolation quality. High-quality image interpolation may be more computationally + expensive than lower settings.

                        Bilinear scaling is an example of a relatively fast, lower-quality image-smoothing algorithm. Bicubic or Lanczos scaling are examples of image-scaling algorithms that produce @@ -95841,8 +96082,9 @@ dictionary EventSourceInit {

                        -

                        The EventSource(url, - eventSourceInitDict) constructor, when invoked, must run these steps:

                        +

                        The EventSource(url, eventSourceInitDict) + constructor, when invoked, must run these steps:

                        1. Let ev be a new EventSource object.

                        2. @@ -95897,16 +96139,18 @@ dictionary EventSourceInit {
                          -

                          The url attribute's getter must return the - serialization of this EventSource - object's url.

                          +

                          The url + attribute's getter must return the serialization of + this EventSource object's url.

                          -

                          The withCredentials attribute - must return the value to which it was last initialized. When the object is created, it must be - initialized to false.

                          +

                          The withCredentials attribute must return the + value to which it was last initialized. When the object is created, it must be initialized to + false.

                          -

                          The readyState attribute represents - the state of the connection. It can have the following values:

                          +

                          The readyState attribute represents the state of the + connection. It can have the following values:

                        @@ -95932,9 +96176,9 @@ dictionary EventSourceInit { be set to CONNECTING (0). The rules given below for handling the connection define when the value changes.

                        -

                        The close() method must abort any - instances of the fetch algorithm started for this - EventSource object, and must set the The close() + method must abort any instances of the fetch algorithm started + for this EventSource object, and must set the readyState attribute to CLOSED.

                        @@ -96734,12 +96978,14 @@ interface WebSocket : EventTarget {
                        -

                        The url attribute's getter must return this - WebSocket object's url, The url + attribute's getter must return this WebSocket object's url, serialized.

                        -

                        The readyState attribute represents - the state of the connection. It can have the following values:

                        +

                        The readyState attribute represents the state of the + connection. It can have the following values:

                    @@ -96771,13 +97017,15 @@ interface WebSocket : EventTarget {

                    When the object is created its readyState must be set to CONNECTING (0).

                    -

                    The extensions attribute must - initially return the empty string. After the WebSocket - connection is established, its value might change, as defined below.

                    +

                    The extensions attribute must initially return the + empty string. After the WebSocket connection is + established, its value might change, as defined below.

                    -

                    The protocol attribute must initially - return the empty string. After the WebSocket connection - is established, its value might change, as defined below.

                    +

                    The protocol + attribute must initially return the empty string. After the WebSocket connection is established, its value + might change, as defined below.

                    The close(code, reason) method, when invoked, must run these steps:

                    @@ -96889,13 +97137,15 @@ interface WebSocket : EventTarget {
                    -

                    The bufferedAmount attribute must - return the number of bytes of application data (UTF-8 text and binary data) that have been queued - using send() but that, as of the last time the - event loop reached step 1, had not yet been transmitted to the network. (This thus - includes any text sent during the execution of the current task, regardless of whether the user - agent is able to transmit text in the background in parallel with script execution.) This does not include - framing overhead incurred by the protocol, or buffering done by the operating system or network +

                    The bufferedAmount attribute must return the number + of bytes of application data (UTF-8 text and binary data) that have been queued using send() but that, as of the last time the event + loop reached step 1, had not yet been transmitted to the network. + (This thus includes any text sent during the execution of the current task, regardless of whether + the user agent is able to transmit text in the background in parallel with script + execution.) This does not include framing overhead incurred by the protocol, or buffering done by + the operating system or network hardware.

                    @@ -96925,8 +97175,8 @@ socket.onopen = function () {

                    When a WebSocket object is created, its binaryType IDL attribute must be set to the string - "blob". On getting, it must return the last - value it was set to. On setting, the user agent must set the IDL attribute to the new value.

                    + "blob". On getting, it must return the last value it was + set to. On setting, the user agent must set the IDL attribute to the new value.

                    User agents can use the binaryType attribute as a hint for @@ -96939,9 +97189,10 @@ socket.onopen = function () { important in particular because it is quite possible for the attribute to be changed after the user agent has received the data but before the user agent has fired the event for it.

                    -

                    The send(data) method transmits - data using the connection. If the readyState - attribute is CONNECTING, it must throw an +

                    The send(data) method transmits data using the + connection. If the readyState attribute is CONNECTING, it must throw an "InvalidStateError" DOMException. Otherwise, the user agent must run the appropriate set of steps from the following list:

                    @@ -97089,15 +97340,15 @@ socket.onopen = function () {
                    type indicates that the data is Binary and binaryType is "blob"
                    -
                    a new Blob object, created in the relevant Realm of the WebSocket object, - that represents data as its raw data
                    + data-x="dom-BinaryType-blob">blob
                    "
                    a new Blob object, + created in the relevant Realm of the + WebSocket object, that represents data as its raw data
                    type indicates that the data is Binary and binaryType is "arraybuffer"
                    -
                    a new ArrayBuffer object, created in the arraybuffer"
                    a new ArrayBuffer object, created in the relevant Realm of the WebSocket object, whose contents are data
                    @@ -97288,16 +97539,17 @@ dictionary CloseEventInit : EventInit {
                    -

                    The wasClean attribute must return the - value it was initialized to. It represents whether the connection closed cleanly or not.

                    +

                    The wasClean attribute must return the value it was + initialized to. It represents whether the connection closed cleanly or not.

                    -

                    The code attribute must return the value - it was initialized to. It represents the WebSocket connection close code provided by the - server.

                    +

                    The code + attribute must return the value it was initialized to. It represents the WebSocket connection + close code provided by the server.

                    -

                    The reason attribute must return the - value it was initialized to. It represents the WebSocket connection close reason provided by the - server.

                    +

                    The reason + attribute must return the value it was initialized to. It represents the WebSocket connection + close reason provided by the server.

                    @@ -97621,9 +97873,10 @@ function receiver(e) {
                  -

                  The postMessage(message, - options) method, when invoked on a - Window object, must run the following steps:

                  +

                  The postMessage(message, + options) method, when invoked on a Window object, must run + the following steps:

                  1. Let targetWindow be this Window object.

                  2. @@ -97631,9 +97884,10 @@ function receiver(e) { message, and options.

                  -

                  The postMessage(message, - targetOrigin, transfer) method, when invoked on a - Window object, must run the following steps:

                  +

                  The postMessage(message, targetOrigin, + transfer) method, when invoked on a Window object, must run + the following steps:

                  1. Let targetWindow be this Window object.

                  2. @@ -97892,10 +98146,12 @@ interface MessageChannel { port 2.

                  -

                  The port1 getter steps are to return +

                  The port1 getter steps are to return this's port 1.

                  -

                  The port2 getter steps are to return +

                  The port2 getter steps are to return this's port 2.

                  @@ -98130,7 +98386,8 @@ dictionary PostMessageOptions {
                -

                The postMessage(message, +

                The postMessage(message, options) method, when invoked on a MessagePort object must run the following steps:

                @@ -98142,9 +98399,10 @@ dictionary PostMessageOptions { message and options.

              -

              The postMessage(message, - transfer) method, when invoked on a MessagePort object - must run the following steps:

              +

              The postMessage(message, + transfer) method, when invoked on a MessagePort object must + run the following steps:

              1. Let targetPort be the port with which this MessagePort is @@ -98159,14 +98417,14 @@ dictionary PostMessageOptions {


                -

                The start() method, when invoked, must - enable this MessagePort object's port message queue, if it is not - already enabled.

                +

                The start() + method, when invoked, must enable this MessagePort object's port message + queue, if it is not already enabled.


                -

                The close() method, when invoked, must - run these steps:

                +

                The close() + method, when invoked, must run these steps:

                1. Set this MessagePort object's [[Detached]] internal slot value @@ -98320,7 +98578,8 @@ interface BroadcastChannel : EventTarget { to false.

                -

                The name getter steps are to return +

                The name getter steps are to return this's channel name.

                The BroadcastChannel : EventTarget { BroadcastChannel object's relevant global object to the BroadcastChannel object itself.

                -

                The close() method steps are to set +

                The close() method steps are to set this's closed flag to true.

        @@ -98988,11 +99248,13 @@ interface WorkerGlobalScope : EventTarget {
        -

        The self attribute must return the +

        The self attribute must return the WorkerGlobalScope object itself.

        -

        The location attribute must - return the WorkerLocation object whose associated The location attribute must return the + WorkerLocation object whose associated WorkerGlobalScope object is the WorkerGlobalScope object.

        @@ -99068,8 +99330,9 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope
        -

        The name attribute must - return the DedicatedWorkerGlobalScope object's The name attribute must return the + DedicatedWorkerGlobalScope object's name. Its value represents the name given to the worker using the Worker constructor, used primarily for debugging purposes.

        @@ -99077,8 +99340,8 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope data-x="dom-DedicatedWorkerGlobalScope-postMessage">postMessage(message, transfer)
        and postMessage(message, - options) methods on DedicatedWorkerGlobalScope objects - act as if, when invoked, it immediately invoked the respective options) methods on DedicatedWorkerGlobalScope objects act as + if, when invoked, it immediately invoked the respective postMessage(message, transfer) and postMessage(message, options) on the port, with the same arguments, and returned the same return @@ -99096,9 +99359,9 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope flag to true. (This prevents any further tasks from being queued.)

      -

      The close() method, when - invoked, must close a worker with this DedicatedWorkerGlobalScope - object.

      +

      The close() method, when invoked, must + close a worker with this DedicatedWorkerGlobalScope object.


      @@ -99162,14 +99425,15 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope {
      -

      The name attribute must - return the SharedWorkerGlobalScope object's name. Its value represents the name that can - be used to obtain a reference to the worker using the SharedWorker constructor.

      +

      The name attribute must return the + SharedWorkerGlobalScope object's name. Its value represents the name that can be + used to obtain a reference to the worker using the SharedWorker constructor.

      -

      The close() method, when - invoked, must close a worker with this SharedWorkerGlobalScope - object.

      +

      The close() method, when invoked, must + close a worker with this SharedWorkerGlobalScope object.


      @@ -99828,9 +100092,9 @@ enum WorkerType { "classic", "module" };
      -

      The terminate() method, when invoked, - must cause the terminate a worker algorithm to be run on the worker with which the - object is associated.

      +

      The terminate() + method, when invoked, must cause the terminate a worker algorithm to be run on the + worker with which the object is associated.

      Worker objects act as if they had an implicit MessagePort associated with them. This port is part of a channel that is set up when the worker is created, but it is not @@ -99839,8 +100103,9 @@ enum WorkerType { "classic", "module" };

      All messages received by that port must immediately be retargeted at the Worker object.

      -

      The postMessage(message, - transfer) and The postMessage(message, transfer) + and postMessage(message, options) methods on Worker objects act as if, when invoked, they immediately invoked the respective SharedWorker : EventTarget {

      -

      The port attribute must return the value - it was assigned by the object's constructor. It represents the MessagePort for - communicating with the shared worker.

      +

      The port + attribute must return the value it was assigned by the object's constructor. It represents the + MessagePort for communicating with the shared worker.

      A user agent has an associated shared worker manager which is the result of starting a new parallel queue.

      @@ -99972,8 +100237,9 @@ interface SharedWorker : EventTarget { Implementations could use one per origin; that would not be observably different and enables more concurrency.

      -

      When the SharedWorker(scriptURL, - options) constructor is invoked:

      +

      When the SharedWorker(scriptURL, options) + constructor is invoked:

      1. Optionally, throw a "SecurityError" DOMException @@ -101449,11 +101715,12 @@ interface Storage {


        -

        The length getter steps are to return - this's map's The length getter + steps are to return this's map's size.

        -

        The key(n) method steps are:

        +

        The key(n) + method steps are:

        1. If n is greater than or equal to this's Storage { are the result of running get the keys on storage's map.

          -

          The getItem(key) method steps - are:

          +

          The getItem(key) method steps are:

          1. If this's map[key] does @@ -101516,8 +101783,8 @@ interface Storage { key, oldValue, and value.

          -

          The removeItem(key) method - steps are:

          +

          The removeItem(key) method steps are:

          1. If this's map[key] does @@ -101535,7 +101802,8 @@ interface Storage { key, oldValue, and null.

          -

          The clear() method steps are:

          +

          The clear() method + steps are:

          1. Clear this's Storage {

            - The sessionStorage getter steps are:

            + The sessionStorage getter steps are:

            1. If this's associated @@ -101634,7 +101903,8 @@ interface Storage {

              - The localStorage getter steps are:

              + The localStorage getter steps are:

              1. If this's associated @@ -101706,16 +101976,17 @@ dictionary StorageEventInit : EventInit {

                -

                The key, oldValue, newValue, url, and storageArea attributes must return the values - they were initialized to.

                +

                The key, + oldValue, + newValue, + url, and storageArea + attributes must return the values they were initialized to.

                -

                The initStorageEvent() - method must initialize the event in a manner analogous to the similarly-named The initStorageEvent() method must initialize + the event in a manner analogous to the similarly-named initEvent() method.

                @@ -116328,20 +116599,23 @@ interface HTMLMarqueeElement : HTMLElement { for="HTMLMarqueeElement">width IDL attributes must reflect the respective content attributes of the same name.

                -

                The bgColor IDL attribute must - reflect the bgcolor content attribute.

                +

                The bgColor IDL attribute must reflect the + bgcolor content attribute.

                -

                The scrollAmount IDL attribute must - reflect the scrollamount content - attribute. The default value is 6.

                +

                The scrollAmount IDL attribute must + reflect the scrollamount + content attribute. The default value is 6.

                -

                The scrollDelay IDL attribute must - reflect the scrolldelay content - attribute. The default value is 85.

                +

                The scrollDelay IDL attribute must reflect + the scrolldelay content attribute. The + default value is 85.

                -

                The trueSpeed IDL attribute must - reflect the truespeed content - attribute.

                +

                The trueSpeed IDL attribute must reflect the + truespeed content attribute.

                Frames

                @@ -116451,35 +116725,42 @@ interface HTMLFrameElement : HTMLElement { data-x="attr-frame-src">src
                content attribute is defined as containing a URL.

                -

                The frameBorder IDL attribute of the - frame element must reflect the element's frameborder content attribute.

                +

                The frameBorder IDL attribute of the frame + element must reflect the element's frameborder content attribute.

                -

                The longDesc IDL attribute of the - frame element must reflect the element's longdesc content attribute, which for the purposes - of reflection is defined as containing a URL.

                +

                The longDesc IDL attribute of the frame element + must reflect the element's longdesc content attribute, which for the purposes of + reflection is defined as containing a URL.

                -

                The noResize IDL attribute of the - frame element must reflect the element's noresize content attribute.

                +

                The noResize IDL attribute of the frame element + must reflect the element's noresize content attribute.

                -

                The contentDocument IDL attribute, - on getting, must return the frame element's content document.

                +

                The contentDocument IDL attribute, on getting, must + return the frame element's content + document.

                -

                The contentWindow IDL attribute must - return the WindowProxy object of the frame element's nested - browsing context, if the element's nested browsing context is non-null, or - return null otherwise.

                +

                The contentWindow IDL attribute must return the + WindowProxy object of the frame element's nested browsing + context, if the element's nested browsing context is non-null, or return null + otherwise.

                -

                The marginHeight IDL attribute of the - frame element must reflect the element's marginheight content attribute.

                +

                The marginHeight IDL attribute of the frame + element must reflect the element's marginheight content attribute.

                -

                The marginWidth IDL attribute of the - frame element must reflect the element's marginwidth content attribute.

                +

                The marginWidth IDL attribute of the frame + element must reflect the element's marginwidth content attribute.

                @@ -116513,8 +116794,8 @@ interface HTMLFrameElement : HTMLElement { [CEReactions] attribute boolean noHref; }; -

                The noHref IDL attribute of the - area element must reflect the element's The noHref IDL + attribute of the area element must reflect the element's nohref content attribute.


                @@ -116536,16 +116817,16 @@ interface HTMLFrameElement : HTMLElement { attribute of the body element must reflect the element's link content attribute.

                -

                The aLink IDL attribute of the body - element must reflect the element's alink content - attribute.

                +

                The aLink IDL + attribute of the body element must reflect the element's alink content attribute.

                -

                The vLink IDL attribute of the body - element must reflect the element's vlink content - attribute.

                +

                The vLink IDL + attribute of the body element must reflect the element's vlink content attribute.

                -

                The bgColor IDL attribute of the - body element must reflect the element's The bgColor + IDL attribute of the body element must reflect the element's bgcolor content attribute.

                The HTMLFrameElement : HTMLElement { attribute of the col element must reflect the element's char content attribute.

                -

                The chOff IDL attribute of the col - element must reflect the element's charoff - content attribute.

                +

                The chOff + IDL attribute of the col element must reflect the element's charoff content attribute.

                -

                The vAlign IDL attribute of the col - element must reflect the element's valign - content attribute.

                +

                The vAlign + IDL attribute of the col element must reflect the element's valign content attribute.


                @@ -116708,9 +116989,9 @@ interface HTMLFontElement : HTMLElement { hr element must reflect the respective content attributes of the same name.

                -

                The noShade IDL attribute of the hr - element must reflect the element's noshade - content attribute.

                +

                The noShade IDL + attribute of the hr element must reflect the element's noshade content attribute.


                @@ -116739,21 +117020,25 @@ interface HTMLFontElement : HTMLElement { data-x="dom-iframe-scrolling">scrolling
                IDL attributes of the iframe element must reflect the respective content attributes of the same name.

                -

                The frameBorder IDL attribute of the - iframe element must reflect the element's The frameBorder IDL attribute of the iframe + element must reflect the element's frameborder content attribute.

                -

                The longDesc IDL attribute of the - iframe element must reflect the element's The longDesc IDL attribute of the iframe + element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

                -

                The marginHeight IDL attribute of the +

                The marginHeight IDL attribute of the iframe element must reflect the element's marginheight content attribute.

                -

                The marginWidth IDL attribute of the - iframe element must reflect the element's The marginWidth IDL attribute of the iframe + element must reflect the element's marginwidth content attribute.


                @@ -116777,8 +117062,8 @@ interface HTMLFontElement : HTMLElement { img element must reflect the respective content attributes of the same name.

                -

                The longDesc IDL attribute of the - img element must reflect the element's The longDesc + IDL attribute of the img element must reflect the element's longdesc content attribute, which for the purposes of reflection is defined as containing a URL.

                @@ -116798,8 +117083,8 @@ interface HTMLFontElement : HTMLElement { attribute of the input element must reflect the content attribute of the same name.

                -

                The useMap IDL attribute of the - input element must reflect the element's The useMap + IDL attribute of the input element must reflect the element's usemap content attribute.


                @@ -116920,13 +117205,15 @@ interface HTMLFontElement : HTMLElement { object element must reflect the respective content attributes of the same name.

                -

                The codeBase IDL attribute of the - object element must reflect the element's The codeBase IDL attribute of the object + element must reflect the element's codebase content attribute, which for the purposes of reflection is defined as containing a URL.

                -

                The codeType IDL attribute of the - object element must reflect the element's The codeType IDL attribute of the object + element must reflect the element's codetype content attribute.


                @@ -116960,8 +117247,9 @@ interface HTMLFontElement : HTMLElement { attribute of the param element must reflect the content attribute of the same name.

                -

                The valueType IDL attribute of the - param element must reflect the element's The valueType IDL attribute of the param + element must reflect the element's valuetype content attribute.


                @@ -117003,9 +117291,10 @@ interface HTMLFontElement : HTMLElement { data-x="dom-script-event">event
                IDL attributes of the script element must reflect the respective content attributes of the same name.

                -

                The htmlFor IDL attribute of the - script element must reflect the element's - for content attribute.

                +

                The htmlFor IDL attribute of the script element + must reflect the element's for content + attribute.


                @@ -117031,16 +117320,18 @@ interface HTMLFontElement : HTMLElement { table element must reflect the respective content attributes of the same name.

                -

                The bgColor IDL attribute of the - table element must reflect the element's The bgColor + IDL attribute of the table element must reflect the element's bgcolor content attribute.

                -

                The cellPadding IDL attribute of the - table element must reflect the element's The cellPadding IDL attribute of the table + element must reflect the element's cellpadding content attribute.

                -

                The cellSpacing IDL attribute of the - table element must reflect the element's The cellSpacing IDL attribute of the table + element must reflect the element's cellspacing content attribute.


                @@ -117062,13 +117353,15 @@ interface HTMLFontElement : HTMLElement { reflect the elements' char content attributes.

                -

                The chOff IDL attribute of the - tbody, thead, and tfoot elements must reflect - the elements' charoff content attributes.

                +

                The chOff IDL attribute of the tbody, + thead, and tfoot elements must reflect the elements' charoff content attributes.

                -

                The vAlign IDL attribute of the - tbody, thead, and tfoot element must reflect - the elements' valign content attributes.

                +

                The vAlign IDL attribute of the tbody, + thead, and tfoot element must reflect the elements' valign content attributes.


                @@ -117097,20 +117390,23 @@ interface HTMLFontElement : HTMLElement { attribute of the td and th elements must reflect the elements' char content attributes.

                -

                The chOff IDL attribute of the td - and th elements must reflect the elements' charoff content attributes.

                +

                The chOff + IDL attribute of the td and th elements must reflect the + elements' charoff content attributes.

                -

                The noWrap IDL attribute of the td - and th elements must reflect the elements' The noWrap IDL attribute of the td and + th elements must reflect the elements' nowrap content attributes.

                -

                The vAlign IDL attribute of the td - and th elements must reflect the elements' The vAlign IDL attribute of the td and + th elements must reflect the elements' valign content attributes.

                -

                The bgColor IDL attribute of the - td and th elements must reflect the elements' The bgColor IDL attribute of the td and + th elements must reflect the elements' bgcolor content attributes.


                @@ -117132,17 +117428,17 @@ interface HTMLFontElement : HTMLElement { attribute of the tr element must reflect the element's char content attribute.

                -

                The chOff IDL attribute of the tr - element must reflect the element's charoff - content attribute.

                +

                The chOff IDL + attribute of the tr element must reflect the element's charoff content attribute.

                -

                The vAlign IDL attribute of the tr - element must reflect the element's valign content - attribute.

                +

                The vAlign + IDL attribute of the tr element must reflect the element's valign content attribute.

                -

                The bgColor IDL attribute of the tr - element must reflect the element's bgcolor - content attribute.

                +

                The bgColor + IDL attribute of the tr element must reflect the element's bgcolor content attribute.


                @@ -117224,7 +117520,8 @@ interface HTMLFontElement : HTMLElement { whose filter matches nothing. (It exists for historical reasons.)

                The clear(), - captureEvents(), and captureEvents(), + and releaseEvents() methods must do nothing.


                @@ -117242,7 +117539,9 @@ interface HTMLFontElement : HTMLElement { [Replaceable, SameObject] readonly attribute External external; };
                -

                The captureEvents() and releaseEvents() methods must do nothing.

                +

                The captureEvents() and releaseEvents() methods must do nothing.

                The external attribute of the Window interface must return an instance of the External @@ -117254,8 +117553,9 @@ interface External { undefined IsSearchProviderInstalled(); }; -

                The AddSearchProvider() and - The AddSearchProvider() and IsSearchProviderInstalled() methods must do nothing.