diff --git a/source b/source index fe2311a4a75..7ced7428075 100644 --- a/source +++ b/source @@ -14210,7 +14210,6 @@ c-end = "-->" the style element. Non-network errors in processing the style sheet or its subresources (e.g. CSS parse errors, PNG decoding errors) are not failures for the purposes of this paragraph.

-

The task source for these tasks is the DOM manipulation task source.

@@ -42172,7 +42171,7 @@ interface HTMLFormElement : HTMLElement {

Once an element has been referenced using a particular name, that name will continue being available as a way to reference that element in this method, even if the element's actual ID or name changes, for as long as - the element remains in the Document.

+ the element remains in the tree.

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

@@ -42515,12 +42514,12 @@ interface HTMLFormElement : HTMLElement {

The for attribute may be specified to indicate a form control with which the caption is to be associated. If the attribute is specified, the attribute's value must be the ID of a labelable element in the same Document as the + data-x="category-label">labelable element in the same tree as the label element. If the attribute is specified and there is an - element in the Document whose ID is equal to the - value of the for attribute, and the first such element is a - labelable element, then that element is the label - element's labeled control.

+ element in the tree whose ID is equal to the value + of the for attribute, and the first such element in + tree order is a labelable element, then that + element is the label element's labeled control.

@@ -46764,8 +46763,8 @@ ldh-str = < as defined in radio button group - contains only that element.

+

A tree must not contain an input element whose radio button group contains only that element.

@@ -46821,9 +46820,9 @@ ldh-str = < as defined in If none of the radio buttons in a radio button group are checked when - they are inserted into the document, then they will all be initially unchecked in the interface, - until such time as one of them is checked (either by the user or by script).

+

If none of the radio buttons in a radio button group are checked, + then they will all be initially unchecked in the interface, until such time as one of them is + checked (either by the user or by script).

@@ -47320,10 +47319,9 @@ ldh-str = < as defined in request whose url is the resulting URL record, client is the element's node document's - Window object's environment settings object, type is "image", destination is "subresource", - omit-Origin-header flag is set, relevant settings object, type is "image", destination is "subresource", omit-Origin-header flag is set, credentials mode is "include", and whose use-URL-credentials flag is set.

@@ -48430,17 +48428,17 @@ You cannot submit this form when the field is incorrect. element that lists predefined options suggested to the user.

If present, its value must be the ID of a datalist - element in the same document.

+ element in the same tree.

The suggestions source element is the first element in - the document in tree order to have an ID equal to the - value of the list attribute, if that element is a - datalist element. If there is no list attribute, - or if there is no element with that ID, or if the first element - with that ID is not a datalist element, then there is - no suggestions source element.

+ the tree in tree order to have an ID + equal to the value of the list attribute, if that element is + a datalist element. If there is no list + attribute, or if there is no element with that ID, or if the + first element with that ID is not a datalist + element, then there is no suggestions source element.

If there is a suggestions source element, then, when the user agent is allowing the user to edit the input element's </textarea> data-x="attr-output-for">for attribute, if specified, must contain a string consisting of an unordered set of unique space-separated tokens that are case-sensitive, each of which must have the value of an ID of an element in the same Document.

+ data-x="concept-id">ID of an element in the same tree.

The form attribute is used to explicitly associate the output element with its form owner. The </p>

If a listed form-associated element has a form attribute specified, then that attribute's value must be - the ID of a form element in the element's owner - Document.

+ the ID of a form element in the element's + tree.

The rules in this section are complicated by the fact that although conforming - documents will never contain nested form elements, it is quite possible (e.g. using a - script that performs DOM manipulation) to generate documents that have such nested elements. They - are also complicated by rules in the HTML parser that, for historical reasons, can result in a - form-associated element being associated with a form element that is not - its ancestor.

+ documents or trees will never contain nested form + elements, it is quite possible (e.g., using a script that performs DOM manipulation) to generate + trees that have such nested elements. They are also complicated by + rules in the HTML parser that, for historical reasons, can result in a form-associated + element being associated with a form element that is not its ancestor.

When a form-associated element is created, its form owner must be initialised to null (no owner).

@@ -52287,10 +52285,9 @@ out of 233 257 824 bytes available</meter></p> be set to that form.

When a form-associated element or one of its ancestors is inserted into a Document, then the user agent must - reset the form owner of that form-associated element. The HTML parser overrides this requirement when inserting form - controls.

+ connected">connected, then the user agent must reset the form owner of that + form-associated element. The HTML parser overrides + this requirement when inserting form controls.

When an element changes its parent node resulting in a form-associated element and its form owner (if any) no longer being in the same tree, then the user @@ -52302,7 +52299,7 @@ out of 233 257 824 bytes available</meter></p>

When a listed form-associated element has a form attribute and the ID of - any of the elements in the Document changes, then the user agent must reset the + any of the elements in the tree changes, then the user agent must reset the form owner of that form-associated element.

When a listed form-associated element has a @@ -52313,7 +52310,7 @@ out of 233 257 824 bytes available</meter></p> form-associated element.

When the user agent is to reset the form owner of a form-associated - element, it must run the following steps:

+ element element, it must run the following steps:

    @@ -52321,48 +52318,38 @@ out of 233 257 824 bytes available</meter></p>

    If all of the following conditions are true

      -
    • the element's form owner is not null -
    • the element is not listed or its - form content attribute is not present -
    • the element's form owner is its nearest form element ancestor - after the change to the ancestor chain +
    • element's form owner is not null +
    • element is not listed or its form content attribute is not present +
    • element's form owner is its nearest form element + ancestor after the change to the ancestor chain

    then do nothing, and abort these steps.

    -
  1. Let the element's form owner be null.

  2. +
  3. Set element's form owner to null.

  4. - -

    If the element is listed, has a form content attribute, and is itself in a Document, then run these substeps:

    +

    If element is listed, has a form content attribute, and is itself in a shadow-including + document, then run this substep:

      - +
    1. If the first element in element's tree, in tree + order, to have an ID that is case-sensitively equal to element's form content attribute's value, is a form element, + then associate the element with that + form element.

    2. -
    3. If the first element in the Document to - have an ID that is case-sensitively equal to the element's form content attribute's value is a form element, - then associate the form-associated - element with that form element.

    4. - -
    5. Abort the "reset the form owner" steps.

    6. - + case sensitive) -->
    -
  5. -
  6. Otherwise, if the form-associated element in question has an ancestor - form element, then associate the - form-associated element with the nearest such ancestor form - element.

  7. - -
  8. Otherwise, the element is left unassociated.

  9. - +
  10. Otherwise, if element has an ancestor form element, then associate element with the nearest such + ancestor form element.

@@ -54377,8 +54364,8 @@ MIT Room 32-G524

When the autofill field name is "on", the user agent should attempt to use heuristics to determine the most appropriate values to offer the user, e.g. based on the element's name value, the position of the element in the document's DOM, what - other fields exist in the form, and so forth.

+ data-x="attr-fe-name">name
value, the position of the element in its tree, + what other fields exist in the form, and so forth.

When the autofill field name is one of the names of the autofill fields described above, the user agent should provide suggestions that @@ -59599,7 +59586,6 @@ o............A....e

Otherwise queue a task to fire a simple event named load at the script element.

-