Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: LayoutTests/compositing/squashing/overflow-scroll-grandchildren-expected.html

Issue 219223008: Revert of Revert of Put the squashing layer underneath the ancestor clipping layer if present. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/squashing/overflow-scroll-grandchildren-expected.html
diff --git a/LayoutTests/compositing/squashing/overflow-scroll-grandchildren-expected.html b/LayoutTests/compositing/squashing/overflow-scroll-grandchildren-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..eca72407bbd7d38adfe1de703602a940fe4e6235
--- /dev/null
+++ b/LayoutTests/compositing/squashing/overflow-scroll-grandchildren-expected.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<style>
+ #container {
+ width: 300px;
+ height: 300px;
+ border: 1px solid black;
+ overflow: scroll;
+ }
+
+ #overlapper {
+ position: fixed;
+ background-color: red;
+ width: 50px;
+ height: 200px;
+ left: 20px;
+ top: 20px;
+ }
+
+ #subcontainer {
+ height: 500px
+ }
+
+ .child {
+ position: relative;
+ top: 5px;
+ left: 5px;
+ background-color: green;
+ height: 35px;
+ width: 35px;
+ margin: 50px;
+ }
+
+ .grandchild {
+ position: relative;
+ top: 5px;
+ left: 5px;
+ background-color: blue;
+ height: 10px;
+ width: 10px;
+ }
+</style>
+
+<div id="overlapper"></div>
+<div id="container">
+ <div id="subcontainer">
+ <div class="child">
+ <div class="grandchild"></div>
+ </div>
+ <div class="child">
+ <div class="grandchild"></div>
+ </div>
+ </div>
+</div>
+<script>
+var container = document.getElementById("container");
+container.scrollTop = 65;
+</script>

Powered by Google App Engine
This is Rietveld 408576698