This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add standalone section explaining HD media queries, Added support for preserving selected source class attributes. #30
Closed
Commits on May 16, 2012
-
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.
Brian Muenzenmeyer authored and Brian Muenzenmeyer committedMay 16, 2012 Configuration menu - View commit details
-
Copy full SHA for e004bf3 - Browse repository at this point
Copy the full SHA e004bf3View commit details
Commits on Jul 10, 2012
-
Configuration menu - View commit details
-
Copy full SHA for c5779a8 - Browse repository at this point
Copy the full SHA c5779a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75947b7 - Browse repository at this point
Copy the full SHA 75947b7View commit details -
added a note to the readme about specifying compound media queries wi…
…th an hd example
Configuration menu - View commit details
-
Copy full SHA for ee444ea - Browse repository at this point
Copy the full SHA ee444eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67c3d02 - Browse repository at this point
Copy the full SHA 67c3d02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5489a28 - Browse repository at this point
Copy the full SHA 5489a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 352f458 - Browse repository at this point
Copy the full SHA 352f458View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5483ac - Browse repository at this point
Copy the full SHA e5483acView commit details
Commits on Jul 11, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 1d0e401 - Browse repository at this point
Copy the full SHA 1d0e401View commit details -
Configuration menu - View commit details
-
Copy full SHA for 879b46c - Browse repository at this point
Copy the full SHA 879b46cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dd5bfd - Browse repository at this point
Copy the full SHA 3dd5bfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a02d59 - Browse repository at this point
Copy the full SHA 6a02d59View commit details -
added a missing example media query.
tested this example and the the div implementation of picturefill on an iphone 4 with -webkit- prefixes and a lower min-device-pixel ratio (1.5). leaving out the prefixes to be more future friendly in the readme
Configuration menu - View commit details
-
Copy full SHA for df965b9 - Browse repository at this point
Copy the full SHA df965b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0bb186 - Browse repository at this point
Copy the full SHA c0bb186View commit details -
Merge remote-tracking branch 'scottjehlpicturefill/master'
Conflicts: index.html
Configuration menu - View commit details
-
Copy full SHA for 114d1c5 - Browse repository at this point
Copy the full SHA 114d1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca03b43 - Browse repository at this point
Copy the full SHA ca03b43View commit details -
Added support for preserving selected source class attributes.
Any classes applied to a source element served to the user are applied to the displayed image. This only occurs on inital page load, however. Two issues needed to be considered to make this happen as @beep proposed: 1) should applied css classes by preserved when resizing from one breakpoint image to another? and 2) how should the unused data source list classes be ignored as to not accidently affect page rendering?. I resolved both by making the following assumption: the main use case for picturefill is to serve the correct image once. Someone at an An Event Apart said that the only people that regularly resize browser windows to test for responsiveness are developers. Even so, one can easily preserve css classes between breakpoints by duplicating them.
Configuration menu - View commit details
-
Copy full SHA for f3ffa46 - Browse repository at this point
Copy the full SHA f3ffa46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44d8ab6 - Browse repository at this point
Copy the full SHA 44d8ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 599f3a4 - Browse repository at this point
Copy the full SHA 599f3a4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.