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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled-with-custom-scrollbar.html

Issue 2411193002: Account for non-composited scroll offset of scrollbars. (Closed)
Patch Set: none Created 4 years, 2 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
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="resources/text-based-repaint.js"></script>
3 <style>
4 ::-webkit-scrollbar {
5 width: 12px;
6 height: 12px;
7 background: green;
8 }
9 </style>
10 <!-- Checks that paint invalidation for the custom scrollbar of 'target' is comp uted correctly after scroll of 'scroller'.
11 The invalidation rects should be correct, and the horizontal & vertical scrollba rs should appear in green. -->
12 <div id="scroller" style="overflow: hidden; width: 300px; height: 300px; backfac e-visibility: hidden; border: 1px solid black">
13 <div style="width: 300px; height: 600px"></div>
14 <div id=target style="width: 100px; height: 100px; background: lightgray; over flow: scroll">
15 </div>
16 </div>
17 <script>
18 onload = runRepaintTest;
19
20 function repaintTest() {
21 scroller.scrollTop = 400;
22 }
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698