Skip to content
Switch branches/tags

Commits on Jul 3, 2022

  1. Fix a hgroup subheading example

    This was missed in 6682bde.
    cadonau committed Jul 3, 2022
  2. Fix events index entry for securitypolicyviolation

    According to CSP, the interface for the securitypolicyviolation event is SecurityPolicyViolationEvent, not Event:
    dontcallmedom committed Jul 3, 2022

Commits on Jul 1, 2022

  1. Replace the outline algorithm with one based on heading levels

    Removes the idea of sectioning content influencing the document's outline. Instead, the outline is derived from all of the document's h1-h6 elements. (Sectioning content still plays a role in scoping header and footer elements.) This ensures that the outline generated by the outline algorithm, i.e. the document's semantics for authors, better aligns with the way screen reader users navigate through headings and the corresponding normative requirements for implementations in the HTML-AAM specification.
    Updates the hgroup element to have a new content model, to use p elements for related content such as subheadings, alternative titles, or taglines (instead of using heading elements for those).
    Updates all of the spec's examples to have proper outlines, according to the new outline algorithm. This includes preferring h2 to h1 in markup fragment cases, so as to better suggest that they are part of a larger document whose outline contains a h1.
    Closes #83. Closes #3499 by superseding it. Closes #6462 by updating hgroup's suggested usage instead of obsoleting it. See #7867 for potential followup work in avoiding sectioning content and hgroup influencing the style of h1-h6 elements.
    Co-authored-by: Anne van Kesteren <>
    Co-authored-by: Domenic Denicola <>
    3 people committed Jul 1, 2022

Commits on Jun 30, 2022

  1. Add import.meta.resolve()

    Closes #3871.
    domenic committed Jun 30, 2022

Commits on Jun 27, 2022

  1. Add note about last activation timestamp spanning navigations

    The comment to make the current behavior with bfcache more obvious, as mentioned in #6588. (This is just an additional note and doesn't actually change any behavior.)
    Closes #6588.
    rakina committed Jun 27, 2022

Commits on Jun 17, 2022

  1. Integrate with WebDriver BiDi user prompt handling

    Each time we are about to pause for a user prompt, and after each pause, invoke the appropriate WebDriver BiDi algorithms.
    jgraham committed Jun 17, 2022
  2. Fix webauthn autocomplete token example

    The example incorrectly used "password" instead of "current-password".
    Fixes #8019.
    nsatragno committed Jun 17, 2022

Commits on Jun 16, 2022

  1. Add "webauthn" autocomplete token

    This allows displaying Web Authentication credentials through conditional mediation.
    Fixes #7999.
    nsatragno committed Jun 16, 2022

Commits on Jun 15, 2022

  1. Compare against storage key when creating a shared worker

    This is technically not a normative change right now, but it will be when whatwg/storage#144 lands.
    wanderview committed Jun 15, 2022

Commits on Jun 10, 2022

  1. Add reflection for ID-referencing attributes

    This is notably planned to be used by the ARIA specification.
    Co-authored-by: Alice Boxhall <>
    Closes #3917 by superseding it.
    mrego committed Jun 10, 2022

Commits on Jun 9, 2022

  1. Add a global event handler for beforeinput

    Fixes #4526.
    Also remove our definition of the input event, instead pointing to the one in the UI Events specification.
    mfreed7 committed Jun 9, 2022

Commits on Jun 8, 2022

  1. Add a "same site" algorithm for sites

    Previously we only had one for origins.
    wanderview committed Jun 8, 2022
  2. Editorial: clarify string attribute reflection and enumerated attributes

    Algorithmize USVString, DOMString, and DOMString? reflection. This is easier to read, partially because it spreads out the steps and branches, and partially because of the asserts making some conditions explicit.
    Rewrites the section on enumerated attributes to be more clear about how they work. Notably this gives an explicit algorithm for determining the state, instead of a couple paragraphs of prose. It also broadens the definition of "canonical keyword" to automatically be determined in simpler cases, instead of only used in tricky cases.
    Finally, make it clear that DOMString?-reflected enumerated attributes (of which crossOrigin/crossorigin=""  is the only one currently) are always "limited to only known values".
    domenic committed Jun 8, 2022

Commits on Jun 7, 2022

  1. Remove ErrorEventInit's error default

    This ensures that ErrorEvent has equivalent expressiveness to reportError().
    Fixes #7853.
    annevk committed Jun 7, 2022

Commits on Jun 2, 2022

  1. Support nonce and referrer policy in preload and Link headers

    Both are already supported by Gecko, and WebKit and Chromium already support nonce.
    noamr committed Jun 2, 2022

Commits on May 31, 2022

  1. Correct unload event timing for different COOP

    Sometimes a navigation causes a BCG swap, e.g. when the cross-origin isolated capability changes. In that case:
    * The timestamps should coarsened based on both documents.
    * Some user-agents unload in parallel, which should not become part of the new document's timing info.
    * Time origin should be according to the new global's time origin, but coarsened by both.
    Closes w3c/navigation-timing#169.
    noamr committed May 31, 2022

Commits on May 26, 2022

  1. Editorial: refactor Link header processing to be declared per-type

    See #7890 for more refactoring follow-up work.
    noamr committed May 26, 2022

Commits on May 25, 2022

  1. Editorial: update IETF spec links

    Closes #7671. Per discussion there, this prefers links and then links, since these have reasonable formatting for recent specifications.
    domenic authored and annevk committed May 25, 2022

Commits on May 23, 2022

  1. Remove most status/range verification for media responses

    f495c02 added some verification to media range responses, but in reality this verification is not present in most implementations. See discussion in #7655 (comment).
    noamr committed May 23, 2022

Commits on May 20, 2022

  1. Reference RFC 9239 instead of RFC 4329

    RFC 9239 resolves the disagreement between WHATWG and IETF w.r.t. the JavaScript MIME type. This patch removes the mention of the previously required willful violation and cleans up the MIME type list, removing any JavaScript MIME types that are now no longer mentioned in the HTML Standard.
    mathiasbynens committed May 20, 2022

Commits on May 19, 2022

  1. Clean up the script element processing model

    * Modernize the definitions and usage of various fields associated with script element, e.g. by removing "scare quotes", changing names from verbose things like "the script's type" to just "type", changing flags to booleans, ensuring initial values are defined, etc. Notable field changes:
        * Rename "the script's script" to "result". This serves as preparation for other specifications, such as import maps, which will expand what that field can contain.  
        * Rename "non-blocking" to "force async" to better communicate its connection to the async="" content attribute and to avoid confusion with the blocking="" content attribute.
    * Revamp "the script is ready" into three separate concepts: "delaying the load event", "mark as ready", and "steps to run when the result is ready". Fixes #5217, in particular making it so that script elements which are never marked as ready (e.g., <script type="foobar">) don't delay the load event indefinitely.
    * Un-export "prepare a script". All uses of it in external specs are either monkeypatches or non-normative references.
    * Rename "prepare a script" to "prepare the script element" to emphasize it's about the `<script>` element, not about the separate script concept.
    * Rewrite the final of "prepare the script element" from a switch into a series of nested if/else blocks, which better communicates how we can land in the various different script element execution modes.
    * Rename "execute a script block" to "execute the script element", since "block" is a strange term.
    * Various other editorial improvements to those two algorithms.
    domenic committed May 19, 2022
  2. Editorial: correct case

    j9t committed May 19, 2022
  3. Editorial: correct plurality

    j9t committed May 19, 2022
  4. Editorial: add missing words

    j9t committed May 19, 2022

Commits on May 18, 2022