Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 20, 2012
  1. div branch becomes the new default

    Scott Jehl authored
Commits on Mar 22, 2012
  1. This refactors the proposed markup (slightly) and picturefill JS to b…

    scottjehl authored
    …roaden browser support. The included update to explains the changes I'm proposing to the markup pattern (there no changes to elements themselves) to support browsers that formerly did not work, like iOS4, IE browsers versions 6-10, Android browsers 1.x and up. As a result, there aren't any known "unsupported" browsers, in that every browser tested so far at least receives a fallback image - for example, IE6-8 will only see picture source elements that do not use media queries, since it doesn't support them natively (media types are ok though). Fixes #5 and Fixes #8.
  2. by binding to domready and load events (as a fallback), we can delive…

    scottjehl authored
    …r IE 8 and older browsers with fallback content using any source elements that don't rely on media queries (note: media types are fine though). In order for this to work, the script needs to run from HEAD, like any HTML5 shiv would. Script still works in non-IE browsers if it's not in HEAD.
Commits on Mar 16, 2012
  1. @tnorthcutt
Commits on Mar 15, 2012
  1. added noscript to the recommended markup pattern (for fallback only) …

    scottjehl authored
    …and generated the child img element if it's not already present. With this tweak in place, the picture markup pattern supports non-js fallbacks, avoids prefetch, and enjoys all benefits of the proposed picture element functionality. Production ready, perhaps.
Commits on Feb 21, 2012
  1. all in.

    scottjehl authored
Something went wrong with that request. Please try again.