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

Postprocessor: fallback keyword initial #10

Open
iamvdo opened this issue Jul 3, 2014 · 0 comments
Open

Postprocessor: fallback keyword initial #10

iamvdo opened this issue Jul 3, 2014 · 0 comments

Comments

@iamvdo
Copy link
Owner

iamvdo commented Jul 3, 2014

Add a postprocessor for initial keyword. For example,

.e {
    font-size: initial;
}

will be converted to:

.e {
    font-size: medium;
}

initial isn't supported in IE, even in IE11.

Troublesome:

  • when initial values depend on UAs (color for example, even if black is a standard de facto)
  • when initial values are contextual (text-align is left or right based on direction, etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant