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

Absolutely positioning an element way off the top of the page makes the body scrollable area long #13932

Open
pcwalton opened this issue Oct 26, 2016 · 3 comments

Comments

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Oct 26, 2016

Minimal test case:

<!DOCTYPE html>
X<div style="position: absolute; top: -1000em;">Y</div>

You should not be able to scroll this page down.

This breaks Google search results.

pcwalton added a commit to pcwalton/servo that referenced this issue Oct 27, 2016
Part of a fix for Google search results.

Closes servo#13932.
@nox
Copy link
Member

@nox nox commented Oct 5, 2017

This still happens.

@nox
Copy link
Member

@nox nox commented Oct 5, 2017

@pcwalton What's wrong with the commit mentioned in this issue?

@pcwalton
Copy link
Contributor Author

@pcwalton pcwalton commented Jan 16, 2018

Well, I'm almost certain it doesn't apply anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.