Skip to content

fixes #12492, is(:focus) fails in Chrome#149

Closed
mikesherov wants to merge 3 commits intojquery:masterfrom
mikesherov:buggyFocus
Closed

fixes #12492, is(:focus) fails in Chrome#149
mikesherov wants to merge 3 commits intojquery:masterfrom
mikesherov:buggyFocus

Conversation

@mikesherov
Copy link
Member

fixes issue coming from http://bugs.jquery.com/ticket/12492

I couldn't find a suitable unit test. @timmywil, any suggestions?

sizzle.js Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we void the rule about single quoted arguments having no surrounding spaces? I have been leaving them out.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, you're right.

@timmywil
Copy link
Member

timmywil commented Sep 9, 2012

We have a :focus test for .matchesSelector that should work in Chrome. Was it not failing?

@mikesherov
Copy link
Member Author

It wasn't failing.

@mikesherov
Copy link
Member Author

style nits fixed. I still don't know why the units weren't failing. Perhaps it's only on user generated focus events instead of generated ones, but I confirmed in the fiddle on the original ticket that this fixed it.

@timmywil
Copy link
Member

Thanks Mike.

@timmywil
Copy link
Member

Something's funky here. Can you rebase on master?

@timmywil timmywil closed this in 9fb909e Sep 11, 2012
markelog pushed a commit to markelog/sizzle that referenced this pull request May 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants