Interaction States docs typo and enhancements

Interaction States docs typo and enhancements


Have you noticed?
jQuery Theming API documentation http://jqueryui.com/docs/Theming/API
Interaction States: .ui-state-hover & .ui-state-focus definitions are
the same.
I need a ui state to change a style on mouse-down event (e.g. for
buttons). Currently "ui-state-active" is set upon mouse-down and up
( in tabs and accordion ).
My suggestion is to keep ui-state-active for mouse-down only. Mouse up
would clear the ui-state-active (possibly change it to something else
- or would get back to "ui-state-default")
Tabs and Accordion could use "ui-state-selected" If I remember
correctly original Tabs used "tabs-selected" too.
Maybe the whole issue is between state and event. Element can be in
state and have an event fired on it with or without changing its
state. BTW Selectable uses ui-selected... Should we start to use "ui-
state-selected"
Jan