WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204448
Optimize dynamic media queries
https://bugs.webkit.org/show_bug.cgi?id=204448
Summary
Optimize dynamic media queries
Antti Koivisto
Reported
2019-11-21 01:38:58 PST
All media queries currently force full style resolver rebuild when a query evaluation changes (for example viewport queries on window resizing or device rotation). This is very inefficient. We should treat media queries more like selectors, avoid rebuilds, and only perform the needed style recalcs.
Attachments
wip
(31.10 KB, patch)
2019-12-13 05:42 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
wip
(31.82 KB, patch)
2019-12-13 09:42 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2019-11-21 07:35:05 PST
<
rdar://problem/40768292
>
Antti Koivisto
Comment 2
2019-12-13 05:42:33 PST
Created
attachment 385595
[details]
wip
Antti Koivisto
Comment 3
2019-12-13 09:42:13 PST
Created
attachment 385611
[details]
wip
Antti Koivisto
Comment 4
2019-12-20 08:52:08 PST
This is done.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug