Permalink
Commits on Jan 13, 2017
  1. Meta: enable snapshots

    annevk committed Jan 12, 2017
Commits on Dec 16, 2016
  1. Reject exitFullscreen() in inactive documents

    If the document becomes inactive after the request, then there will not
    be another animation frame task, in which case the promise will be left
    hanging instead.
    
    Test: w3c/web-platform-tests#4350.
    
    Fixes #67.
    foolip committed with annevk Dec 16, 2016
Commits on Nov 21, 2016
  1. Meta: add LICENSE

    annevk committed Nov 21, 2016
  2. Editorial: use the Infra Standard

    Also add a Makefile for convenience and update the README.
    annevk committed on GitHub Nov 21, 2016
Commits on Nov 4, 2016
  1. Editorial: minor references cleanup

    annevk committed on GitHub Nov 4, 2016
Commits on Sep 30, 2016
  1. Make Fullscreen work with shadow trees

    This implements the change (roughly) agreed upon at w3c/webcomponents#180 (comment). That also contains most of the discussion that led to this change.
    
    This fixes w3c/webcomponents#180 & fixes #42.
    TakayoshiKochi committed with annevk Sep 30, 2016
Commits on Sep 27, 2016
  1. Move the element type check out of the ready check

    There is no need to check this again in the animation frame task.
    foolip committed with annevk Sep 27, 2016
Commits on Sep 16, 2016
  1. Editorial: remove document as argument from fullscreen/unfullscreen

    The definitions used to use document as argument to fullscreen or unfullscreen an element, but document is always element's node document.
    TakayoshiKochi committed with annevk Sep 16, 2016
Commits on Sep 15, 2016
  1. Remove redundant recursive step of fullscreen element ready check (#52)

    HTML's "allowed to use" only returns true if the document is in the
    top-level browsing context, or if it's connected to it via any number of
    iframes, all of which must be in a document to have nested browsing
    contexts at all, so this final condition would always be true.
    
    Fixes #50.
    foolip committed on GitHub Sep 15, 2016
  2. Editorial: shorten the top layer add/remove IDs (#51)

    Shorten #concept-top-layer-add/remove → #top-layer-add/remove.
    
    These were introduced recently in 766dc87
    and are not yet used by HTML. This makes the IDs nicer in preparation
    for using them from HTML.
    foolip committed on GitHub Sep 15, 2016
Commits on Sep 14, 2016
  1. Editorial: convert to bikeshed

    Steps to reproduce:
    
     * Convert fullscreen.bs by pasting into this one-off tool:
       https://gist.github.com/foolip/f60a1614fb5d194aad4dbff89c54ceb3
     * Manually finish conversion to Bikeshed, tweaking as needed to match
       the existing output as closely as possible.
     * Export top layer and its add/remove concepts for HTML.
     * Rewrap to 100 columns, taking care not to wrap inside elements.
     * Update README.md and remove Makefile.
    
    Finally, to compare the new fullscreen.html with the old:
    
      for (var e of document.querySelectorAll('*')) {
        if (e.id)
          console.log('id: ' + e.id);
        if (e.hasAttribute('href') && e.className != 'self-link')
          console.log('href: ' + e.getAttribute('href'));
      }
    
    Existing IDs/links affected:
    
     * #table-of-contents → #toc
     * #refsCSS → #biblio-css (and similar)
     * #anolis-references is gone
    
    The old and new fullscreen.html were also copied from a browser into
    plaintext and compared to verify no accidental differences. The biggest
    differences are in the references section.
    
    Fixes #47.
    foolip committed Sep 14, 2016
  2. Editorial: rename files before bikeshed conversion

    No changes are made, this is just to help git blame.
    
    Part of #47.
    foolip committed Sep 14, 2016
Commits on Sep 13, 2016
  1. Editorial: prepare for conversion to bikeshed

    These are changes that make (some) sense even with Anolis, done first to make the bikeshed changes smaller:
    
     * Add IDs to headings
     * Don't quote attributes without whitespace
     * ø → ø
    
    Part of #47.
    foolip committed with annevk Sep 13, 2016
Commits on Aug 22, 2016
  1. Editorial: hober's name changed

    annevk committed Aug 22, 2016
Commits on Aug 12, 2016
  1. Use HTML's new "allowed to use" algorithm

    Fixes #41.
    foolip committed with annevk Aug 12, 2016
Commits on Jul 21, 2016
  1. Allow requestFullscreen() to be called from an orientation change event

    Note that this flow of changes, requesting fullscreen from the orientation change event, can result in a "bad frame", an inbetween state that's not necessarily desired. Implementers found this acceptable.
    
    Fixes #34.
    mounirlamouri committed with annevk Jul 21, 2016
Commits on Jul 20, 2016
  1. Remove HTML iframe ancestor check

    This fixes #45 which pointed out it was a rather nonsensical check
    given all the other replaced elements.
    annevk committed Jul 20, 2016
Commits on Jul 18, 2016
  1. Do not use !important for object-fit

    Fixes #44.
    annevk committed Jul 18, 2016
Commits on May 3, 2016
  1. Add (historical) document.fullscreen

    Fixes #38.
    annevk committed May 3, 2016
  2. Use [LenientSetter] instead of [Replaceable]

    Fixes #2 correctly. See 9847bfb for
    the original introduction of this.
    annevk committed May 3, 2016
Commits on Apr 29, 2016
  1. Add [Replaceable] to fullscreenEnabled and fullscreenElement

    Both Microsoft and Mozilla want to have this.
    
    Fixes #2.
    annevk committed Apr 29, 2016
Commits on Mar 25, 2016
Commits on Mar 7, 2016
Commits on Mar 4, 2016
  1. Fix #27: reword characteristics requirement on ::backdrop

    Also position all ::backdrop pseudo-elements as fixed by default
    covering the initial containing block.
    annevk committed Mar 4, 2016
  2. Fix #28: display:contents needs to compute to block in the top layer

    Also update the README with a pointer to the code of conduct.
    annevk committed Mar 4, 2016
Commits on Nov 18, 2015
  1. Include more PR instructions

    annevk committed Nov 18, 2015
Commits on Oct 19, 2015
Commits on Oct 6, 2015
  1. Cleanup fully exit fullscreen

    This should help reduce what needs to be defined in the HTML standard.
    
    See whatwg/html#230 for more details.
    annevk committed Oct 6, 2015
  2. Fix #25: allow changes to ::backdrop's 'display' property

    It is typically coerced to ‘block’ and a case was made for allowing it
    to be set to ‘none’.
    annevk committed Oct 6, 2015
Commits on Sep 29, 2015
Commits on Aug 26, 2015
  1. Make :fullscreen match any element with the fullscreen flag set and t…

    …hereby different from document.fullscreenElement. Fixes #18.
    annevk committed Aug 26, 2015
Commits on Aug 20, 2015