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.
Created attachment 328471 [details]
Comment on attachment 328471 [details]
Clearing flags on attachment: 328471
Committed r225596: <https://trac.webkit.org/changeset/225596>
All reviewed patches have been landed. Closing bug.