'Invalid argument' error, line 3772:
this.style[property] = value;
property = borderLeft
value = NaN NaN NaN NaN 216)
Some info on this one:
color width style
width style color
I will keep looking at this, will be back with a pull request if I can find the source of this issue.
so the source is simply a bug on IE7/8, where assigning the 3 components of a border side (either via the shorthand or using the 3 individual styles), a later retrieval of that value comes with the aforementioned incorrect order. Note that it also returns the incorrect order when using the border shorthand (that is, setting/getting all 4 borders at once)
The only thing I can think of is setting a feature detect for this bug, and in such case get an additional step on getStyle to reorder the components.
Any voice against this suggestion? else I will get working onto the pull request :)
Awesome @gonchuki, so basically .getStyle('border-left') returns the properties in a different order than other browsers, which returns in NaNs eventually... so that'd be good to fix.