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 a viewport meta tag to a intersection observer test #15254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hiikezoe
Copy link
Contributor

@hiikezoe hiikezoe commented Feb 5, 2019

To avoid the content is zoomed out and to avoid expanding the layout viewport
to the minimum-scale size.

On mobile without specifying the viewport meta tag, the target element,
positioned at the center of the contents, is initially visible because the
content is zoomed out to some extent. But the test supposes that the target
element is scrolled out of view in the first place and is moved into the
root margin after setting scrollLeft to 100 in step0(). Thus all subsequent
test cases don't work as expected.

To avoid the content is zoomed out and to avoid expanding the layout viewport
to the minimum-scale size.

On mobile without specifying the viewport meta tag, the target element,
positioned at the center of the contents, is initially visible because the
content is zoomed out to some extent.  But the test supposes that the target
element is scrolled out of view in the first place and is moved into the
root margin after setting scrollLeft to 100 in step0().  Thus all subsequent
test cases don't work as expected.
@hiikezoe
Copy link
Contributor Author

hiikezoe commented Feb 5, 2019

This test fail on Firefox on Android.
I wonder whether Chrome team does run wpt on their CI servers.

@szager-chromium would you mind reviewing this? Unfortunately there is no reasonable person to review this in Mozilla at this moment (the change itself is trivial though).

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 6, 2019
… case fail. r=heycam

All of failure test cases in root-margin.html will be fixed by this PR
web-platform-tests/wpt#15254 .

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

--HG--
extra : moz-landing-system : lando
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
… case fail. r=heycam

All of failure test cases in root-margin.html will be fixed by this PR
web-platform-tests/wpt#15254 .

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

UltraBlame original commit: 241a3659869bd944111ee48233ba27ceb2040af7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
… case fail. r=heycam

All of failure test cases in root-margin.html will be fixed by this PR
web-platform-tests/wpt#15254 .

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

UltraBlame original commit: 241a3659869bd944111ee48233ba27ceb2040af7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 4, 2019
… case fail. r=heycam

All of failure test cases in root-margin.html will be fixed by this PR
web-platform-tests/wpt#15254 .

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

UltraBlame original commit: 241a3659869bd944111ee48233ba27ceb2040af7
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.

3 participants