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.
Created attachment 187304 [details]
Comment on attachment 187304 [details]
A test? Otherwise looks good.
Created attachment 187552 [details]
Committed r142488: <http://trac.webkit.org/changeset/142488>