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

Unified Diff: LayoutTests/compositing/overflow/scrolls-with-respect-to.html

Issue 268813005: Fix bug in RenderLayer::scrollsWithRespectTo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/scrolls-with-respect-to-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/overflow/scrolls-with-respect-to.html
diff --git a/LayoutTests/compositing/overflow/scrolls-with-respect-to.html b/LayoutTests/compositing/overflow/scrolls-with-respect-to.html
index 6b1b6dc233e8f0233bfa57a617b8c9fc5d1bf9d6..a21105bdb164afa234d26da42cc97dd4f09b3aea 100644
--- a/LayoutTests/compositing/overflow/scrolls-with-respect-to.html
+++ b/LayoutTests/compositing/overflow/scrolls-with-respect-to.html
@@ -43,6 +43,7 @@
height: 100px;
width: 100px;
background-color: black;
+ position: relative;
}
</style>
@@ -87,7 +88,7 @@
if(!window.internals)
return;
- var divs = ['predecessor', 'container', 'scrolled1', 'scrolled2', 'scrolled3', 'fixed-descendant', 'successor', 'root'];
+ var divs = ['predecessor', 'container', 'scrolled1', 'scrolled2', 'scrolled3', 'fixed-descendant', 'successor', 'root', 'descendant'];
for (var i = 0; i < divs.length; i++) {
var div1 = document.getElementById(divs[i]);
for (var j = 0; j < divs.length; j++) {
@@ -122,7 +123,7 @@
<div class='positioned' id='predecessor'></div>
<div class='container' id='container'>
<div class='scrolled' id='scrolled1'>
- <div class='descendant'></div>
+ <div id='descendant' class='descendant'></div>
</div>
<div class='scrolled' style='z-index:2;' id='scrolled2'>
<div class='descendant'></div>
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/scrolls-with-respect-to-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698