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

[css-values-4] Canonical <resolution> unit #2631

Closed
tabatkins opened this issue Apr 30, 2018 · 1 comment
Closed

[css-values-4] Canonical <resolution> unit #2631

tabatkins opened this issue Apr 30, 2018 · 1 comment
Labels
css-values-4 Current Work

Comments

@tabatkins
Copy link
Member

Due to WebKit shipping some things using x as a <resolution> unit, we added it to <resolution> officially in Values 4. When adding it, I chose to set x as the canonical unit for the type, as WebKit's additions seemed to be the main use for the type, and it seemed like preserving them as serializing with x was important.

Chrome is planning on finally actually implementing this - accepting x in the MQs that take <resolution>, and accepting other <resolution> units in an (unprefixed) image-set() and <img srcset>. The question that arises is thus whether x is really the best canonical unit to use or not, considering that other browsers don't yet implement x, or whether we should change it to dppx.

@tabatkins tabatkins added the css-values-4 Current Work label Apr 30, 2018
@tabatkins
Copy link
Member Author

Whoops, this is a duplicate of #2241.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-values-4 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant