Those pseudo-classes match based on the OS setting and not what buttons are currently visible/hidden. So buttons that are forced to show with display: block, or hidden with display: none do not affect rules with those classes. See the last examples at http://javelin.cc/scrollbar/
Created attachment 24299 [details] Test case
Can't be fixed according to Hyatt. Style can't be checked when matching selectors.