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

Side by Side Diff: LayoutTests/fast/scrolling/scrollbar-repaint-two-level-scrollable.html

Issue 1142283006: [SP] Always paint whole non-custom scrollbars (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 onload = function() {
7 // Expose left part of the inner horizontal scrollbar first.
8 document.getElementById('outer').scrollTop = 250;
9 runAfterLayoutAndPaint(function() {
10 // Expose the forward track and forward button of the inner horizontal scrol lbar.
11 document.getElementById('outer').scrollLeft = 250;
12 }, true);
13 };
14 </script>
15 Tests invalidation and painting of scrollbar parts of a scroll area contained by another scroll area, when scrolling of the outer scroll area exposes a new port of the inner scrollbar. Passes if no assertion failure.
16 <div id="outer" style="position: absolute; top: 100px; left: 50px; width: 200px; height: 200px; overflow: scroll">
17 <div id="inner" style="width: 400px; height: 400px; overflow: scroll">
18 <div style="height: 500px; width: 100%; border: 1px solid black">PASS</div>
19 </div>
20 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698