Commits on Oct 22, 2016
  1. Meta: export more terms for Bikeshed-based specs

    This exports all the terms used by Service Worker, DOM, File API, and
    IndexedDB. Closes #998.
    domenic committed with annevk Oct 21, 2016
Commits on Oct 21, 2016
  1. Remove canvas element's hit region feature (for now)

    As currently defined the feature has a number of objections due to it
    altering hit testing without there being a real need to do so. The API
    can also be simplified to only work with elements rather than
    accommodating arbitrary objects.
    Fixes #548. Closes #547, closes #849, and closes #1029, due to hit
    regions requiring a fresh PR. #1030 is the follow-up issue for new hit
    region work.
    annevk committed Oct 21, 2016
Commits on Oct 20, 2016
  1. Fix the definition of the ol.start IDL attribute

    Closes #1750, by settling on the Firefox/Edge behavior. There is a
    separate issue of defining the "starting value" concept correctly; that
    is #1911.
    domenic committed Oct 17, 2016
  2. Align activation behavior with changes to DOM Standard

    There are two major changes here:
    * Any click event can cause activation behavior to run. No exceptions.
    * The "click in progress flag" is now restricted to the click() method, as it already is in Firefox.
    The other changes are editorial:
    * "Activation behavior" is now associated with an object at all times (and cannot be conditionally associated)
    * "Legacy-pre-activation behavior" and "legacy-canceled-activation behavior" are now more clearly only relevant for input elements in either the Checkbox or Radio Button state.
    * Various concepts such as "run synthetic click activation steps" and "nearest activatable element" are gone as they are obsoleted by the DOM Standard or the aforementioned normative changes.
    Tests related to this change:
    * w3c/web-platform-tests#3974
    * w3c/web-platform-tests#4034
    Changes to the DOM Standard that were necessary for this change:
    * whatwg/dom#342
    * whatwg/dom#346
    Fixes #1394.
    annevk committed on GitHub Oct 20, 2016
  3. Make table.deleteRow(-1) a no-op when there are no rows

    This copies the wording of tbody.deleteRow, with "its parent" instead
    of "this element". The previous wording would throw for this case.
    Tests: w3c/web-platform-tests#4001
    foolip committed Oct 18, 2016
Commits on Oct 18, 2016
  1. Editorial: major cleanup around firing and dispatching events

    This aligns firing and dispatching of events with updated terminology in
    the DOM Standard. Among the changes:
    * A lot less usage of "default action" which isn't really a thing.
      Instead we make use of the return value of the fire and dispatch
    * Instead of saying things bubble or are cancelable we initialize the
      attributes as such.
    * We no longer re-state defaults for isTrusted, bubbles, and cancelable,
      as that only leads to confusion when they are *not* re-stated.
    * We now use the legacy target override flag rather than supplying a
      named argument.
    This fixes #1713, but plenty of follow up issues remain:
    * #805 for the remainder of "default action" usage
    * #1394 for updating synthetic click events
    * #1887 for removing "fire a simple event" usage
    * #1893 for updating when checkboxes get checked
    * #1900 for figuring out if event dispatch requires more hooks
    * #1912 for revisiting isTrusted usage
    * #1913 for updating synthetic mouse events
    * #1922 for making more events composed
    annevk committed with domenic Oct 18, 2016
  2. Fix off-by-one in deleteCell and deleteRow index checks

    This was likely copied from insertCell, where it makes sense.
    Discovered when reviewing an implementation change:
    foolip committed on GitHub Oct 18, 2016
  3. Restore <xmp> to the "special" elements list

    This was removed, apparently inadvertently, in
    <xmp> is still handled specially in the "in body" insertion mode, in
    the fragment serialization algorithm, and in the HTML fragment parsing
    algorithm.  Further, because it was (previously) a member of the
    "special" set, it was handled differently by the adoption agency
    algorithm and by the "in body" insertion mode rules for <li>, <dd> and
    <dt> start tags and "any other end tag".
    cscott committed with domenic Oct 18, 2016
Commits on Oct 14, 2016
  1. Convert some datalist example images to SVG

    This allows them to be more easily editable as we make changes to them,
    for example in #1836. Also fixes some minor text issues in the example
    that uses them.
    domenic committed Oct 13, 2016
Commits on Oct 12, 2016
  1. Consider pointerup and touchend for "triggered by user activation"

    Although there are larger issues with this definition (see #1358), the
    specific lack of these events was causing implementation confusion, so
    they are worth adding before fixing the definition more generally.
    NavidZ committed with domenic Oct 12, 2016
  2. Remove old-fashioned vendor-specific extension advice

    Including the oddly specific language for <canvas>’s getContext()
    feature that was added for Opera’s extensions back in the day if I
    remember correctly.
    annevk committed with domenic Oct 12, 2016
  3. Clarify the difference between disabled and readonly

    This removes the inaccurate mention that being disabled prevents
    selection, which was not supported by any normative requirements and has
    caused confusion for several implementers so far. Fixes #1852.
    domenic committed on GitHub Oct 12, 2016
  4. Add radio button constraint validation example

    This closes #1798, by adding an example instead of changing the
    normative requirement wording. See also discussion in #1795.
    domenic committed with annevk Oct 7, 2016
Commits on Oct 11, 2016
  1. Update the parser's element creation for recent DOM changes

    This follows up to whatwg/dom#341 (which is in
    turn part of w3c/webcomponents#569). Due to
    the changes there, it is no longer necessary for HTML to catch and
    report the element creation error during parsing; instead, "create an
    element" performs that.
    domenic committed with annevk Oct 10, 2016
Commits on Oct 10, 2016
  1. Make MessageEvent's ports attribute non-nullable

    Make MessageEvent's ports attribute non-nullable as having it be
    nullable does not bring value and it makes for a nicer API if it is
    always an array. Closes #1882.
    cdumez committed with domenic Oct 10, 2016
  2. Define how data URLs affect workers

    Fixes #1243. Basically, data URLs create (shared) workers that have a
    unique opaque origin.
    annevk committed with domenic Sep 15, 2016
  3. Remove Fetch's same-origin data URL flag

    The change to Fetch discussed in
    whatwg/fetch#381 made it obsolete.
    Closes #1778, and closes #1779 as these are all treated as
    same-origin now per the change to Fetch.
    annevk committed with domenic Sep 14, 2016
Commits on Oct 6, 2016
  1. Fix regression in setting up SharedWorkerGlobalScope

    cf0355d regressed setting up a
    SharedWorkerGlobalScope by removing the steps that set its constructor
    url and name. This was noticed in
    #1782 (comment).
    This also changes the constructor url from a string to a URL record, for
    consistency with other URLs stored on objects throughout the spec.
    domenic committed Oct 4, 2016
  2. Align window named properties with implementations

    a, area, and frameset elements with name="" attributes do not, in fact,
    contribute to the window's named properties. Fixes #1810.
    domenic committed with annevk Oct 5, 2016
  3. Revert "Meta: fix commit snapshots server config"

    This reverts commit e6c859c. As
    discussed in #1865, that change did not actually work, and instead we
    had to add a new .htaccess file on the server. Closes #1865.
    domenic committed with annevk Oct 5, 2016
Commits on Oct 5, 2016
  1. Meta: appreciate web-platform-tests for normative changes

    Part of #1849.
    foolip committed on GitHub Oct 5, 2016
  2. Meta: add logo for Samsung Internet in caniuse status boxes

    See whatwg/
    Also tweak the style for the browser logo when there is no support.
    zcorpan committed with annevk Oct 5, 2016
  3. Meta: simplify (shorten) contributing guidelines somewhat

    Since "Allow edits from maintainers" is checked by default, it seems
    sufficient to link to the documentation, where the screenshot is from.
    foolip committed with sideshowbarker Oct 5, 2016
  4. Meta: fix commit snapshots server config

    This makes URLs like properly display as text/html. This regressed in f7def43 when we got rid of the global ForceType.
    domenic committed with foolip Oct 5, 2016
  5. Only apply "being rendered" to elements

    Instead of talking about a browsing context being rendered, talk about its container. Fixes part of #1813.
    domenic committed with annevk Oct 4, 2016
  6. Make DataTransfer's types attribute use a FrozenArray

    This removes the last use of old Web IDL "read only arrays" (i.e. the DOMString[] syntax), thus closing #11.
    domenic committed with zcorpan Oct 4, 2016
Commits on Oct 4, 2016
  1. Run more of the SharedWorker constructor in parallel

    This should make it clearer that all the interprocess communication is
    not happening while we run the SharedWorker constructor as that would
    be somewhat odd.
    It hopefully also helps us in the future as it becomes more obvious we
    cannot throw exceptions from code that runs in parallel.
    Fixes the remainder of #1819.
    annevk committed with domenic Sep 28, 2016
  2. Do not throw from cross-process code in the SharedWorker constructor

    Instead dispatch an error event from a task so any interprocess
    communication can happen asynchronously. At least in theory.
    Fixes part of #1819.
    annevk committed with domenic Sep 28, 2016
  3. Meta: split out from

    This is to get a pretty link when creating issues/PRs:
    foolip committed on GitHub Oct 4, 2016
  4. Return null when is popup blocked

    Follow up to #1848, fixes #1851.
    annevk committed with zcorpan Oct 4, 2016