Bug 80300 - Optimize classList
Summary: Optimize classList
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 09:51 PST by Erik Arvidsson
Modified: 2012-03-09 08:00 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Arvidsson 2012-03-05 09:51:52 PST
Right now we set the class attribute every time the classList is changed. Maybe we could skip setting this attribute and mark it as dirty if there are no mutation observers/listeners?