-
Couldn't load subscription status.
- Fork 301
Remove StackingContext::scroll_policy #2747
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
Remove StackingContext::scroll_policy #2747
Conversation
|
r? @glennw or anyone |
|
Since Gecko only uses ScrollPolicy:Scrollable, the only change necessary there should be to remove this argument from |
This can be handled in clients now that they have access to reference frame ciip ids. Removing fixed positioning support from WebRender simplifies the code greatly and also opens the way to explicit creation of reference frames in the API. It will also allow us to get rid of the hacky replacements code during display list flattening. This also requires exposing the root reference frame to Wrench tests in order to enable them retain the fixed positioning feature. This change exposes new aliases to wrench "root-scroll-node" and "root-reference-frame" in order to make this clearer. These nodes correspond to the ids 1 and 0 respectively and Wrench will halt if it encounters these used for other nodes.
1d60f4f to
f779ed6
Compare
|
Reviewed 48 of 48 files at r1. Comments from Reviewable |
|
@bors-servo r+ |
|
📌 Commit f779ed6 has been approved by |
Remove StackingContext::scroll_policy This can be handled in clients now that they have access to reference frame ciip ids. Removing fixed positioning support from WebRender simplifies the code greatly and also opens the way to explicit creation of reference frames in the API. It will also allow us to get rid of the hacky replacements code during display list flattening. This also requires exposing the root reference frame to Wrench tests in order to enable them retain the fixed positioning feature. This change exposes new aliases to wrench "root-scroll-node" and "root-reference-frame" in order to make this clearer. These nodes correspond to the ids 1 and 0 respectively and Wrench will halt if it encounters these used for other nodes. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2747) <!-- Reviewable:end -->
|
☀️ Test successful - status-appveyor, status-taskcluster |
This can be handled in clients now that they have access to reference
frame ciip ids. Removing fixed positioning support from WebRender
simplifies the code greatly and also opens the way to explicit creation
of reference frames in the API. It will also allow us to get rid of the
hacky replacements code during display list flattening.
This also requires exposing the root reference frame to Wrench tests in
order to enable them retain the fixed positioning feature. This change
exposes new aliases to wrench "root-scroll-node" and
"root-reference-frame" in order to make this clearer. These nodes
correspond to the ids 1 and 0 respectively and Wrench will halt if it
encounters these used for other nodes.
This change is