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

set cursor: pointer on document element when on ios #2060

Merged
merged 1 commit into from Feb 17, 2016

Conversation

erwinmombay
Copy link
Member

Closes #2054

@erwinmombay
Copy link
Member Author

@dvoytenko PTAL

expect(elem.style.cursor).to.not.be.ok;
sandbox.stub(platform, 'isIos').returns(true);
styles.installStyles(document, '', () => {});
expect(elem.style.cursor).to.be.ok;
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's do to.equal.pointer() - we want to be very explicit here.

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, i think i just forgot to switch it.

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

@dvoytenko
Copy link
Contributor

LGTM with two comments.

erwinmombay added a commit that referenced this pull request Feb 17, 2016
set cursor: pointer on document element when on ios
@erwinmombay erwinmombay merged commit 7254c5f into ampproject:master Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants