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
wip (31.82 KB, patch)
2019-12-13 09:42 PST, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2019-11-21 07:35:05 PST
Antti Koivisto
Comment 2 2019-12-13 05:42:33 PST
Antti Koivisto
Comment 3 2019-12-13 09:42:13 PST
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.