Fixed regular expression to only strip unnecessary units on zero values for length types #27

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

lencioni commented Apr 10, 2012

I used the list of length units from https://developer.mozilla.org/en/CSS/length. I believe this resolves Issue #26.

Contributor

lencioni commented Apr 10, 2012

Some things in misc/initial-values.ini may need to be tweaked, but I am not familiar with how that file is used.

Owner

peteboere commented Apr 10, 2012

Nice one, your solution looks good for merging in the next release.

For some strange reason the working draft spec specifies 0s as the default value on transtition-delay/transition-duration but a unitless 0 for animation-delay/animation-duration defaulting to seconds.

I've updated the initial-values.ini on my development version to reflect this.

@peteboere peteboere added a commit that referenced this pull request May 17, 2012

@peteboere peteboere Bulk of changes for v1.5
New feature: Mixins
New feature: Fragments
New feature: Block nesting
New feature: Rule inheritance / abstract rules
Abstracted IO interface
Added some error reporting
Added spiffing.css plugin
csscrush_tag method now uses media type 'all' by default
Updated Aliases.ini / initial-values.ini
Internal refactoring
Resolved issue #23
Resolved issue #24
Resolved issue #27
Resolved issue #28
Resolved issue #29
1045306

peteboere closed this May 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment