matchmedia and media query support should not be required to run #9

scottjehl opened this Issue Mar 22, 2012 · 0 comments


None yet

1 participant


Source elements that have no media attribute, or a media attribute that specifies a media type (but not a query), these should work fine in all browsers. Media query support is not necessary for that case, and it'd allow for the initial source element to load in any JS-enabled environment.

@scottjehl scottjehl was assigned Mar 22, 2012
@scottjehl scottjehl pushed a commit that closed this issue Mar 22, 2012
scottjehl matchmedia and media query support should not be required for picture…
…fill to run - source elements with no media attributes or media attributes specifying media types (but not queries) do not require media query support. For media attribute support in general (even in non-query supporting browsers), matchMedia polyfill is necessary, but this change ensures a non-media source element will load in JS environments. Fixes #9
@scottjehl scottjehl closed this in 52de779 Mar 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment