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

[intersection-observer] Test isIntersecting change events #7215

Merged

Conversation

nolanlawson
Copy link
Member

@nolanlawson nolanlawson commented Aug 31, 2017

This is a test for the change introduced in w3c/IntersectionObserver#245. The main difference with the previous version of the spec is that the observer fires events when isIntersecting changes but thresholdsIndex does not, which covers some odd edge-adjacency scenarios.

On my machine, Chrome 60 and Edge 16 prerelease (e.g. public insider 16275) pass the 5 new tests, whereas Firefox Nightly (57.0a1 2017-08-31) does not. This is to be expected given discussion in w3c/IntersectionObserver#222.

/cc @szager-chromium @tobytailor @scottlow

@wpt-pr-bot
Copy link
Collaborator

There are no owners for this pull request. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you!

@ghost
Copy link

ghost commented Aug 31, 2017

Build PASSED

Started: 2017-08-31 22:18:01
Finished: 2017-08-31 22:27:23

Failing Jobs

  • chrome:unstable
  • safari:10.0
  • MicrosoftEdge:14.14393

View more information about this build on:

@jgraham
Copy link
Contributor

jgraham commented Aug 31, 2017

@tobytailor Are you able to review this?

@sideshowbarker
Copy link
Contributor

w3c-test:mirror

@foolip
Copy link
Member

foolip commented Apr 13, 2018

@scottlow @szager-chromium are you able to review this?

@nolanlawson can you rebase it so that Travis runs again?

@nolanlawson nolanlawson force-pushed the nolan/intersection-observer branch from e4bf8a3 to 25c616d Compare May 17, 2018 19:25
@nolanlawson
Copy link
Member Author

rebased ^

@foolip
Copy link
Member

foolip commented May 17, 2018

w3c-test:mirror

Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

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

Manually confirmed http://w3c-test.org/submissions/7215/intersection-observer/isIntersecting-change-events.html to be passing in Chrome, Edge and Firefox. Safari fails with "Can't find variable: IntersectionObserver"

@foolip foolip merged commit f40b9f3 into web-platform-tests:master May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants