Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dppx and dpcm units to parser dimensions #889

Merged
merged 3 commits into from
Aug 10, 2012
Merged

Add dppx and dpcm units to parser dimensions #889

merged 3 commits into from
Aug 10, 2012

Conversation

feelepxyz
Copy link
Contributor

dppx is currently supported by Firefox >= 16.
This can be used to target retina setups:
@media (min-resolution: 2dppx) {}

http://www.w3.org/TR/css3-values/#resolution
http://www.w3.org/blog/CSS/2012/06/14/unprefix-webkit-device-pixel-ratio/

PS. My editor removed some trailing whitespace in the process.

Cheers

dppx is currently supported by Firefox > 16.
This can be used to target retina setups:
@media (min-resolution: 2dppx) {}

http://www.w3.org/TR/css3-values/#resolution
@Synchro
Copy link
Member

Synchro commented Aug 10, 2012

Fancy rejigging this commit so it doesn't clash with your other one in #890?

@feelepxyz
Copy link
Contributor Author

@Synchro merged upstream master

@feelepxyz
Copy link
Contributor Author

The related tests now pass..

Synchro added a commit that referenced this pull request Aug 10, 2012
Add dppx and dpcm units to parser dimensions
@Synchro Synchro merged commit be8a239 into less:master Aug 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants