-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Implement scrollgrab #7672
Comments
In this test, we want to div to scroll before the iframe: <style>
div {
height: 400px;
width: 400px;
overflow: scroll;
border: 20px solid red;
}
h1 {
height: 20px;
}
iframe {
background: white;
height: 400px;
width: 400px;
border: none;
}
</style>
<div mozscrollgrab="true">
<h1>foo</h1>
<iframe src="http://paulrouget.com" mozbrowser="true"></iframe>
</div> |
We should use a CSS property and propose it to www-style. |
Probably just have a flag on the scroll layer, propagate that down through all the layers of WebRender data structures, and use that to determine which layer should scroll when dispatching scroll events in WR. |
This was relevant for Firefox OS, and for browserhtml when we were building scrollout toolbar based on scrollgrab and snappoints. It is not the case anymore, and scrollgrab is not part of any spec. Closing. |
When scrolling, we want to be able to give a parent layer the priority.
Relevant bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=912666
The text was updated successfully, but these errors were encountered: