A JavaScript function I made needs to parse all CSS values that don't necessarily have 'one' value attached to them. For example, margin:0 0 4px 12px;
is actually four values (margin-top, margin-right, etc).
Basically, all I need is a list of the shorthand properties. However, I don't need all shorthand css. I just need the shorthand css that could potentially be animated (rgb, px, em,etc). So, I don't care about border:1px solid black;
since I can't animate solid.
But I do care about border-width,
since border-width is shorthand for all four borders.
Anyways, my list includes:
- border-width
- background-position
- padding
- margin
- border-radius (-webkit and -moz)
- box-shadow
- -moz-outline-radius
- border-color
- -moz-border-colors...
- text-shadow
So, did I miss any? You see, I don't know if there are any obscure properties that are like: mystery-color:red green blue hazel pigbreath;