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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/images/direct-image-clip-path.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style> 3 <style>
4 .composited { 4 .composited {
5 transform: translateZ(0); 5 transform: translateZ(0);
6 -webkit-clip-path: circle(45%); 6 -webkit-clip-path: circle(45%);
7 } 7 }
8 </style> 8 </style>
9 9
10 <!-- There should be a green circle on this page --> 10 <!-- There should be a green circle on this page -->
11 <body> 11 <body>
12 <img class="composited" onload="load(this)" src="../../fast/images/resources/g reen-256x256.jpg"> 12 <img class="composited" onload="load(this)" src="../../images/resources/green- 256x256.jpg">
13 </body> 13 </body>
14 14
15 <script> 15 <script>
16 function load(element) { 16 function load(element) {
17 setTimeout(done, 0); 17 setTimeout(done, 0);
18 } 18 }
19 19
20 function done() { 20 function done() {
21 if (window.testRunner) 21 if (window.testRunner)
22 testRunner.notifyDone(); 22 testRunner.notifyDone();
23 } 23 }
24 24
25 if (window.testRunner) { 25 if (window.testRunner) {
26 testRunner.dumpAsTextWithPixelResults(); 26 testRunner.dumpAsTextWithPixelResults();
27 testRunner.waitUntilDone(); 27 testRunner.waitUntilDone();
28 } 28 }
29 </script> 29 </script>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698