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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/clipping-should-not-repaint-composited-descendants-as-text.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
1 <!-- Based on compositing/repaint/clipping-should-not-repaint-composited-descend ants.html --> 1 <!-- Based on compositing/repaint/clipping-should-not-repaint-composited-descend ants.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <style> 3 <style>
4 .spacer { 4 .spacer {
5 position: relative; 5 position: relative;
6 width: 300px; 6 width: 300px;
7 height: 300px; 7 height: 300px;
8 } 8 }
9 9
10 .clipping-container { 10 .clipping-container {
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 </style> 32 </style>
33 <style id="alt2"> 33 <style id="alt2">
34 .clipping-container { 34 .clipping-container {
35 width: 100%; 35 width: 100%;
36 clip: rect(100px, 200px, 200px, 100px); 36 clip: rect(100px, 200px, 200px, 100px);
37 } 37 }
38 </style> 38 </style>
39 <script src="resources/paint-invalidation-test.js"></script> 39 <script src="resources/paint-invalidation-test.js"></script>
40 <script> 40 <script>
41 if (window.testRunner)
42 testRunner.dumpAsText();
41 var alt1 = document.getElementById('alt1'); 43 var alt1 = document.getElementById('alt1');
42 var alt2 = document.getElementById('alt2'); 44 var alt2 = document.getElementById('alt2');
43 alt2.disabled = true; 45 alt2.disabled = true;
44 46
45 window.expectedPaintInvalidationObjects = [
46 ];
47 function paintInvalidationTest() { 47 function paintInvalidationTest() {
48 alt2.disabled = false; 48 alt2.disabled = false;
49 alt1.disabled = true; 49 alt1.disabled = true;
50 } 50 }
51 51
52 runPaintInvalidationTest(); 52 runPaintInvalidationTest();
53 </script> 53 </script>
54 54
55 <div class="spacer"> 55 <div class="spacer">
56 <div class="clipping-container"> 56 <div class="clipping-container">
57 <div class="clipped-composited-child"></div> 57 <div class="clipped-composited-child"></div>
58 </div> 58 </div>
59 </div> 59 </div>
60 <div class="spacer"> 60 <div class="spacer">
61 <div class="clipping-container with-initial-clipping"> 61 <div class="clipping-container with-initial-clipping">
62 <div class="clipped-composited-child"></div> 62 <div class="clipped-composited-child"></div>
63 </div> 63 </div>
64 </div> 64 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698