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 attribute failing depending on order of arguments #446

Closed
zanona opened this issue Jan 23, 2015 · 2 comments
Closed

list-style attribute failing depending on order of arguments #446

zanona opened this issue Jan 23, 2015 · 2 comments
Labels
Milestone

Comments

@zanona
Copy link

zanona commented Jan 23, 2015

I understand that as per the spec, attributes such as list-style have its arguments listed as style, position.

However, something which works either way in CSS, is to invert such values as an example:

li { list-style: inside none; }

Unfortunately when doing so, clean CSS will strip the none value from the output resulting in

li { list-style: inside; }

I am not sure about what happens with other CSS attributes accepting arguments in different order

@jakubpawlowicz
Copy link
Collaborator

That's doable and done already for background. It should be same for list-style.

@jakubpawlowicz jakubpawlowicz added this to the 3.2 milestone Jan 23, 2015
@XhmikosR
Copy link
Contributor

XhmikosR commented Feb 7, 2015

Well, the fact that it works doesn't make it right... A spec is a spec for a reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants