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

Unified Diff: LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html

Issue 460883002: Non-composited scrolling div should invalidate when it has descendant paints to its backing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 6 years, 4 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/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html
diff --git a/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html
new file mode 100644
index 0000000000000000000000000000000000000000..9f2936f9c6a06795a2870f83c8bab9084a59e685
--- /dev/null
+++ b/LayoutTests/fast/scrolling/non-composited-scrolling-repaint-to-ancestor-backing.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<style>
+#container {
+ overflow: scroll;
+ width: 400px;
+ height: 300px;
+}
+
+#clipping {
+ overflow: hidden;
+ height: 1000px;
+
+ position: relative;
+ z-index: 0;
+}
+
+#clipped {
+ height: 10px;
+ border: solid 1px black;
+ transform: translateZ(0);
+}
+</style>
+<div id="container">
+ <div id="clipping">
+ <div>Lorem ipsum</div>
+ <div id="clipped"></div>
+ </div>
+</div>
+<script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.displayAsyncThen(function() {
+ document.getElementById('container').scrollTop = 1000;
+ testRunner.notifyDone();
+ });
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698