Commits on Aug 25, 2016
  1. @domenic @annevk

    Update advice to favor the relevant realm over the current one

    Fixes #1653, and also clarifies and tidies up some stuff while in the area.
    domenic committed with annevk Aug 25, 2016
Commits on Aug 24, 2016
  1. @domenic @annevk
  2. @domenic @annevk

    Process custom element connectedCallback immediately during parsing

    Fixes w3c/webcomponents#551 by ensuring that
    insertions into the DOM trigger connectedCallback immediately, instead
    of putting the callback reaction on the the backup element queue and
    letting it get triggered at the next microtask checkpoint. This means
    connectedCallback will generally be invoked when the element has zero
    children, as expected, instead of a random number depending on when the
    next custom element is seen.
    domenic committed with annevk Aug 24, 2016
Commits on Aug 23, 2016
  1. @domenic @annevk

    Move the check on registering an element interface as a custom element

    Previously, this would be prevented at definition time. However, that
    required extra work to know all of the possible element interfaces, and
    was inconsistent with other failure cases. This moves the necessary
    check to construction time, which allows it to be simplified. Fixes
    domenic committed with annevk Aug 23, 2016
Commits on Aug 22, 2016
  1. @jyasskin @domenic

    Editorial: fix the metadata of "origin" <dfn>s

    The definition of origins in general should have for="", while
    definitions of a foo's origin should have for="foo".
    This contains some workarounds for Bikeshed bugs where it picks up dfns
    even though they are explicitly marked as "noexport", by giving them
    for="" values.
    jyasskin committed with domenic Aug 22, 2016
  2. @annevk @zcorpan

    Editorial: hober's name changed

    annevk committed with zcorpan Aug 22, 2016
Commits on Aug 20, 2016
  1. @domenic @annevk

    Simplify the reentrance guard for custom element definition

    Previously, we would allow reentrance as long as it was not with the
    same name or constructor as was currently being defined, using the
    mechanism of a "set of being-defined names" and "set of being-defined
    constructors". This was overly complex, given that there are not really
    any use cases for defining a custom element in a getter triggered by the
    element definition algorithm. So instead, we move to just using an
    overall reentrance-guard flag.
    Fixes w3c/webcomponents#545.
    domenic committed with annevk Aug 20, 2016
Commits on Aug 19, 2016
  1. @domenic

    Do not throw for zero colgroup/col.span and textarea.rows/cols

    Instead, fall back to the default value.
    For col/colgroup, 3/4 engines do not throw; this aligns with the
    majority. For textarea, 2/4 engines do not throw, and Firefox would like
    to align with not throwing. More detail at
    #1200 (comment).
    Fixes #1200.
    domenic committed on GitHub Aug 19, 2016
  2. @mikewest @annevk

    Editorial: moar bikeshed metadata

    This should cover the few remaining terms that CSP needs, and does some drive-by work for MIX and REFERRER-POLICY as well.
    mikewest committed with annevk Aug 19, 2016
Commits on Aug 18, 2016
  1. @xidachen @domenic

    Correct a small mistake in TextMetrics

    When the given baseline is the top of the em square, then its distance
    to the lowest bottom of the em square cannot be 0.
    xidachen committed with domenic Aug 18, 2016
  2. @zcorpan @annevk
  3. @annevk @zcorpan

    Editorial: "actually disabled" is also used for :enabled now

    PR #1672 made :enabled use the actually disabled definition. This fixes
    the note below actually disabled to reflect that change.
    annevk committed with zcorpan Aug 18, 2016
  4. @mikewest @annevk

    Upstream navigation hooks from CSP

    This will enable implementation of 'frame-ancestors' and 'form-action', and makes a bit of progress towards #1230.
    mikewest committed with annevk Aug 18, 2016
  5. @mikewest @annevk

    Editorial: add bikeshed metadata

    This patch adds bikeshed metadata for various concepts and terms used by CSP and related specifications.
    mikewest committed with annevk Aug 18, 2016
  6. @annevk
Commits on Aug 17, 2016
  1. @zcorpan

    Upstream the innerText spec

    with the following normative changes:
    * Defined behavior for non-CSS UAs.
    * The setter is better defined.
    * Added [CEReactions, TreatNullAs=EmptyString]
      to the IDL.
    Fixes #465.
    Remaining issues: #1679
    zcorpan committed on GitHub Aug 17, 2016
  2. @gibson042 @domenic

    Define :enabled by reference to "actually disabled"

    This makes it obvious that the list of conditions for :enabled and
    :disabled are inverses of each other.
    Removes a no-longer-accurate comment about disabling a/area/link
    gibson042 committed with domenic Aug 17, 2016
  3. @domenic @annevk

    Make document.write etc. throw during parsing custom elements

    That is, now all throw immediately if
    used while the parser is invoking a custom element constructor, to
    prevent them from messing with the token stream. Closes #1630 and closes
    domenic committed with annevk Aug 17, 2016
Commits on Aug 16, 2016
  1. @annevk @domenic

    Editorial: export more terms for usage by Bikeshed

    In particular:
    * associated `Document`
    * current settings object
    * current global object
    * relevant settings object
    * relevant Realm
    * relevant global object
    This should help the DOM Standard:
    annevk committed with domenic Aug 16, 2016
  2. @mathiasbynens @annevk

    Remove references to the JavaScript Standard

    The JavaScript Standard has accomplished its goal. Some remaining
    web compatibility issues are tracked over at, to which now redirects. The rest of the
    contents of the JavaScript Standard have been upstreamed into
    ECMAScript, Annex B.
    Fixes #1660.
    mathiasbynens committed with annevk Aug 16, 2016
  3. @domenic @zcorpan
  4. @zcorpan @sideshowbarker

    Editorial: change alt text of outline image (#1671)

    Image introduced in bd6758b
    Also fix a nearby typo.
    zcorpan committed with sideshowbarker Aug 16, 2016
Commits on Aug 15, 2016
  1. @domenic
  2. @zcorpan @domenic

    Fix broken cross-references to CSSOM

    Fixes #848 by updating things related to CSS style sheet sets to the
    latest CSSOM terminology.
    zcorpan committed with domenic Aug 15, 2016
  3. @domenic @annevk

    Clarify the note about reentrant parsing in document.write()

    Closes #1603. Discussion is ongoing about how custom elements and
    document.write() interact, in both #1630 and in
    w3c/webcomponents#537, but this at least
    clears up the source of confusion in #1603.
    domenic committed with annevk Aug 15, 2016
Commits on Aug 12, 2016
  1. @sideshowbarker @domenic

    Editorial: hgroup makes multi-level heading in outline

    This change clarifies the fact that the outline algorithm requires
    implementations to make any hgroup element in the source result in a
    multi-level heading in the generated outline.
    sideshowbarker committed with domenic Aug 12, 2016
  2. @foolip @domenic

    Drop the name propagation for the object element's name attribute

    Introduced with 0a2ab22, but it appears
    that <object name> as a target for <a target> was never implemented.
    Fixes #1623.
    foolip committed with domenic Aug 12, 2016
  3. @foolip

    Handle the timeupdate/pause/ended events in a single task (#1659)

    The motivation for this is to have the "still ended playback" bit as a
    real step, more like how it would be implemented.
    Drive-by "run the following substeps" for consistency.
    Follow-up to #1646 and #1647.
    foolip committed on GitHub Aug 12, 2016
  4. @mounirlamouri @foolip
  5. @zcorpan

    Update a link in

    zcorpan committed on GitHub Aug 12, 2016
  6. @zcorpan @annevk
  7. @foolip @zcorpan
Commits on Aug 11, 2016
  1. @estark37 @domenic

    Integrate referrerpolicy for a, area, iframe, and link elements

    Instead of initiating navigations with URLs, a, area, and iframe
    elements (as well as link elements when following hyperlinks) now
    create requests and set the referrer policy on these requests from the
    element's referrerpolicy attribute. These requests are passed to the
    navigation algorithm instead of just a URL.
    Fixes #1531 and
    w3c/webappsec-referrer-policy#40, as well as
    completing w3c/webappsec-referrer-policy#43.
    estark37 committed with domenic Aug 11, 2016
  2. @domenic

    Set referrer policy better for <iframe srcdoc> documents

    See w3c/webappsec-referrer-policy#31. Such
    documents should not inherit the referrer policy from their parent
    document. Instead, we should define the referrer policy for a browsing
    context environment settings object to crawl upward when it encounters
    iframe srcdoc documents, just like the referrer policy spec already does
    for referrers. (It turns out we never actually defined the referrer
    policy for browsing context environment settings objects previously;
    This affects the referrer policy used when making requests from inside
    an iframe srcdoc document.
    Closes w3c/webappsec-referrer-policy#31.
    domenic committed on GitHub Aug 11, 2016
  3. @zcorpan @domenic