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

Side by Side Diff: third_party/WebKit/LayoutTests/images/color-profile-iframe.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 <script src="../../resources/run-after-layout-and-paint.js"></script> 3 <script src="../resources/run-after-layout-and-paint.js"></script>
4 4
5 <body> 5 <body>
6 <!-- The blue sector of the image should be at 12 o'clock. --> 6 <!-- The blue sector of the image should be at 12 o'clock. -->
7 <iframe onload="load()" width="780px" height="260px" scrolling="no" frameborde r="1" 7 <iframe onload="load()" width="780px" height="260px" scrolling="no" frameborde r="1"
8 src="resources/red-at-12-oclock-with-color-profile.jpg"> 8 src="resources/red-at-12-oclock-with-color-profile.jpg">
9 </iframe> 9 </iframe>
10 </body> 10 </body>
11 11
12 <script> 12 <script>
13 function load() { 13 function load() {
14 if (window.testRunner) 14 if (window.testRunner)
15 runAfterLayoutAndPaint(changeColorProfile); 15 runAfterLayoutAndPaint(changeColorProfile);
16 } 16 }
17 17
18 function changeColorProfile() { 18 function changeColorProfile() {
19 testRunner.setColorProfile('colorSpin', done); 19 testRunner.setColorProfile('colorSpin', done);
20 } 20 }
21 21
22 function done() { 22 function done() {
23 setTimeout(function() { testRunner.notifyDone() }, 0); 23 setTimeout(function() { testRunner.notifyDone() }, 0);
24 } 24 }
25 25
26 if (window.testRunner) { 26 if (window.testRunner) {
27 testRunner.dumpAsTextWithPixelResults(); 27 testRunner.dumpAsTextWithPixelResults();
28 testRunner.waitUntilDone(); 28 testRunner.waitUntilDone();
29 } 29 }
30 </script> 30 </script>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698