Bug 80853 - Avoid unnecessary forced style recalcs
Summary: Avoid unnecessary forced style recalcs
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 09:42 PDT by Antti Koivisto
Modified: 2012-04-12 21:51 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 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.