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

[Gecko Bug 1505471] Map intersection observer rects to the right viewport. #16875

Merged
merged 1 commit into from May 16, 2019

Conversation

moz-wptsync-bot
Copy link
Collaborator

targetFrame is modified during the intersection computation loop, so it's not
the viewport you want if there are scrollframes around.

The test is the same as iframe-no-root.html but with a wrapping scroller which
triggers this bug.

This code is quite subtle, so will refactor and clean it up in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D31147

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1505471
gecko-commit: 5f88dc67d75ba1e08dad4c4e9b39a8df593b2be6
gecko-integration-branch: central
gecko-reviewers: mstange

targetFrame is modified during the intersection computation loop, so it's not
the viewport you want if there are scrollframes around.

The test is the same as iframe-no-root.html but with a wrapping scroller which
triggers this bug.

This code is quite subtle, so will refactor and clean it up in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D31147

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1505471
gecko-commit: 5f88dc67d75ba1e08dad4c4e9b39a8df593b2be6
gecko-integration-branch: central
gecko-reviewers: mstange
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

Already reviewed downstream.

@moz-wptsync-bot moz-wptsync-bot merged commit 30197eb into master May 16, 2019
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1505471 branch May 16, 2019 15:41
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.

None yet

3 participants