Permalink
Commits on Sep 17, 2018
  1. Revert "Add advances to TextMetrics and change baselines API"

    domenic committed Sep 17, 2018
    This reverts commit 7711a1f. As
    discussed in #3995, these changes were made prematurely without
    appropriate implementer sign-off. Since then, a plethora of issues
    around the changes here have been opened up (e.g. #3994, #4023, #4026,
    #4030, #4033, #4034). We revert these changes until a more complete and
    agreed-upon specification can replace them.
    
    Closes #3995.
Commits on Sep 12, 2018
  1. Meta: update some syntax highlighting stuff

    domenic committed Aug 13, 2018
    * Makes "bad" examples fit the current code block style, instead of
      removing their background.
    * Marks ABNF code as such. This will require html-build tweaks to have
      an effect.
    * Adds syntax highlighting styles to the dev edition. Closes #3755.
    * Removes no-longer-necessary [hidden] rule, per
      whatwg/whatwg.org#220 (comment).
Commits on Aug 20, 2018
  1. Clarify and tweak <embed> processing model

    domenic committed Aug 20, 2018
    This rewrites the <embed> processing model in a more modern style, along
    the way clarifying a few things and making some minor normative changes.
    
    * Fixes #3876 by colocating the text about notification of there being
      no plugin into the main algorithm, where it is more easily noticed.
    * Changes to not fire load events when no plugin is loaded.
    * Changes the SVG browsing context to get unloaded when a non-SVG is
      being displayed.
    
    With regard to these normative changes, browsers behave inconsistently.
    Indeed, they behave inconsistently in general with regard to lots of
    features of <embed> and <object>; see
    https://github.com/whatwg/html/labels/topic%3A%20embed%20and%20object.
    We leave a more comprehensive overhaul, including with a testing story,
    for later work. This revision just provides a basis for that future
    work.
Commits on Aug 15, 2018
Commits on Aug 11, 2018
  1. Fix and clarify some [CEReactions] annotations

    domenic authored and annevk committed Aug 11, 2018
    Closes #3887, for nonce="". Closes #3889, for textarea's value="".
Commits on Aug 10, 2018
  1. Remove help cursor from user-agent stylesheet

    domenic committed Aug 10, 2018
    This is not implemented anywhere.
    
    Tests: web-platform-tests/wpt#12415
Commits on Aug 2, 2018
  1. Add examples for queueMicrotask()

    domenic committed Aug 2, 2018
    Also rearranges the domintro and normative definition to come first,
    before the explanatory text.
Commits on Aug 1, 2018
  1. Add self.queueMicrotask()

    domenic committed Aug 1, 2018
Commits on Jul 25, 2018
  1. Clarify and explain agents and agent clusters

    domenic committed Jul 25, 2018
    * Explain the agent ↔ thread and agent cluster ↔ process boundary
      connection. See the most recent example of the editors explaining this
      to folks in #3766.
    * Fix misleading note about how agents map to worklets.
    * Add an example showing that two same-origin, but unrelated, Windows
      are in different agent clusters.
    * Tidy up and rearrange some of the introductory material to each
      section.
Commits on Jul 1, 2018
Commits on Jun 27, 2018
  1. Correctly set "is value" in [HTMLConstructor]

    domenic committed Jun 27, 2018
    Fixes #3776.
    
    Tests: already present in
    web-platform-tests/wpt@1e4fe87#diff-d2e09155cd799584f19630072186bff5,
    as we forgot to update this part of the HTML Standard when we merged
    whatwg/dom#566.
Commits on Mar 16, 2018
  1. Clamp selection and text entry cursor position on value changes

    domenic committed Feb 17, 2018
    Fixes #2424. Fixes #2411. Fixes #3468.
  2. Change textarea's relevant value to its API value

    domenic committed Feb 16, 2018
    Per the test case included as an example in the spec, this is more in
    line with browser behavior, and makes more sense. A similar conclusion
    was reached on related matters in
    #2424, and also in
    #2437.
  3. Editorial: clarify some text selection/cursor concepts

    domenic committed Feb 16, 2018
    This gives explicit definitions to the concepts of "selection", "text
    entry cursor position", and "relevant value" for selection/cursor
    purposes.
Commits on Mar 8, 2018
Commits on Mar 7, 2018
  1. Queue a task to run all the autofocusing steps

    domenic committed Mar 7, 2018
    Closes #3467.
    
    Tests (non-exhaustive): web-platform-tests/wpt#9804
Commits on Feb 16, 2018
  1. Editorial: update usage of the MIME Sniffing Standard

    domenic committed Feb 16, 2018
    This follows whatwg/mimesniff#58 by referencing
    the definitions for JavaScript and JSON MIME type that now live in MIME
    Sniffing. It also follows whatwg/mimesniff#36 by
    using the terms "valid MIME type string" and "valid MIME type string
    without parameters" instead of their non-string counterparts that
    previously appeared. Finally, it updates the terms "explicitly supported
    XML/JSON type" to include the word "MIME", like other MIME type group
    definitions now do.
  2. Remove history.index

    domenic committed Feb 7, 2018
    This reverts f8e293f. Although there
    was multi-implementer interest at the time, implementations have not
    materialized, and Gecko has objected in #2985 that they are not able to
    implement in their architecture.
Commits on Feb 14, 2018
  1. Update customized built-in elements is="" interaction

    domenic committed Feb 14, 2018
    This follows the DOM changes in whatwg/dom#566,
    and is part of fixing #3402.
    
    The normative changes are to the serialization algorithm, which now
    writes out the element's is value as its is="" attribute, if no actual
    is="" attribute is present. The rest of the changes are to introductory
    text about customized built-in elements.
    
    Tests: web-platform-tests/wpt#9508
Commits on Feb 12, 2018
  1. Use "child text content" to check if a <script> is empty

    domenic committed Feb 5, 2018
    This matches 2/4 implementations, and is simpler and integrates better
    with the rest of the algorithm.
    
    Closes #3419.
Commits on Jan 18, 2018
  1. Meta: update for new WHATWG copyright

    domenic authored and annevk committed Jan 12, 2018
Commits on Jan 5, 2018
Commits on Dec 20, 2017
Commits on Dec 18, 2017
  1. Fix import() inside setTimeout()/setInterval() strings

    domenic committed Dec 18, 2017
    Closes #3116. Before this change, the "new script"-ness of setTimeout()
    and setInterval()'s string compilation was making any import() calls
    inside the compiled source behave unexpectedly. After this, they behave
    like eval().
Commits on Dec 14, 2017
  1. Add <link> rel="modulepreload"

    domenic committed Dec 14, 2017
    This allows preloading module scripts, and optionally their descendants.
    The processing model for this turns out to be different enough that
    simply extending rel="preload" is not a good option.
    
    Closes whatwg/fetch#486.
    
    Tests: https://github.com/w3c/web-platform-tests/blob/master/preload/modulepreload.html
Commits on Dec 13, 2017
  1. Do not allow http-equiv values curated via wiki

    domenic committed Dec 13, 2017
    Unlike the somewhat-successful wiki registry for names, the wiki
    registry for http-equiv values only contained a single entry,
    "PICS-Label", which points to a spec that has since been obsoleted, and
    to our knowledge never had an effect on at least browser user agents.
    
    This removes the section allowing such wiki-curated pragma directives.
    Moving forward, any header-like http-equiv pragmas that affect the
    processing model for HTML documents must go through the normal process
    for changing the HTML Standard.
    
    Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=18025.
    
    As an editorial matter, this also defines keywords for each http-equiv
    attribute state, and links them appropriately.
Commits on Nov 17, 2017
  1. Ensure there is an active script while running JS jobs

    domenic committed Nov 17, 2017
    "Fixes" tc39/ecma262#871, at least for HTML,
    given that we have our own version of EnqueueJob. Important for #3117.
Commits on Nov 7, 2017
  1. Add import.meta.url

    domenic committed Oct 18, 2017
    This integrates with the stage 3 import.meta proposal located at
    https://github.com/tc39/proposal-import-meta/. This is based on
    https://github.com/tc39/proposal-import-meta/blob/f5d39bc471a5bf2791708f9a3fec943380d9e3ee/HTML%20Integration.md
    although it only includes the easier part, import.meta.url.
    import.meta.scriptElement is still being discussed, at #1013, and as
    such is excluded for now.
Commits on Oct 20, 2017
Commits on Oct 16, 2017
  1. Fix ordering of custom element upgrade steps

    domenic committed Oct 13, 2017
    This fixes #2876, ensuring that a custom element definition is always
    present when we enqueue a reaction.