Bug 80300

Summary: Optimize classList
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, kling, shezbaig.wk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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?