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

Create proper root ClipId when scrolling from script #16529

Merged
merged 1 commit into from Apr 19, 2017

Conversation

@mrobinson
Copy link
Member

mrobinson commented Apr 19, 2017

WebRender currently makes a distinction between an external ClipId with
id equal to 0 and the root scroll ClipId. We need to detect this
situation and properly form the ClipId for the root.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #__ (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

Copy link
Member

glennw left a comment

Just need to fix up the manifest, then r=me.

@@ -9717,6 +9729,11 @@
{}
]
],
"mozilla/referrer-policy/generic/subresource/mozresource.pyc": [

This comment has been minimized.

Copy link
@glennw

glennw Apr 19, 2017

Member

This shouldn't be here.

This comment has been minimized.

Copy link
@mrobinson

mrobinson Apr 19, 2017

Author Member

Ugh. I should probably fix this script to ignore pyc files. Should be fixed now!

@@ -26005,6 +26027,10 @@
"d5e7151e650a785f23df411f1f302116372f4dc6",
"support"
],
"mozilla/referrer-policy/generic/subresource/mozresource.pyc": [

This comment has been minimized.

Copy link
@glennw

glennw Apr 19, 2017

Member

Same here.

WebRender currently makes a distinction between an external ClipId with
id equal to 0 and the root scroll ClipId. We need to detect this
situation and properly form the ClipId for the root.
@mrobinson mrobinson force-pushed the mrobinson:root-scroll branch from 7a019f6 to 6017dc0 Apr 19, 2017
@glennw
glennw approved these changes Apr 19, 2017
@glennw
Copy link
Member

glennw commented Apr 19, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Apr 19, 2017

📌 Commit 6017dc0 has been approved by glennw

@highfive highfive assigned glennw and unassigned KiChjang Apr 19, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Apr 19, 2017

Testing commit 6017dc0 with merge 2d2c825...

bors-servo added a commit that referenced this pull request Apr 19, 2017
Create proper root ClipId when scrolling from script

WebRender currently makes a distinction between an external ClipId with
id equal to 0 and the root scroll ClipId. We need to detect this
situation and properly form the ClipId for the root.

<!-- 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: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/16529)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Apr 19, 2017

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: glennw
Pushing 2d2c825 to master...

@bors-servo bors-servo merged commit 6017dc0 into servo:master Apr 19, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@mrobinson mrobinson deleted the mrobinson:root-scroll branch Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.