Bug 115042

Summary: Avoid computing style twice when element has no existing style
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, commit-queue, esprehn+autocc, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 111627    
Attachments:
Description Flags
patch kling: review+

Description Antti Koivisto 2013-04-23 08:13:28 PDT
Element::recalcStyle can be more efficient.
Comment 1 Antti Koivisto 2013-04-23 08:28:21 PDT
Created attachment 199243 [details]
patch
Comment 2 Andreas Kling 2013-04-23 08:36:18 PDT
Comment on attachment 199243 [details]
patch

Nice catch! r=me
Comment 3 Antti Koivisto 2013-04-23 09:12:26 PDT
http://trac.webkit.org/changeset/148970