Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Normalize CSS property names in style methods.

#80

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.

Reported by Joe Gornick · September 21st, 2010 @ 10:46 AM

State: invalid
Milestone: none
Assigned to: Joe Gornick Joe Gornick

Activity

  1. Joe Gornick
    Joe Gornick
    • 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.

    October 6th, 2010 @ 11:52 AM

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.