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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/change-transform.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/change-transform.html --> 1 <!-- Based on fast/repaint/change-transform.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/paint-invalidation-test.js"></script> 4 <script src="resources/paint-invalidation-test.js"></script>
5 <script type="text/javascript" charset="utf-8"> 5 <script type="text/javascript" charset="utf-8">
6 window.expectedPaintInvalidationObjects = [
7 "LayoutBlockFlow DIV id='square'",
8 ];
9 function paintInvalidationTest() 6 function paintInvalidationTest()
10 { 7 {
11 var target = document.getElementById("square"); 8 var target = document.getElementById("square");
12 target.style.webkitTransform = "scale(0.5, 0.5)"; 9 target.style.webkitTransform = "scale(0.5, 0.5)";
13 } 10 }
14 </script> 11 </script>
15 <style type="text/css" media="screen"> 12 <style type="text/css" media="screen">
16 body { 13 body {
17 margin: 10px; 14 margin: 10px;
18 } 15 }
(...skipping 13 matching lines...) Expand all
32 </style> 29 </style>
33 </head> 30 </head>
34 <body onload="runPaintInvalidationTest()"> 31 <body onload="runPaintInvalidationTest()">
35 <div id="square"></div> 32 <div id="square"></div>
36 <div id="overlay"></div> 33 <div id="overlay"></div>
37 34
38 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o rg/show_bug.cgi?id=19623</a></p> 35 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o rg/show_bug.cgi?id=19623</a></p>
39 <p>Test for incomplete repaint when a non-layer object gains a transform. You sh ould see a green square above. If you see any red, the test has failed.</p> 36 <p>Test for incomplete repaint when a non-layer object gains a transform. You sh ould see a green square above. If you see any red, the test has failed.</p>
40 </body> 37 </body>
41 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698