forked from scottjehl/picturefill
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example of HD Support in Picture Element
Would appreciate some help with a better image, I did my best. Don't know if it was optimal resizing.
- Loading branch information
Brian Muenzenmeyer
authored and
Brian Muenzenmeyer
committed
May 16, 2012
1 parent
0d793ea
commit e004bf3
Showing
12 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e004bf3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will not work on Firefox, Opera on a Macbook with retina display.
Can picturefill handle multiple media queries?
(will end w/ a boatload of code otherwise)
e004bf3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right about the -webkit-prefix; those browsers would only be served the standard definition images. It would be best to use the standards syntax too, though I am unsure of browser support at the moment. (btw, the Macbook with Retina was not announced when I wrote this :) ).
As to whether the picturefill can handle multiple media queries; yes it can. The compound syntax works fine in my testing.
e004bf3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
I am writing an article called "webdesign in a retina world" and researching these things. Thanks so much!