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

Side by Side Diff: third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix CanvasRenderingContext2D::createPattern crash for #40 Created 4 years, 11 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 video {
6 outline: 15px solid blue;
7 border: 15px solid green;
8 background: orange;
9 margin: 20px;
10 padding: 15px;
11 width: 300px;
12 }
13 </style>
14 </head>
15
16 <body onload="start()">
17 <!-- The blue sector of the video poster image should be at 12 o'clock. -->
18 <video poster="../fast/images/resources/red-at-12-oclock-with-color-profile.jp g" />
19 </body>
20
21 <script>
22 window.onload = function() {
23 if (window.testRunner)
24 setTimeout(function() { testRunner.setColorProfile('whacked', done) }, 100);
25 };
26
27 function done() {
28 setTimeout(function() { testRunner.notifyDone() }, 0);
29 }
30
31 if (window.internals)
32 internals.settings.setImageColorProfilesEnabled(true);
33
34 if (window.testRunner) {
35 testRunner.dumpAsTextWithPixelResults();
36 testRunner.waitUntilDone();
37 }
38 </script>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698