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

list-style-type gets destroyed #596

Closed
haf opened this issue Jun 7, 2015 · 3 comments
Closed

list-style-type gets destroyed #596

haf opened this issue Jun 7, 2015 · 3 comments
Milestone

Comments

@haf
Copy link

haf commented Jun 7, 2015

On line 0:

  6 .list-123 {
  5   font-size: 1.2rem;
  4 
  3   padding: 0;
  2   margin-top: 2rem;
  1 
  0   list-style-type: none;
  1   list-style-type: decimal !ie; /*IE 7- hack*/
  2 
  3   counter-reset: li-counter;
  4 }

Gets output to:

.list-123{font-size:1.2rem;padding:0;margin-top:2rem}

@jakubpawlowicz
Copy link
Collaborator

clean-css runs in IE9+ mode by default, so first of all you need to run in IE7 compatibility mode (--compatibility ie7), however it still does not seem to work unless you turn off advanced mode (--skip-advanced). I'll find out why.

@jakubpawlowicz
Copy link
Collaborator

It's just been released with clean-css 3.4. 🎆

@haf
Copy link
Author

haf commented Aug 27, 2015

👍 thank you!

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

2 participants