RESOLVED FIXED233883
Use more specific keys for pseudo-class invalidation
https://bugs.webkit.org/show_bug.cgi?id=233883
Summary Use more specific keys for pseudo-class invalidation
Antti Koivisto
Reported 2021-12-06 10:44:10 PST
Currently pseudo-class invalidation is keyed on the pseudo-class type only. If we have rule like .foo:hover { ... } we end up considering this rule every time any element's :hover state changes, whether it has class 'foo' or not. We can improve this by keying pseudo-class invalidation more narrowly on type/class or type/id pairs.
Attachments
Patch (21.05 KB, patch)
2021-12-06 10:48 PST, Antti Koivisto
no flags
Patch (24.17 KB, patch)
2021-12-06 12:53 PST, Antti Koivisto
no flags
Patch (24.24 KB, patch)
2021-12-07 00:32 PST, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2021-12-06 10:48:17 PST
Antti Koivisto
Comment 2 2021-12-06 12:53:18 PST
Antti Koivisto
Comment 3 2021-12-07 00:32:01 PST
EWS
Comment 4 2021-12-07 09:49:58 PST
Committed r286598 (?): <https://commits.webkit.org/r286598> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446134 [details].
Radar WebKit Bug Importer
Comment 5 2021-12-07 09:50:23 PST
Note You need to log in before you can comment on or make changes to this bug.