Bug 80853

Summary: Avoid unnecessary forced style recalcs
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: 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
Reported 2012-03-12 09:42:13 PDT
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
Note You need to log in before you can comment on or make changes to this bug.