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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html
diff --git a/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html b/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html
new file mode 100644
index 0000000000000000000000000000000000000000..89c0c4d0903cff1e584b5f76276d2f4310b1ca98
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/media/color-profile-video-poster-image.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ video {
+ outline: 15px solid blue;
+ border: 15px solid green;
+ background: orange;
+ margin: 20px;
+ padding: 15px;
+ width: 300px;
+ }
+</style>
+</head>
+
+<body onload="start()">
+ <!-- The blue sector of the video poster image should be at 12 o'clock. -->
+ <video poster="../fast/images/resources/red-at-12-oclock-with-color-profile.jpg" />
+</body>
+
+<script>
+window.onload = function() {
+ if (window.testRunner)
+ setTimeout(function() { testRunner.setColorProfile('whacked', done) }, 100);
+};
+
+function done() {
+ setTimeout(function() { testRunner.notifyDone() }, 0);
+}
+
+if (window.internals)
+ internals.settings.setImageColorProfilesEnabled(true);
+
+if (window.testRunner) {
+ testRunner.dumpAsTextWithPixelResults();
+ testRunner.waitUntilDone();
+}
+</script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698