Bug 115370 - Don't check for @media rules affected by viewport changes in every layout.
Summary: Don't check for @media rules affected by viewport changes in every layout.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-04-29 12:28 PDT by Andreas Kling
Modified: 2013-04-30 10:35 PDT (History)
4 users (show)

See Also:


Attachments
Possibly a patch (2.37 KB, patch)
2013-04-29 12:34 PDT, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2013-04-29 12:28:21 PDT
I think we should be able to to a deferred StyleResolver rebuild when the FrameView's framerect changes, instead of doing it synchronously in layout().
Comment 1 Andreas Kling 2013-04-29 12:34:16 PDT
Created attachment 200037 [details]
Possibly a patch
Comment 2 Antti Koivisto 2013-04-29 13:40:49 PDT
Comment on attachment 200037 [details]
Possibly a patch

r=me
Comment 3 Radar WebKit Bug Importer 2013-04-29 13:45:04 PDT
<rdar://problem/13765739>
Comment 4 Andreas Kling 2013-04-29 14:05:31 PDT
Committed r149313: <http://trac.webkit.org/changeset/149313>
Comment 5 Andreas Kling 2013-04-30 10:35:52 PDT
Follow-up fix for bug 115421:
Committed r149377: <http://trac.webkit.org/changeset/149377>