This fork is only intended to be used on The Guardian.
If you found this by accident, you might have been looking for @scottjehl's original.
-
ignores resize events
-
doesn't auto-run (returns an init-type function)
-
DOM modification is passed to fastdom
-
it's a proper AMD module
A responsive image polyfill.
- Authors: Scott Jehl, Mat Marquis, Shawn Jansepar (2.0 refactor lead), and many more: see Authors.txt
- License: MIT
Picturefill has two versions:
- Version 2 is a strict polyfill of the Picture element draft specification and is the main version in development.
- Version 1 mimics the Picture element pattern with
span
elements. It is maintained in the 1.2 branch.
To find out how to use Picturefill on your sites, visit the project and demo site:
Picturefill Documentation, Downloads, and Demos Site
For information on how to contribute code to Picturefill, check out CONTRIBUTING.md
If you find a bug in Picturefill, please add it to the issue tracker
Picturefill supports a broad range of browsers and devices (there are currently no known unsupported browsers), provided that you stick with the markup conventions provided.