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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/background-attachment-local-composited.html

Issue 2498823002: Paint invalidation of local attachment backgrounds (Closed)
Patch Set: Update test expectations Created 4 years, 1 month 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 <style>
3 ::-webkit-scrollbar {
4 display: none;
5 }
6 #container {
7 overflow: scroll;
8 will-change: transform;
9 width: 400px;
10 height: 400px;
11
12 background-attachment: local;
13 background-color: blue;
14 }
15
16 #child {
17 height: 500px;
18 }
19 </style>
20 <div id="container">
21 <div id="child"></div>
22 </div>
23 <script src="../resources/text-based-repaint.js"></script>
24 <script>
25 function repaintTest() {
26 child.style.height = '2000px';
27 container.scrollTop = 2000;
28 }
29 onload = runRepaintAndPixelTest;
30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698