diff --git a/source b/source index 0dd6276d1f2..0553c000382 100644 --- a/source +++ b/source @@ -11328,8 +11328,8 @@ partial interface Document {
  1. Let element be the result of creating an - element given the document element's node document, title, and the SVG namespace.

    + element given the document element's node document, "title", and the SVG namespace.

  2. Insert element as the first child of the document element.

  3. @@ -11354,8 +11354,8 @@ partial interface Document {
    1. Let element be the result of creating an - element given the document element's node document, - title, and the HTML namespace.

      + element given the document element's node document, "title", and the HTML namespace.

    2. Append element to the head element.

    3. @@ -14717,8 +14717,8 @@ interface DOMStringMap {
    4. Advance position to the next code point in input.

    5. Append the result of creating an element given document, br, and the - HTML namespace to fragment.

    6. + element">creating an element given document, "br", + and the HTML namespace to fragment.

@@ -29917,7 +29917,7 @@ img.decode().then(() => { data-x="concept-document-window">associated Document.

  • Let img be the result of creating an - element given document, img, and the HTML + element given document, "img", and the HTML namespace.

  • If width is given, then set @@ -35450,7 +35450,7 @@ interface HTMLAudioElement : HTMLMediaElement data-x="concept-document-window">associated Document.

  • Let audio be the result of creating an - element given document, audio, and the HTML + element given document, "audio", and the HTML namespace.

  • Set an attribute value for @@ -43565,8 +43565,8 @@ interface HTMLTableSectionElement : HTMLElement"IndexSizeError" DOMException.

  • Let table row be the result of creating an - element given this element's node document, tr, and the - HTML namespace.

  • + element given this element's node document, "tr", and + the HTML namespace.

  • If index is −1 or equal to the number of items in the rows collection, then HTMLTableRowElement : HTMLElement { "IndexSizeError" DOMException.

  • Let table cell be the result of creating an - element given this tr element's node document, td, - and the HTML namespace.

  • + element given this tr element's node document, "td", and the HTML namespace.

  • If index is equal to −1 or equal to the number of items in cells collection, then HTMLOptionElement : HTMLElement { data-x="concept-document-window">associated Document.

  • Let option be the result of creating an - element given document, option, and the HTML + element given document, "option", and the HTML namespace.

  • If text is not the empty string, then append to option a new @@ -72482,7 +72482,7 @@ document.body.append(parent);

    The reset algorithm for form-associated custom elements is to enqueue a custom element callback reaction with the element, callback name "formResetCallback", and an empty argument list.

    + data-x="">formResetCallback", and « ».


    @@ -73113,13 +73113,12 @@ customElements.define("x-foo", class extends HTMLElement {
  • For each attribute in element's attribute list, in order, enqueue a custom element callback reaction with element, callback - name "attributeChangedCallback", and an argument list containing - attribute's local name, null, attribute's value, and attribute's - namespace.

  • + name "attributeChangedCallback", and « attribute's local name, + null, attribute's value, attribute's namespace ».

  • If element is connected, then enqueue a custom element callback reaction with element, callback name "connectedCallback", and an empty argument list.

  • + data-x="">connectedCallback", and « ».

  • Add element to the end of definition's construction stack.

  • @@ -73788,15 +73787,14 @@ dictionary ValidityStateFlags { element's state, for example after navigation or restarting the user agent, they may enqueue a custom element callback reaction with that element, callback name "formStateRestoreCallback", an argument list containing the state to be - restored, and "restore".

    + data-x="">formStateRestoreCallback", and « the state to be restored, "restore" ».

    -

    If the user agent has a form-filling assist feature, then when the feature is invoked, - it may enqueue a custom element callback reaction with - a form-associated custom element, callback name - "formStateRestoreCallback", an argument list containing the state value - determined by history of state value and some heuristics, and - "autocomplete".

    +

    If the user agent has a form-filling assist feature, then when the feature is invoked, it may + enqueue a custom element callback reaction with a form-associated custom + element, callback name "formStateRestoreCallback", and « the state + value determined by history of state value and some heuristics, "autocomplete" ».

    In general, the state is information specified by a user, and the submission value is a value after canonicalization @@ -104969,15 +104967,15 @@ new PaymentRequest(…); // Allowed to use

    1. Let html be the result of creating an - element given document, html, and the HTML + element given document, "html", and the HTML namespace.

    2. Let head be the result of creating an - element given document, head, and the HTML + element given document, "head", and the HTML namespace.

    3. Let body be the result of creating an - element given document, body, and the HTML + element given document, "body", and the HTML namespace.

    4. Append html to @@ -115040,7 +115038,8 @@ enum DOMParserSupportedType {

    5. If parent is a DocumentFragment, set parent to the result of creating an element given this's - node document, body, and the HTML namespace.

    6. + node document, "body", and the HTML + namespace.

    7. Let fragment be the result of invoking the fragment parsing algorithm steps given parent and compliantString.

    8. @@ -115141,8 +115140,8 @@ enum DOMParserSupportedType {

      set context to the result of creating an - element given this's node document, body, and - the HTML namespace.

      + element given this's node document, "body", and the HTML namespace.

    9. @@ -115254,8 +115253,8 @@ enum DOMParserSupportedType {

      then set element to the result of creating an - element given this's node document, body, and the - HTML namespace.

      + element given this's node document, "body", and the HTML namespace.

    10. Let fragment node be the result of invoking the fragment parsing @@ -129198,12 +129197,12 @@ dictionary StorageEventInit : EventInit { definition">looking up a custom element definition given document, given namespace, local name, and is.

    11. -
    12. If definition is non-null and the parser was not created as part of the - HTML fragment parsing algorithm, then let will execute script be true. - Otherwise, let it be false.

    13. +
    14. Let willExecuteScript be true if definition is non-null and the + parser was not created as part of the HTML fragment parsing algorithm; otherwise + false.

    15. -

      If will execute script is true, then:

      +

      If willExecuteScript is true:

      1. Increment document's throw-on-dynamic-markup-insertion @@ -129219,12 +129218,11 @@ dictionary StorageEventInit : EventInit {

      2. Let element be the result of creating an - element given document, localName, given - namespace, null, and is. If will execute script is true, set the - synchronous custom elements flag; otherwise, leave it unset.

        + element given document, localName, given namespace, + null, is, and willExecuteScript.

        This will cause custom element - constructors to run, if will execute script is true. However, since we + constructors to run, if willExecuteScript is true. However, since we incremented the throw-on-dynamic-markup-insertion counter, this cannot cause new characters to be inserted into the tokenizer, or the document to be blown away.

        @@ -129245,7 +129243,7 @@ dictionary StorageEventInit : EventInit {
      3. -

        If will execute script is true, then:

        +

        If willExecuteScript is true:

        1. Let queue be the result of popping from document's relevant