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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/repaint-overflow-scrolled-squashed-content.html

Issue 2010243002: Remove paint/invalidation/spv2 (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 <!-- Based on compositing/squashing/repaint-overflow-scrolled-squashed-content.h tml -->
2 <!doctype html>
3 <div style="position: absolute; overflow:scroll; width:200px; height:200px">
4 <div id="foo2" style="height: 1000px; width: 150px; background: lightblue; tr ansform: translateZ(0) "></div>
5 <div id="foo" style="height: 1000px; width: 100px; position: absolute; top: 0p x; left: 0px; background: lightgray"></div>
6 </div>
7 <script src="resources/paint-invalidation-test.js"></script>
8 <script>
9 // This test verifies that a repaint request for a squashed layer that is inside of a scrolling container and much taller
10 // than the viewport does not receive an incorrect paint invalidation rect when it is invalidated. In particular, the invalidation
11 // rect should not be clipped to the visible viewport.
12
13 function paintInvalidationTest() {
14 document.querySelector("#foo").style.background = 'red';
15 }
16
17 runPaintInvalidationTest();
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698