Permalink
Commits on Dec 3, 2016
  1. Remove special handling of <rp> in innerText's getter

    This was a hack that is only implemented in one engine (Gecko).
    For example, an <rp> in <select> is included, which is weird;
    if an <rp> has several text nodes, only the first is included.
    
    There is not enough implementor interest in making <ruby> actually
    work well in innerText (e.g. in the absense of <rp>); see #1801.
    zcorpan committed with domenic Dec 2, 2016
Commits on Dec 2, 2016
  1. Add the onauxclick content and IDL attribute

    Closes #2036.
    domenic committed with zcorpan Nov 24, 2016
  2. Meta: Give Travis the full path to the java binary

    Travis needs Java8 to run the `vnu.jar` HTML checker. This change causes
    Travis to use the full path to the `java` binary, to ensure it always
    gets the right (Java8) one.
    sideshowbarker committed with zcorpan Dec 2, 2016
Commits on Nov 30, 2016
Commits on Nov 28, 2016
  1. Restrict comment syntax to not contain --> or --!>

    This regressed in a0326a1.
    
    Fixes #2095.
    yuyokk committed with zcorpan Nov 28, 2016
  2. Meta: Make checker correctly recurse output dir

    This change make Travis run the HTML checker vnu.jar with the right
    option and pathname arg needed to make it recurse through the output
    dir and only check HTML files.
    sideshowbarker committed with zcorpan Nov 28, 2016
  3. Fix constructor mention in incumbent settings object example

    485c76a changed the constructor used in
    this example, but did not update the surrounding text correctly.
    Ms2ger committed with domenic Nov 28, 2016
  4. Editorial: fix internal cross-reference errors

    Found while working on whatwg/wattsi#33.
    
    I also took the liberty to remove erroneous title attributes.
    
    #2097 is follow-up.
    annevk committed with zcorpan Nov 28, 2016
  5. Meta: Tweak styles for status boxes

    Part of #2096.
    zcorpan committed Nov 25, 2016
  6. Meta: Make Travis run HTML checker on all .html output

    This changes causes the Travis build to run the HTML checker on all
    HTML output resources. The Travis build fails if the checker reports
    any errors.
    sideshowbarker committed with annevk Nov 24, 2016
  7. Meta: Add <meta charset=utf-8> to all demos/ files

    This ensures that the HTML documents in the `demos/` subdirectory follow
    the best practice of always including `<meta charset="utf-8">`.
    sideshowbarker committed with zcorpan Nov 28, 2016
Commits on Nov 25, 2016
  1. Remove requirement left behind by hit-region removal

    This “Clear regions that cover the pixels” requirement for `clearRect()` should’ve been removed in 9d493a3 (PR #1942) along with the other hit-region requirements.
    
    Closes #2097.
    sideshowbarker committed with annevk Nov 25, 2016
  2. Refer to XML rather than XHTML syntax

    This change replaces references throughout the spec to “the XHTML syntax” and “XHTML parsing”, etc., with references instead to “the XML syntax [of HTML]” and “XML parsing”, while adding a couple of notes to help make clear that the term “the XML syntax” is the same thing the
    term “XHTML” was formerly used for.
    
    Among other reasons, we're making this change because SVG and MathML don't have HTML-syntax-specific terms, so it makes little sense for HTML to have an XML-syntax-specific term.
    sideshowbarker committed with annevk Nov 25, 2016
  3. Editorial: Fix markup in “Initializing a new Document object”

    2b93f9e (PR #1776) introduced a minor
    markup error (an `ol` nested inside an `ol`). This fixes it.
    sideshowbarker committed with zcorpan Nov 25, 2016
Commits on Nov 24, 2016
  1. Update .gitattributes

    * For the `source` file, make git normalize line endings, ensure GitHub
      sees it as being HTML, and use `diff=html` (which affects the formatting
      of the `@@ -k,l +n,m @@ TEXT` “hunk header” shown in `git diff` output).
    
    Fixes #2082.
    sideshowbarker committed with zcorpan Nov 24, 2016
  2. Expand on the <keygen> removal and deprecation

    Closes #2009.
    domenic committed with zcorpan Nov 24, 2016
Commits on Nov 23, 2016
  1. Meta: move the file-issue script to <body>

    The script tries to insert a link into `body`. Having the script in
    `body` means that `body` exists when the script runs.
    
    Related: whatwg/resources.whatwg.org#34
    zcorpan committed Nov 23, 2016
  2. Honor srcdoc document referrer policies when set

    If a srcdoc document contains a meta element with a referrer policy, we
    should use that as the document's referrer policy instead of walking up
    the tree to find the first non-srcdoc document's referrer policy.
    
    (As discussed in #1559 (comment))
    estark37 committed with domenic Nov 23, 2016
  3. Meta: Tweak the spec's source to use a single <style> element

    For some reason there were multiple `style` elements. Also move
    the styles of the kitchensink SVG into the `style` in `head`,
    since it was effectively a `style` in `body` which causes
    recalculating styles.
    zcorpan committed Nov 23, 2016
Commits on Nov 22, 2016
  1. Use globals rather than origins in crossOriginKey

    This has been wrong since we introduced the
    CrossOriginPropertyDescriptorMap in
    acae3df. Instead of using globals as
    roughly suggested in
    https://github.com/annevk/html-cross-origin-objects/blob/master/lore.txt
     the “effective script origin” of those globals was used instead.
    
    Then in 8a843f2 when “effective script
    origin” was merged into “origin” this was worsened by only using the
    “origin’s effective domain” in the key rather than the whole origin.
    
    This fixes #2012 by using globals instead as always intended but not
    written down before now.
    annevk committed with domenic Nov 8, 2016
  2. Invoke the URL serializer for ErrorEvent.filename

    The URL's hash should be included to match majority of browser
    engines (WebKit, Gecko, Edge). An "absolute URL" is without the
    hash according to the URL standard, but serializing a URL record
    includes it by default.
    
    Fixes #2074.
    Closes w3c/web-platform-tests#4221.
    zcorpan committed on GitHub Nov 22, 2016
Commits on Nov 21, 2016
Commits on Nov 19, 2016
  1. Talk about module script graphs, not trees

    Module graphs are not tree-like, except in having a root node, so we
    should not call them trees.
    domenic committed Nov 19, 2016
Commits on Nov 18, 2016
  1. Editorial: leave ASCII case-insensitive to Infra

    Helps with #2053 as well as URL, DOM, etc. by avoiding the ambiguity of
    multiple standards defining ASCII case-insensitive.
    
    This also cleans up the remaining mentions of RFC2119.
    annevk committed with domenic Nov 18, 2016
  2. Require <iframe> to be empty

    This updates the document conformance requirements for <iframe>s to no
    longer allow fallback content. Doing so requires conformance checkers
    to use HTML parsing behavior different from parsing in Web browsers, and
    has no benefits for authors and users, as no browsers display this
    fallback content.
    sideshowbarker committed with domenic Nov 18, 2016
Commits on Nov 17, 2016
  1. Remove obsolete permitted DOCTYPEs

    From now on conformance checkers can only allow <!doctype html> and
    <!doctype html SYSTEM "about:legacy-compat"> as doctypes in HTML syntax.
    The HTML4 and XHTML1 DOCTYPEs are no longer allowed.
    
    (XHTML syntax continues to be supported and is not influenced by this
    change.)
    sideshowbarker committed with domenic Nov 17, 2016
  2. Editorial: refactor to depend on the Infra Standard

    This takes care of many of the easier parts of #2053.
    domenic committed with annevk Nov 16, 2016
Commits on Nov 16, 2016
  1. Fix which built-in elements can be customized

    Fixes #2028. [HTMLConstructor] was introduced in #1404, but <head>,
    <marquee>, <frameset>, and <frame> were accidentally left out. At the
    same time, this makes <keygen> and <applet> uncustomizable, since we are
    trying to remove them from the platform. And in general this adds a few
    explanatory paragraphs about what built-in elements can and cannot be
    customized.
    domenic committed on GitHub Nov 16, 2016
  2. Always leave isTrusted as true when firing events

    <form>.reset() always sets isTrusted in current implementations, so we
    remove the spec language that sometimes set it to false.
    
    One cannot trigger “send select update notifications” from script, so
    the spec language that sometimes sets isTrusted to false for those
    events can never be triggered, and is thus be removed.
    
    Fixes #1912.
    annevk committed with domenic Nov 16, 2016
  3. Add the OffscreenCanvas interface and 2D context

    This introduces the offscreen canvas functionality originally proposed
    and iterated on at https://wiki.whatwg.org/wiki/OffscreenCanvas. It
    introduces the OffscreenCanvas and OffscreenCanvasRenderingContext2D
    interfaces, as well as the supporting
    canvas.transferControlToOffscreen() method.
    junov committed with domenic Nov 16, 2016
Commits on Nov 15, 2016