| 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>
|
|
|