-
Notifications
You must be signed in to change notification settings - Fork 323
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
Remove default values from shorthand declarations #164
Comments
What happens if all the values of a shorthand are defaults? foo{background:transparent none repeat 0 0 scroll} Is this the shortest possible form of it? foo{background:none} Or is there something even shorter that's still valid? |
Okay, maybe this is even shorter and still valid: foo{background:0 0} But according to W3C this is NOT equivalent to foo{background:0} Because when only one unit is specified for |
It indeed should be |
@GoalSmashers I've just noticed something: seems that for whatever reason, the property optimizer is not called when there's only one property - which means it can't perform this optimalization when there's only one property. I'm now looking into fixing this. Do you have an idea? |
@GoalSmashers Yes, that's it! Thanks! |
Fixed with #249. |
into
Same applies to
font
,animation
, andtransition
.The text was updated successfully, but these errors were encountered: