Skip to content

Commits on Sep 16, 2021

  1. Make all input elements display: inline-block by default

    Part of #4082
    Force inner display type to flow-root and ignore overflow
    drop-down select is display: inline-block
    Require text inputs to be scroll containers
    And only support scrolling in the inline axis.
    This should address the third bullet point in
    #4082 (comment)
    zcorpan committed Sep 16, 2021
  2. Eliminate redundant CSS module script fetch in workers

    Currently the check that disallows creation of CSS module scripts in worker contexts only happens after the fetch for that import is performed. This change moves the check to where we check that the assertion type is a valid value. By doing so, failing that check prevents the fetch.
    Closes #7047.
    dandclark committed Sep 16, 2021

Commits on Sep 14, 2021

  1. Define speculative HTML parsing

    Fixes #5624.
    zcorpan committed Sep 14, 2021

Commits on Sep 11, 2021

  1. Fix up the explanation for "can have its URL rewritten"

    Closes #7049.
    domenic authored and annevk committed Sep 11, 2021

Commits on Sep 10, 2021

  1. Do not allow redirecting to data: or about: URLs

    Also remove the reference to filesystem: URLs since those are no longer acknowledged in spec-land.
    Closes #7045.
    domenic committed Sep 10, 2021

Commits on Sep 9, 2021

  1. Change "can have its URL rewritten" to be scheme-based

    Closes #6836. Closes #6992 by superseding it.
    domenic committed Sep 9, 2021

Commits on Sep 8, 2021

  1. Clarify matching of user input to datalist values

    Changes the description of datalist matching to use the term "search within" instead of "substring match", and adds examples of some of the textual variation issues that user agents might consider.
    Closes #4814.
    aphillips committed Sep 8, 2021

Commits on Sep 7, 2021

  1. Remove session history entry title-related example

    This example no longer makes any sense after e0b554b.
    domenic authored and annevk committed Sep 7, 2021

Commits on Sep 1, 2021

  1. Editorial: factor out and rephrase "can have its URL rewritten"

    This creates a dedicated algorithm that underlies whether a URL can be rewritten using history.pushState()/replaceState(). The algorithm is phrased differently than the old inline steps, but it has the same normative effect, and is clearer since it involves less negatives.
    This also adds a table of examples for "can have its URL rewritten", and modernizes and expands the domintros for the pushState() and replaceState() methods.
    domenic committed Sep 1, 2021

Commits on Aug 31, 2021

  1. Editorial: use static class property syntax in examples

    We previously used static getters since static class properties did not have great browser support. Now they are in all engines.
    domenic authored and annevk committed Aug 31, 2021
  2. More neutral img replacement text example

    Fixes #6952.
    edent committed Aug 31, 2021

Commits on Aug 30, 2021

  1. Remove the notion of "secured plugins"

    Instead, sandboxed documents are just never allowed to display plugins. (Which, in the modern world, just means PDFs.)
    Closes #3958. Helps with #6003.
    domenic committed Aug 30, 2021

Commits on Aug 23, 2021

Commits on Aug 19, 2021

  1. Add contextlost/contextrestored event handlers to more places

    These were missed in 88c994a. Closes #6969.
    yiyix committed Aug 19, 2021

Commits on Aug 18, 2021

  1. Add context loss handling for 2D canvas

    This adds a cancelable contextlost event, a contextrestored event, and an isContextLost() method.
    Closes #4809. Closes #2303.
    yiyix committed Aug 18, 2021

Commits on Aug 12, 2021

  1. Removed domintro section from the HTMLAllCollection section

    It's a legacy feature so we shouldn't be encouraging developers to use it.
    Piers Wombwell authored and domenic committed Aug 12, 2021

Commits on Aug 11, 2021

Commits on Aug 10, 2021

  1. Change initial about:blank navigation behavior for iframes and popups

    For iframes: previously, we did a confusing thing where we would navigate to a non-initial about:blank. 2/3 engines instead just fire a synchronous load event at the iframe element, with no navigation. This is a bit simpler, and matches the popup case a bit better (after the below modifications).
    For popups: previously, we fired the load event (but not the pageshow event) when the popup stays on the initial about:blank. 2/3 engines instead fire no events in this case, and the remaining one only fires it in the explicit "about:blank" case but not in the empty string case.
    In both cases, it wasn't quite clear what to do when navigating to something like about:blank#foo or about:blank?foo. The spec now makes it clear that such cases cause URL updates of the new browsing context but not full navigations. In particular, for now at least the the initial about:blank-ness of the Document is retained. (In browsers, it seems like it's always retained for replacement vs. push purposes, but is only sometimes retained for Window object reuse purposes. #3267 tracks sorting that out.)
    This also refactors the window open steps so that they have two primary branches, depending on whether to create a new window or not. Previously the steps were sorta unified, but there were a lot of consultations of the "new" variable throughout, which made it hard to understand the differences between the cases.
    Closes #6863.
    domenic committed Aug 10, 2021

Commits on Aug 6, 2021

  1. Expand <details> for find-in-page and fragment navigations

    Closes #4051.
    This also changes the rendering model of hidden <details> content to use content-visibility: none instead of being "removed from the rendering".
    josepharhar committed Aug 6, 2021

Commits on Aug 3, 2021

  1. Plugins are no longer an extensibility mechanism

    With Flash no longer being supported, it shouldn't be listed as an example of the use of plugins. Furthermore, since #6003 aims to remove any complexity around plugins except for that which is needed for PDF viewers, it is clear that plugins in general are no longer an extensibility mechanism.
    andreubotella committed Aug 3, 2021
  2. Fix minor errors in COOP spec

    Closes #6925 and closes #6926.
    camillelamy committed Aug 3, 2021
  3. Fix best practice advice for freeing media element resources

    This came up in the context of
    Per spec, removing the src attribute does not release resources, so the best practices section shouldn't suggest doing so. See
    dalecurtis committed Aug 3, 2021

Commits on Jul 30, 2021

Commits on Jul 29, 2021

  1. Add WebCodecs VideoFrame as CanvasImageSource

    Adding VideoFrame as a CanvasImageSource allows drawImage(), createImageBitmap(), and texImage() to interoperate with VideoFrames. VideoFrames are effectively the same as the existing point-in-time capture done for HTMLVideoElement on each of these interfaces.
    Fixes w3c/webcodecs#158.
    dalecurtis committed Jul 29, 2021