Normalize CSS property names in style methods.
Reported by Joe Gornick | September 21st, 2010 @ 10:46 AM
Add ability to support both standard-dashed CSS property syntax or camelCased CSS property syntax.
Internally, check to see if the key has a "-" or uppercase
letter ([A-Z]) and dasherize
the key.
Comments and changes to this ticket
-
Joe Gornick October 6th, 2010 @ 11:52 AM
- State changed from new to invalid
I don't know what I was thinking here, but setStyle and getStyle both already support hyphenated and camelCased.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.