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

Unified Diff: LayoutTests/fast/repaint/resources/repaint-with-scrollbar-change.html

Issue 271803002: [RAL] Fix nested non-composited RenderView repainting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar rebaselines Created 6 years, 7 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/scrolled-iframe-scrollbar-change.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/resources/repaint-with-scrollbar-change.html
diff --git a/LayoutTests/fast/repaint/resources/repaint-with-scrollbar-change.html b/LayoutTests/fast/repaint/resources/repaint-with-scrollbar-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..a5e6274a670c3d7e3275f0d20062e80170f3567a
--- /dev/null
+++ b/LayoutTests/fast/repaint/resources/repaint-with-scrollbar-change.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<style>
+#container {
+ height: 4000px;
+ background-color: red;
+}
+.noScroll {
+ overflow-y: hidden;
+}
+#overlay {
+ bottom: 0;
+ left: 0;
+ position: fixed;
+ right: 0;
+ top: 0;
+ background-color: green;
+}
+.hidden {
+ display: none;
+}
+input {
+ position: fixed;
+ z-index: 10;
+ bottom: 0;
+}
+</style>
+<script src="../../../resources/run-after-display.js"></script>
+<script src="text-based-repaint.js"></script>
+<body>
+<div id="container">
+ <div id="overlay" class="hidden"></div>
+</div>
+</body>
+<script>
+function repaintTest() {
+ var overlay = document.getElementById("overlay");
+ overlay.classList.toggle('hidden');
+ document.body.classList.toggle('noScroll');
+}
+
+if (window.testRunner)
+ window.testRunner.waitUntilDone();
+
+window.scrollTo(0, 4000);
+runAfterDisplay(runRepaintTest);
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/scrolled-iframe-scrollbar-change.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698