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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .box { 6 .box {
7 position: relative; 7 position: relative;
8 height: 200px; 8 height: 200px;
9 width: 200px; 9 width: 200px;
10 background-color: green; 10 background-color: green;
11 } 11 }
12 12
13 .blurry { 13 .blurry {
14 margin: 50px; 14 margin: 50px;
15 -webkit-filter: blur(10px); 15 -webkit-filter: blur(10px);
16 } 16 }
17 17
18 #change { 18 #change {
19 height: 100px; 19 height: 100px;
20 width: 100px; 20 width: 100px;
21 top: 50px; 21 top: 50px;
22 left: 50px; 22 left: 50px;
23 background-color: red; 23 background-color: red;
24 } 24 }
25 </style> 25 </style>
26 <script src="../../fast/repaint/resources/repaint.js"></script> 26 <script src="../../fast/repaint/resources/repaint.js"></script>
27 <script> 27 <script>
28 if (window.testRunner) { 28 if (window.testRunner) {
29 testRunner.dumpAsText(true); 29 testRunner.dumpAsTextWithPixelResults();
30 // Force software rendering mode. 30 // Force software rendering mode.
31 window.testRunner.overridePreference("WebKitAcceleratedCompositingEnab led", "0"); 31 window.testRunner.overridePreference("WebKitAcceleratedCompositingEnab led", "0");
32 } 32 }
33 33
34 function repaintTest() 34 function repaintTest()
35 { 35 {
36 document.getElementById('change').style.backgroundColor = "green"; 36 document.getElementById('change').style.backgroundColor = "green";
37 } 37 }
38 </script> 38 </script>
39 </head> 39 </head>
40 <body onload="runRepaintTest()"> 40 <body onload="runRepaintTest()">
41 41
42 <div class="blurry box"> 42 <div class="blurry box">
43 <div id="change" class="box"> 43 <div id="change" class="box">
44 </div> 44 </div>
45 </div> 45 </div>
46 46
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/filter-region.html ('k') | LayoutTests/css3/filters/filter-repaint-blur.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698