Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTrack overflow:scroll stacking contexts with ScrollRootId instead of StackingContextId #13957
Conversation
highfive
commented
Oct 28, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Oct 28, 2016
|
@bors-servo try |
|
|
|
|
|
@bors-servo: retry |
Track overflow:scroll stacking contexts with ScrollRootId instead of StackingContextId <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because this PR should not change behavior. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13957) <!-- Reviewable:end -->
|
|
|
That is not the actual log that shows the failure; I filed servo/saltfs#530 about this problem. |
|
@bors-servo: retry |
Track overflow:scroll stacking contexts with ScrollRootId instead of StackingContextId <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because this PR should not change behavior. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13957) <!-- Reviewable:end -->
|
|
|
One question, r=me once that's resolved. |
| if let Some(scroll_offset) = scroll_offsets.get(&stacking_context.id) { | ||
| translated_point.x -= Au::from_f32_px(scroll_offset.x); | ||
| translated_point.y -= Au::from_f32_px(scroll_offset.y); | ||
| if stacking_context.id != StackingContextId::root() { |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
mrobinson
Oct 30, 2016
Author
Member
Yes, I think so, in order to not change behavior. In the future, fixed position overlow:scroll stacking contexts will be supported.
This comment has been minimized.
This comment has been minimized.
mrobinson
Oct 30, 2016
Author
Member
Okay. Thanks for pointing that out! I've fixed it in the latest version of the branch.
|
@bors-servo r=glennw |
|
|
Track overflow:scroll stacking contexts with ScrollRootId instead of StackingContextId <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because this PR should not change behavior. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13957) <!-- Reviewable:end -->
|
|
mrobinson commentedOct 28, 2016
•
edited by larsbergstrom
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is