OLD | NEW |
1 <!-- Based on fast/repaint/paint-invalidation-with-opacity.html --> | 1 <!-- Based on fast/repaint/paint-invalidation-with-opacity.html --> |
2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
3 <div id="target" style="width: 100px; height: 100px; background: lightblue"></di
v> | 3 <div id="target" style="width: 100px; height: 100px; background: lightblue"></di
v> |
4 <script src="resources/paint-invalidation-test.js"></script> | 4 <script src="resources/paint-invalidation-test.js"></script> |
5 <script> | 5 <script> |
6 window.expectedPaintInvalidationObjects = [ | |
7 "LayoutBlockFlow DIV id='target'", | |
8 ]; | |
9 function paintInvalidationTest() { | 6 function paintInvalidationTest() { |
10 document.getElementById('target').style.opacity = 0.5; | 7 document.getElementById('target').style.opacity = 0.5; |
11 } | 8 } |
12 runPaintInvalidationTest(); | 9 runPaintInvalidationTest(); |
13 </script> | 10 </script> |
OLD | NEW |