Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu: Use ui-state-active consistently #1429

Merged
merged 1 commit into from Jan 21, 2015
Merged

Menu: Use ui-state-active consistently #1429

merged 1 commit into from Jan 21, 2015

Conversation

jzaefferer
Copy link
Member

So far we were using ui-state-active on active parent items, ui-state-focus on active child items. The theme update highlighted the visual inconsistency. With this change, only ui-state-active is used.

Fixes #10692

This also affects autocomplete and selectmenu, since they both use menu. Only selectmenu tries to mess with menu classes.

The theme.css change needs to be dropped and is there only to show what the menu will look like after #1384 lands. As long as we land both before 1.12, this can also land before #1384.

Tested using browserstack-runner locally, running all three affected testsuites, along with clicking around demos and visual tests manually in Chrome.

@scottgonzalez
Copy link
Member

Looks good.

So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.

Fixes #10692
@jzaefferer
Copy link
Member Author

Updated to drop the theme change, will merge that.

@jzaefferer jzaefferer merged commit 0bbd156 into jquery:master Jan 21, 2015
@jzaefferer jzaefferer deleted the menu-active-state branch January 21, 2015 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants