Skip to content

Draggable Tests: fix IE offset tests affected by focus issues.#1195

Merged
mikesherov merged 3 commits into
jquery:masterfrom
mikesherov:draggable_tests
Feb 18, 2014
Merged

Draggable Tests: fix IE offset tests affected by focus issues.#1195
mikesherov merged 3 commits into
jquery:masterfrom
mikesherov:draggable_tests

Conversation

@mikesherov
Copy link
Copy Markdown
Member

No description provided.

@mikesherov mikesherov restored the draggable_tests branch February 17, 2014 23:00
@scottgonzalez
Copy link
Copy Markdown
Member

Shouldn't you enable JSCS on draggable if you've fixed the issues?

@mikesherov
Copy link
Copy Markdown
Member Author

Probably?

@mikesherov
Copy link
Copy Markdown
Member Author

Enabled JSCS on draggable.

@mikesherov
Copy link
Copy Markdown
Member Author

@scottgonzalez good to land?

@scottgonzalez
Copy link
Copy Markdown
Member

Squash the JSCS related commits and land it.

Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior,
we must rely on the actual calculated offset instead of the helper offset to ensure
cross browser test consistency.
Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior,
we must calculate scrollTop on the drag event, before .focus is called.
@jzaefferer
Copy link
Copy Markdown
Member

Looks good to me.

@mikesherov mikesherov merged commit dc1e63b into jquery:master Feb 18, 2014
@mikesherov mikesherov deleted the draggable_tests branch August 9, 2014 23:57
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.

3 participants