Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Mar 16, 2012

  1. Merge pull request #6 from tnorthcutt/patch-1

    Corrected minimum stated width in comment for largest picture
    Scott Jehl authored
  2. Travis Northcutt

    Corrected minimum stated width in comment for largest picture

    tnorthcutt authored

Mar 15, 2012

  1. updated link to demo

    scottjehl authored
  2. Merge remote branch 'origin/master'

    scottjehl authored
  3. added noscript to the recommended markup pattern (for fallback only) …

    …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.
    scottjehl authored

Feb 24, 2012

  1. Merge pull request #3 from gordonbrander/master

    Exit early if picture is natively supported.
    Scott Jehl authored

Feb 22, 2012

  1. Gordon Brander

    Removed Modernizr hooks

    gordonbrander authored
  2. Gordon Brander

    Exit early if picture is natively supported (totally hypothetical at …

    …this point). If Modernizr is available, add a test for picture to it (adds handy picture/no-picture classes to HTML element). Also uses Modernizr's mq shim if available. Both these enhancements do NOT REQUIRE Modernizr and take just a few lines to implement.
    gordonbrander authored

Feb 21, 2012

  1. reused the existing var

    scottjehl authored
  2. not necessary, as IE8 and under don't have media query support anyhow

    scottjehl authored
  3. un-media'd sources should match without question

    scottjehl authored
  4. all in.

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