Bug 80300
| Summary: | Optimize classList | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, kling, shezbaig.wk |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Erik Arvidsson
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?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |