
The .selected style class indicates the "active" menu item, which is generally the last hovered or focused one (whichever happened last). Styling that instead of :focus and :hover directly guarantees that only a single item will be selected at a time, which removes ambiguity and matches the behavior of GTK+ menus. https://bugzilla.gnome.org/show_bug.cgi?id=745246