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

Unified Diff: LayoutTests/compositing/overflow/scroll-parent-absolute.html

Issue 344733003: Clean up ancestorScrollingLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make sure we pass Adam's layout test. Created 6 years, 6 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/scroll-parent-absolute-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/overflow/scroll-parent-absolute.html
diff --git a/LayoutTests/compositing/overflow/scroll-parent-absolute.html b/LayoutTests/compositing/overflow/scroll-parent-absolute.html
new file mode 100644
index 0000000000000000000000000000000000000000..1290e84ae9c79a350a6ee323e2a9e969e0e594b6
--- /dev/null
+++ b/LayoutTests/compositing/overflow/scroll-parent-absolute.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<body>
+<div id="top" style="overflow: scroll; height: 500px; width: 500px; background-color: blue">
+ <div id="middle" style="position: absolute; height: 400px; width: 400px; background-color: green">
+ <div id="child" style="position: relative; height: 300px; width: 300px; background-color: yellow; -webkit-backface-visibility: hidden"></div>
+ </div>
+ <div id="tall" style="position: relative; height: 5000px; width: 20px; background-color: salmon"></div>
+</div>
+<div style="height: 5000px; width: 20px; background-color: papayawhip"></div>
+<script>
+if (window.testRunner) {
+ internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
+
+ testRunner.dumpAsText();
+ testRunner.setCustomTextOutput(
+ internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_CLIP_AND_SCROLL_PARENTS));
+}
+</script>
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/scroll-parent-absolute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698