Bug 80853
Summary: | Avoid unnecessary forced style recalcs | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | allan.jensen, efidler, kling, manyoso, shezbaig.wk, staikos, tonikitoo, zalan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Antti Koivisto
Document::scheduleForcedStyleRecalc() schedules the recalc even if there is no style to update yet. Before the timer fires the parser may create new elements with correct style. Doing forced recalc on those is wasted work.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |