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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants-on-overflow-change.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/paint-invalidation-test.js"></script>
3 <script>
4 function paintInvalidationTest() {
5 document.getElementById('overflow1').style.overflow = "visible";
6 document.getElementById('overflow2').style.overflow = "hidden";
7 }
8 onload = runPaintInvalidationTest;
9 </script>
10 <style>
11 body {
12 margin: 0;
13 }
14 #overflow1 {
15 overflow: hidden;
16 width: 200px;
17 height: 200px;
18 }
19 #overflow2 {
20 overflow: visible;
21 width: 200px;
22 height: 200px;
23 }
24 .composited-child {
25 width: 100px;
26 height: 100px;
27 background-color: green;
28 backface-visibility: hidden;
29 }
30 .overflow-child {
31 position: relative;
32 top: 50px;
33 left: 150px;
34 }
35 </style>
36 <!-- We should not repaint composited descendants on overflow style changes (ver ified with the text expectation).
37 The compositor should handle any visual change caused by the change of overflow clipping (verified with the pixel expectation). -->
38 <div id="overflow1">
39 <div class="composited-child"></div>
40 <div class="composited-child overflow-child"></div>
41 </div>
42 <div id="overflow2">
43 <div class="composited-child"></div>
44 <div class="composited-child overflow-child"></div>
45 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698