Auto merge of #25560 - mrobinson:scrollable-overflow-v1, r=SimonSapin

Add initial scrolling support to layout_2020

This adds very early scrolling support to layout_2020. Only the root element scrolls for now, but the idea is to continue to polish this.

---
<!-- 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. -->
This commit is contained in:
bors-servo 2020-01-21 13:03:27 -05:00 committed by GitHub
commit 35eb6dd074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 286 additions and 65 deletions

View file

@ -19368,11 +19368,11 @@
"testharness"
],
"mozilla/scroll_root.html": [
"b1a9cb590b0fcce9c883f99e17fa029a999b699b",
"5896eb3957da1eb85a26680053823d3f3bf9af49",
"reftest"
],
"mozilla/scroll_root_ref.html": [
"6503ad5d5265c0698f61fc607e2e4e017b31cb6f",
"c7d4cfec7b9d9b5daf32841172721ddac3e4d071",
"support"
],
"mozilla/scroll_top_null_target.html": [

View file

@ -7,6 +7,9 @@
<style>
body {
background: green;
/* FIXME(mrobinson): Remove this workaround when #25559 is fixed. */
margin: 0;
}
</style>
</head>

View file

@ -5,7 +5,14 @@
<style>
body {
background: green;
/* FIXME(mrobinson): Remove this workaround when #25559 is fixed. */
margin: 0;
}
</style>
</head>
<body>
<!-- FIXME(mrobinson): Remove this workaround div when #25559 is fixed. -->
<div style="height: 10000px;"></div>
</body>
</html>