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

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

Issue 2046233002: Revert of 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 // Tests invalidation of the foreground graphics layer, which is used to paint n ormal flow and positive z-index children
9 // in the presence of a composited, negative z-index child.
10 function repaintTest() {
11 target.style.background = "green";
12 }
13 onload = function() {
14 runRepaintAndPixelTest();
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698