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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-transform.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <!-- Based on compositing/repaint/should-not-repaint-composited-transform.html - ->
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <style> 3 <style>
3 #composited-box { 4 #composited-box {
4 width: 100px; 5 width: 100px;
5 height: 100px; 6 height: 100px;
6 border: solid 1px black; 7 border: solid 1px black;
7 transform:translate3D(0, 0, 0); 8 transform:translate3D(0, 0, 0);
8 } 9 }
9 </style> 10 </style>
10 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 11 <script src="resources/paint-invalidation-test.js"></script>
11 <script> 12 <script>
12 function repaintTest() { 13 window.expectedPaintInvalidationObjects = [
14 ];
15 function paintInvalidationTest() {
13 document.getElementById('composited-box').style.webkitTransform = 'translate 3D(100px, 100px, 0)'; 16 document.getElementById('composited-box').style.webkitTransform = 'translate 3D(100px, 100px, 0)';
14 } 17 }
15 window.onload = runRepaintTest; 18 window.onload = runPaintInvalidationTest;
16 </script> 19 </script>
17 <div id="composited-box"></div> 20 <div id="composited-box"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698