diff --git a/source b/source index df3f20d06df..e2988e40161 100644 --- a/source +++ b/source @@ -2225,6 +2225,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • scalar value string
  • convert
  • ASCII string
  • +
  • ASCII tab or newline
  • ASCII whitespace
  • control
  • ASCII digit
  • @@ -14743,18 +14744,28 @@ interface HTMLBaseElement : HTMLElement { data-x="attr-base-target">target attributes, all but the first are ignored.

    To get an element's target, given an a, area, or - form element element, run these steps: + form element element, and an optional string-or-null target + (default null), run these steps:

      -
    1. If element has a target attribute, then return that - attribute's value.

    2. +
    3. +

      If target is null, then:

      -
    4. If element's node document contains a base element - with a target attribute, then return the value of the - target attribute of the first such base - element.

    5. +
        +
      1. If element has a target attribute, then set + target to that attribute's value.

      2. -
      3. Return the empty string.

      4. +
      5. Otherwise, if element's node document contains a + base element with a target attribute, set + target to the value of the target attribute + of the first such base element.

      6. +
      + + +
    6. If target is not null, and contains an ASCII tab or newline and a + U+003C (<), then set target to "_blank".

    7. + +
    8. Return target.


    @@ -58949,11 +58960,16 @@ fur
  • Let enctype be the submitter element's enctype.

  • -
  • Let target be the submitter element's formtarget attribute value, if the element is a submit button and has such an attribute. Otherwise, let it - be the result of getting an element's target given - submitter's form owner.

  • +
  • Let formTarget be null.

  • + +
  • If the submitter element is a submit + button and it has a formtarget attribute, then + set formTarget to the formtarget attribute + value.

  • + +
  • Let target be the result of getting an + element's target given submitter's form owner and + formTarget.

  • Let noopener be the result of getting an element's noopener with form and target.

  • @@ -93862,9 +93878,10 @@ interface BeforeUnloadEvent : Event { data-x="attr-hyperlink-target">target attribute) to target navigations at that navigable.

    -

    A valid navigable target name is any string with - at least one character that does not start with a U+005F LOW LINE character. (Names starting with - an underscore are reserved for special keywords.)

    +

    A valid navigable target name is any string with at + least one character that does not contain both an ASCII tab or newline and a U+003C + (<), and it does not start with a U+005F (_). (Names starting with a U+005F (_) are reserved + for special keywords.)

    A valid navigable target name or keyword is any string that is either a valid navigable target name or that is