RESOLVED FIXED 180433
Prefer ids and classes over tag names in selector filter
https://bugs.webkit.org/show_bug.cgi?id=180433
Summary Prefer ids and classes over tag names in selector filter
Antti Koivisto
Reported 2017-12-05 10:54:25 PST
There are only four slots in the filter and currently we just pick whatever identifiers we find traversing the selector from right to left. More specific selector types are on average more valuable (id > class > tag) so we should prefer them.
Attachments
patch (8.16 KB, patch)
2017-12-05 11:00 PST, Antti Koivisto
no flags
Radar WebKit Bug Importer
Comment 1 2017-12-05 10:57:41 PST
Antti Koivisto
Comment 2 2017-12-05 11:00:16 PST
WebKit Commit Bot
Comment 3 2017-12-06 14:24:09 PST
Comment on attachment 328471 [details] patch Clearing flags on attachment: 328471 Committed r225596: <https://trac.webkit.org/changeset/225596>
WebKit Commit Bot
Comment 4 2017-12-06 14:24:11 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.