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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #container {
4 height: 4000px;
5 background-color: red;
6 }
7 .noScroll {
8 overflow-y: hidden;
9 }
10 #overlay {
11 bottom: 0;
12 left: 0;
13 position: fixed;
14 right: 0;
15 top: 0;
16 background-color: green;
17 }
18 .hidden {
19 display: none;
20 }
21 input {
22 position: fixed;
23 z-index: 10;
24 bottom: 0;
25 }
26 </style>
27 <script src="../../../resources/run-after-display.js"></script>
28 <script src="text-based-repaint.js"></script>
29 <body>
30 <div id="container">
31 <div id="overlay" class="hidden"></div>
32 </div>
33 </body>
34 <script>
35 function repaintTest() {
36 var overlay = document.getElementById("overlay");
37 overlay.classList.toggle('hidden');
38 document.body.classList.toggle('noScroll');
39 }
40
41 if (window.testRunner)
42 window.testRunner.waitUntilDone();
43
44 window.scrollTo(0, 4000);
45 runAfterDisplay(runRepaintTest);
46 </script>
OLDNEW
« 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