Fix the selectors to include all (visible) elements in :hover/:active quirk test

@foolip r?