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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidation-on-foreground-graphics-layer.html

Issue 2019583002: Don't include scroll offset in offsetFromLayoutObject for scrolling contents layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(Empty)
1 <!doctype HTML>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <div style="will-change: transform; overflow: scroll; width: 200px; height: 200p x; background: lightgray">
4 <div style="position: relative; z-index: -1; width: 200px; height: 200px; back ground: lightblue; will-change: transform"></div>
5 <div id="target" style="width: 200px; height: 200px; margin-top: -100px; margi n-left: 100px; background: red"></div>
6 </div>
7 <script>
8 function repaintTest() {
9 target.style.background = "green";
Xianzhu 2016/05/31 18:27:04 Nit: too much indent
chrishtr 2016/05/31 18:35:29 Fixed.
10 }
11 onload = function() {
12 runRepaintAndPixelTest();
Xianzhu 2016/05/31 18:27:04 Ditto.
chrishtr 2016/05/31 18:35:29 Done.
13 }
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698