OLD | NEW |
1 <!-- Based on fast/repaint/filter-repaint-accelerated-child-with-filter-child.ht
ml --> | 1 <!-- Based on fast/repaint/filter-repaint-accelerated-child-with-filter-child.ht
ml --> |
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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 <div class="blur"> | 26 <div class="blur"> |
27 <div class="accelerated"> | 27 <div class="accelerated"> |
28 <div class="drop-shadow" id="resize"></div> | 28 <div class="drop-shadow" id="resize"></div> |
29 </div> | 29 </div> |
30 </div> | 30 </div> |
31 | 31 |
32 <script src="resources/paint-invalidation-test.js"></script> | 32 <script src="resources/paint-invalidation-test.js"></script> |
33 <script> | 33 <script> |
34 | 34 |
35 window.expectedPaintInvalidationObjects = [ | |
36 "LayoutBlockFlow DIV id='resize' class='drop-shadow'", | |
37 ]; | |
38 function paintInvalidationTest() { | 35 function paintInvalidationTest() { |
39 var resizeElement = document.getElementById("resize"); | 36 var resizeElement = document.getElementById("resize"); |
40 resizeElement.style.width = "100px"; | 37 resizeElement.style.width = "100px"; |
41 } | 38 } |
42 window.onload = runPaintInvalidationTest; | 39 window.onload = runPaintInvalidationTest; |
43 </script> | 40 </script> |
OLD | NEW |