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

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

Issue 207153002: Remove repaint.js include from css3/filters tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 margin: 10px; 7 margin: 10px;
8 height: 50px; 8 height: 50px;
9 width: 50px; 9 width: 50px;
10 background-color: green; 10 background-color: green;
11 } 11 }
12 12
13 .before { 13 .before {
14 background-color: red; 14 background-color: red;
15 } 15 }
16 16
17 .sepia { 17 .sepia {
18 margin: 50px; 18 margin: 50px;
19 -webkit-filter: sepia(); 19 -webkit-filter: sepia();
20 } 20 }
21 </style> 21 </style>
22 22
23 <script src="../../fast/repaint/resources/repaint.js"></script> 23 <script src="../../resources/run-after-display.js"></script>
24 <script> 24 <script>
25 if (window.testRunner) 25 if (window.testRunner) {
26 testRunner.dumpAsTextWithPixelResults(); 26 testRunner.dumpAsTextWithPixelResults();
27 testRunner.waitUntilDone();
28 }
27 29
28 function repaintTest() 30 function repaintTest()
29 { 31 {
30 document.querySelector(".before").classList.remove("before"); 32 document.querySelector(".before").classList.remove("before");
33 if (window.testRunner)
34 testRunner.notifyDone();
31 } 35 }
32 </script> 36 </script>
33 </head> 37 </head>
34 38
35 <body onload="runRepaintTest()"> 39 <body onload="repaintTest()">
36 40
37 <div class="sepia"> 41 <div class="sepia">
38 <div class="box"></div> 42 <div class="box"></div>
39 <div class="box before"></div> 43 <div class="box before"></div>
40 <div class="box"></div> 44 <div class="box"></div>
41 </div> 45 </div>
42 46
43 </body> 47 </body>
44 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698