Permalink
Commits on Sep 27, 2016
  1. Do not fire load events for inline scripts

    This aligns with all non-Edge engines. Fixes #1757.
    domenic committed with annevk Sep 23, 2016
Commits on Sep 24, 2016
  1. Don't serialize an extra LF in <pre>, <textarea>, <listing>

    This was implemented in Presto in ~2012, and recently implemented
    in Gecko, but it broke CKEditor (http://dev.ckeditor.com/ticket/14814#ticket)
    so it is being backed out again in Gecko.
    
    Fixes #944.
    zcorpan committed with domenic Sep 24, 2016
Commits on Sep 23, 2016
Commits on Sep 20, 2016
  1. Meta: disable Travis CI email notifications

    Don't email the commit author when the build succeeds.
    zcorpan committed with domenic Sep 20, 2016
  2. Editorial: Cross-reference DOM "child" where appropriate in rendering

    Fixes https://lists.w3.org/Archives/Public/public-whatwg-archive/2016Sep/0013.html
    
    Also mention that 'display:contents' doesn't generate a box.
    zcorpan committed on GitHub Sep 20, 2016
Commits on Sep 19, 2016
  1. Make the non-normative "suffering from being missing" vaguer (#1797)

    The previous form was too precise for a non-normative statement, given that it didn't fully reflect the later normative specification. This caused developer confusion in #1795. Closes #1795.
    domenic committed with foolip Sep 19, 2016
Commits on Sep 16, 2016
Commits on Sep 15, 2016
  1. Add cloning steps for textarea

    This makes textarea cloning work like input cloning, and matches Chrome.
    Safari and Firefox have indicated they are willing to move in this
    direction as well, as it is more developer-friendly for textarea to
    behave the same as input. Closes #1233.
    domenic committed on GitHub Sep 15, 2016
  2. Disallow *all* navigations during unload, not just cross-origin

    This closes #1213, matching Edge, Safari, and Chrome Canary and
    simplifying the logic nicely.
    domenic committed on GitHub Sep 15, 2016
  3. Use new.target.prototype in HTML element constructors

    This changes the prototype used when constructing a custom element
    instance from being the one saved at element definition time, to the one
    derived from NewTarget (with fallback semantics similar to JavaScript
    when new.target.prototype is not an object). Fixes
    w3c/webcomponents#560.
    domenic committed on GitHub Sep 15, 2016
  4. Clear the custom element reaction queue if upgrading fails

    Fixes w3c/webcomponents#563, and an analogous
    issue when the constructor uses return-override, by ensuring that all
    exceptions go through the same path, which both sets the custom element
    state to "failed", and clears the custom element reaction queue.
    domenic committed on GitHub Sep 15, 2016
  5. Fix some callers of "create a module script"

    This algorithm was not always being called with the correct arguments;
    in particular, when creating an inline module script, the cryptographic
    nonce, parser state, and credentials mode were not being set correctly.
    This fixes that call site and also updates its argument order to be
    consistent with other nearby algorithms.
    domenic committed with annevk Sep 15, 2016
Commits on Sep 14, 2016
  1. Throw for cross-origin [[Delete]] and use "SecurityError" as needed

    Returning false for [[Delete]] (on Window and Location objects) would
    only cause its callers to throw in strict mode. Implementations
    however always throw.
    
    We also decided to throw "SecurityError" for [[DefineOwnProperty]]
    and [[Set]] (the latter through CrossOriginSet). We did not do this
    for all internal methods: only those where throwing was unique to
    their cross-origin behavior.
    
    Fixes #1726.
    annevk committed with domenic Sep 14, 2016
Commits on Sep 13, 2016
  1. Meta: tweak server configuration

    We now rely on the default MIME type mapping, and use index.html instead
    of index as the directory index. Fixes #507.
    marti1125 committed with domenic Sep 13, 2016
  2. PopStateEvent/HashChangeEvent/PageTransitionEvent are Window-only

    These events are only fired in a document context, not in workers. Therefore they should not be exposed in workers.
    
    See w3c/web-platform-tests#3697 (comment).
    zcorpan committed with annevk Sep 13, 2016
  3. Treat 'data:' documents as unique, opaque origins (#1756)

    This patch changes the handling of 'data:' URLs to which user agents
    navigate. Rather than inheriting the origin of the settings object
    responsible for the navigation, they will be treated as unique,
    opaque origins.
    
    This aligns the spec with the behavior found in Chrome, Safari,
    Opera, and Edge.
    
    Closes whatwg/html#1753.
    mikewest committed with foolip Sep 13, 2016
Commits on Sep 12, 2016
  1. Set "one permitted sandbox navigator" for all sandbox-created popups

    This patch ensures that any browsing context created from a sandboxed
    document will have its "one permitted sandbox navigator" set.
    Previously, this property was not set when navigating from a sandboxed
    document whose "sandbox propagates to auxiliary browsing contexts flag"
    was not set (e.g. those loaded with 'allow-popups-to-escape-sandbox'),
    which meant that sandboxed documents could navigate unrelated windows.
    Closing this hole in the spec aligns with the behavior Firefox plans
    to ship, and Chrome intends to align with this behavior as well.
    
    Fixes #1218.
    mikewest committed with domenic Sep 12, 2016
Commits on Sep 11, 2016
  1. Editorial: export terms used by Web IDL and Streams

    Getting this to work for structured-clone vs. structuredclone without messing up dfn.js was tricky so I just went with an empty span to structured-clone, to preserve links.
    domenic committed with annevk Sep 11, 2016
Commits on Sep 9, 2016
  1. Editorial: restructure the <img>-related sections

    Also introduce the terms "srcset attribute" and "sizes attribute"
    to avoid repeating the same thing for <source> and <img>.
    
    Fixes #1139.
    zcorpan committed on GitHub Sep 9, 2016
Commits on Sep 8, 2016
  1. Explain why cross-origin properties are configurable

    Fixes #1736. Also reference the invariants of the essential internal
    methods explicitly, both in the new text and in the places where we have
    to violate them.
    domenic committed on GitHub Sep 8, 2016
  2. Change <rp>'s content model to Text

    Fixes #1689.
    zcorpan committed with domenic Sep 8, 2016
Commits on Sep 6, 2016
  1. Revert "Fix #859: Special-case empty string in reflect as URL"

    This reverts commit f09dbee.
    
    Fixes #1739.
    zcorpan committed with annevk Sep 6, 2016
Commits on Sep 1, 2016
  1. Editorial: change to en-US spelling

    I used the regexp in
    whatwg/html-build#92 to
    search/replace the en-GB-spelled words, and
    checked each occurrence manually. Some IDs still
    use en-GB spelling to not break links, and some
    examples use en-GB spelling.
    
    Fixes #654
    zcorpan committed on GitHub Sep 1, 2016
  2. Editorial: prevent Document definition from escaping HTML

    DOM already defines Document. Other specs that cross-reference
    Document should link to DOM, not HTML's partial interface.
    The data-dfn-lt="" attribute hides the definition for Bikeshed.
    
    Fixes #1715.
    jyasskin committed with zcorpan Sep 1, 2016
Commits on Aug 31, 2016
  1. Editorial: remove /*sealed*/ annotation

    It was added to discourage other specification editors from creating
    subclasses of the annotated classes. The reasons for removing this
    annotation are:
    
    1) It’s unlikely someone will create a subclass.
    2) The annotation doesn’t really make the intention clear.
    3) If someone created a subclass it would be subject to sufficient
    scrutiny.
    4) Anne keeps confusing himself with it.
    
    (This was also discussed in #643, if you wanted to read even more about
    this.)
    annevk committed with zcorpan Aug 31, 2016
Commits on Aug 30, 2016
  1. Editorial: add IDs for en-GB terms

    In preparation for switching to en-US without breaking links.
    Part of #654.
    annevk committed with zcorpan Aug 30, 2016
Commits on Aug 29, 2016
  1. Fix typo in previous commit

    domenic committed Aug 29, 2016
  2. Rewrite link-fixup.js

    This makes various changes to the link-fixup.js code:
    
    - Integrates with whatwg/wattsi#25 and
      whatwg/html-build#88 in order to let the build
      process produce a separate fragment-links.json file for consumption
      by external tools.
    - Inlines the fragment links into the link-fixup.js file (via the build
      system) in order to start redirects as soon as possible.
    - Uses <script defer> instead of waiting for DOMContentLoaded in order
      to simplify the logic.
    - Moves the redirection logic that Wattsi was writing into
      fragment-links.js into link-fixup.js (see
      https://github.com/whatwg/wattsi/blob/1854204f23e082d5bac4382d833e20f7a61560f6/src/wattsi.pas#L1566-L1580).
    takenspc committed with domenic Aug 29, 2016
  3. Editorial: make settings object's module map and origin <dfn>s

    A follow up to #1718 to let folks be more specific when talking about
    module maps and origins.
    annevk committed with domenic Aug 29, 2016