diff --git a/source b/source index 6a90ce2c9b2..fc354ef6d18 100644 --- a/source +++ b/source @@ -55619,15 +55619,12 @@ fur empty.

  • - -

    Loop: For each element field in controls, in - tree order, run the following substeps:

    +

    For each element field in controls, in tree order:

    1. - -

      If any of the following conditions are met, then skip these substeps for this element:

      +

      If any of the following is true:

        @@ -55660,8 +55657,7 @@ fur
      -

      Otherwise, process field as follows:

      - +

      Then continue.

    2. Let type be the value of the type IDL @@ -55669,14 +55665,11 @@ fur will get ignored. -->

    3. -

      If the field element is an input element whose type attribute is in the Image Button state, then run these further nested - substeps:

      + data-x="attr-input-type-image">Image Button state, then:

        -
      1. If the field element has a name attribute specified and its value is not the empty string, let name be that value followed by a single U+002E FULL STOP character (.). Otherwise, let name be the empty string.

      2. @@ -55700,11 +55693,8 @@ fur
      3. Append an entry to the form data set with the name namey and the value y, and the type type.

      4. -
      5. Skip the remaining substeps for this element: if there are any more elements in controls, return to the top of the loop step, otherwise, jump to the - end step below.

      6. - +
      7. Continue.

      -
    4. Let name be the value of the field element's @@ -55786,22 +55776,16 @@ fur type attribute is in either the Text state or the Search state.

      -
    5. -
    -
  • - -

    End: For the name of each entry in the form data set, and for the - value of each entry in the form data set whose type is not "file" or "textarea", replace every occurrence of a U+000D - CARRIAGE RETURN (CR) character not followed by a U+000A LINE FEED (LF) character, and every - occurrence of a U+000A LINE FEED (LF) character not preceded by a U+000D CARRIAGE RETURN (CR) - character, by a two-character string consisting of a U+000D CARRIAGE RETURN U+000A LINE FEED - (CRLF) character pair.

    +

    For the name of each entry in the form data set, and for the value of each entry + in the form data set whose type is not "file" or "textarea", replace every occurrence of U+000D (CR) not followed by U+000A (LF), + and every occurrence of U+000A (LF) not preceded by U+000D (CR), by a string consisting of a + U+000D (CR) and U+000A (LF).

    In the case of the value of textarea elements, this newline normalization is already performed during the @@ -55810,7 +55794,6 @@ fur wrapping). In the case of input elements type attributes in the File Upload state, the value is not normalized.

    -
  • Replace the name of each entry in the form data set, and the value of each @@ -69537,26 +69520,28 @@ Demos: ID ID, then add the first such element to pending.

  • -
  • Loop: If pending is empty, jump to the step labeled end of - loop.

  • - -
  • Remove an element from pending and let current be - that element.

  • +
  • +

    While pending is not empty:

    -
  • If current is already in memory, there is a - microdata error; return to the step labeled loop.

  • +
      +
    1. Remove an element from pending and let current be that + element.

    2. -
    3. Add current to memory.

    4. +
    5. If current is already in memory, there is a + microdata error; continue.

    6. -
    7. If current does not have an itemscope attribute, then: add all the child elements of current to pending.

    8. +
    9. Add current to memory.

    10. -
    11. If current has an itemprop - attribute specified and has one or more property names, then add current to results.

    12. +
    13. If current does not have an itemscope + attribute, then: add all the child elements of current to + pending.

    14. -
    15. Return to the step labeled loop.

    16. +
    17. If current has an itemprop attribute + specified and has one or more property names, then add current to + results.

    18. +
    -
  • End of loop: Sort results in tree order.

  • +
  • Sort results in tree order.

  • Return results.