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