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

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

Issue 457893003: Remove unknown preferences errors in layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed to report all errors Created 6 years, 4 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;
(...skipping 10 matching lines...) Expand all
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="../../resources/run-after-display.js"></script> 26 <script src="../../resources/run-after-display.js"></script>
27 <script> 27 <script>
28 if (window.testRunner) { 28 if (window.testRunner) {
29 testRunner.dumpAsTextWithPixelResults(); 29 testRunner.dumpAsTextWithPixelResults();
30 // Force software rendering mode. 30 // Force software rendering mode.
31 testRunner.overridePreference("WebKitAcceleratedCompositingEnabled", " 0"); 31 testRunner.overridePreference("acceleratedCompositingEnabled", "0");
32 testRunner.waitUntilDone(); 32 testRunner.waitUntilDone();
33 } 33 }
34 34
35 function repaintTest() 35 function repaintTest()
36 { 36 {
37 runAfterDisplay(function() { 37 runAfterDisplay(function() {
38 document.getElementById('change').style.backgroundColor = "green"; 38 document.getElementById('change').style.backgroundColor = "green";
39 if (window.testRunner) 39 if (window.testRunner)
40 testRunner.notifyDone(); 40 testRunner.notifyDone();
41 }); 41 });
42 } 42 }
43 </script> 43 </script>
44 </head> 44 </head>
45 <body onload="repaintTest()"> 45 <body onload="repaintTest()">
46 46
47 <div class="blurry box"> 47 <div class="blurry box">
48 <div id="change" class="box"> 48 <div id="change" class="box">
49 </div> 49 </div>
50 </div> 50 </div>
51 51
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698