Joined February 2014
·

Roland Soos

Győr
·
·

Posted to Modernizr css VALUE test. over 1 year ago

You have an error in this line:
var upcaseProp = property.charAt(0).toUpperCase() + property.slice(1);
It transforms transform-style to Transform-style, but it should be TransformStyle.
It should be:
var upcaseProp = property.replace(/(^|-)([a-z])/g, function(a, b, c){
return c.toUpperCase();
});

Achievements
10 Karma
0 Total ProTip Views
Interests & Skills