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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/filter-repaint-accelerated-on-accelerated-filter.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 fast/repaint/filter-repaint-accelerated-on-accelerated-filter.html --> 1 <!-- Based on fast/repaint/filter-repaint-accelerated-on-accelerated-filter.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <style> 3 <style>
4 div { 4 div {
5 width: 200px; 5 width: 200px;
6 height: 200px; 6 height: 200px;
7 } 7 }
8 8
9 .blur { 9 .blur {
10 -webkit-filter: blur(10px); 10 -webkit-filter: blur(10px);
(...skipping 13 matching lines...) Expand all
24 </style> 24 </style>
25 25
26 <div class="blur accelerated"> 26 <div class="blur accelerated">
27 <div class="drop-shadow accelerated" id="resize"></div> 27 <div class="drop-shadow accelerated" id="resize"></div>
28 </div> 28 </div>
29 29
30 <script src="resources/paint-invalidation-test.js"></script> 30 <script src="resources/paint-invalidation-test.js"></script>
31 <script> 31 <script>
32 window.testIsAsync = true; 32 window.testIsAsync = true;
33 33
34 window.expectedPaintInvalidationObjects = [
35 "LayoutBlockFlow DIV id='resize' class='drop-shadow accelerated'",
36 ];
37 function paintInvalidationTest() { 34 function paintInvalidationTest() {
38 var resizeElement = document.getElementById("resize"); 35 var resizeElement = document.getElementById("resize");
39 resizeElement.style.width = "100px"; 36 resizeElement.style.width = "100px";
40 finishPaintInvalidationTest(); 37 finishPaintInvalidationTest();
41 } 38 }
42 window.onload = runPaintInvalidationTest; 39 window.onload = runPaintInvalidationTest;
43 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698