Bug 109294

Summary: Web Inspector: Timeline: invalidate and force locations are same for Layout records caused by style recalculaiton
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, rego+ews, vsevik, web-inspector-bugs, xan.lopez, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch pfeldman: review+

Description Andrey Kosyakov 2013-02-08 06:07:19 PST
When script requests a layout-dependent property, we may invoke both style recalculation and relayout. In case where layout was invalidated by style recalculation, we would report the stack that causes the layout as the one that invalidated it. This may be confusing, so let's report the cause of style recalculation instead.
Comment 1 Andrey Kosyakov 2013-02-08 06:15:19 PST
Created attachment 187304 [details]
Patch
Comment 2 Pavel Feldman 2013-02-09 01:20:37 PST
Comment on attachment 187304 [details]
Patch

A test? Otherwise looks good.
Comment 3 Andrey Kosyakov 2013-02-11 05:42:22 PST
Created attachment 187552 [details]
Patch
Comment 4 Andrey Kosyakov 2013-02-11 10:17:49 PST
Committed r142488: <http://trac.webkit.org/changeset/142488>