[PATCH 21.5] Support the :visible keyword in menu specs