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.

Use native ClassList functions when available

#183

I suggest you use the native HTML5 ClassList functions for adding, removing, checking for, and even toggling of classnames on HTML elements as described here, in browsers that already support it.

Reported by Douwe M. · February 10th, 2010 @ 03:07 PM

State: hold
Milestone: 1.5.5 Release
Assigned to: MadRabbit MadRabbit

Activity

  1. MadRabbit
    MadRabbit
    • Tag changed from classlist, classname, element#addclass to core, dom, element

    sounds like fun, will see what we can do about that

    February 10th, 2010 @ 10:55 PM

  2. MadRabbit
    MadRabbit
    • Milestone set to 1.5.5 Release

    February 17th, 2010 @ 12:17 AM

  3. MadRabbit
    MadRabbit
    • State changed from new to hold

    http://www.dzone.com/links/native_html5_classlist_feature_in_firefo...

    Hope you don't mind if I'll keep this ticket on hold for a while :)

    February 26th, 2010 @ 09:39 PM

  4. Douwe M.
    Douwe M.

    No problem ;-) Just ran across the feature and reported it, as usually native code is faster, but not in this case it appears

    February 26th, 2010 @ 09:41 PM

  5. MadRabbit
    MadRabbit

    Well it seems that the feature on it's early stage, think they will fix it in some upcoming releases, then we will add it to RightJS. Hopefully it will appear in WebKit too by then.

    February 26th, 2010 @ 09:49 PM

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.