| Index: third_party/WebKit/LayoutTests/fast/images/color-profile-image-pseudo-content.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/images/color-profile-image-pseudo-content.html b/third_party/WebKit/LayoutTests/fast/images/color-profile-image-pseudo-content.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2dd9da0b4ad945d5b2d2fa295589557074579d94
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/images/color-profile-image-pseudo-content.html
|
| @@ -0,0 +1,43 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<style>
|
| + h1 {
|
| + overflow: hidden;
|
| + width: 792px;
|
| + height: 160px;
|
| + }
|
| +
|
| + h1:before {
|
| + content: url("resources/red-at-12-oclock-with-color-profile.jpg");
|
| + display: inline-block;
|
| + margin: 0px -20px;
|
| + }
|
| +</style>
|
| +
|
| +</body>
|
| + <!-- The blue sector of the content image should be at 12 o'clock. -->
|
| + <h1>
|
| + pseudo-content image replacement
|
| + </h1>
|
| +</body>
|
| +
|
| +<script>
|
| +window.onload = function() {
|
| + if (window.testRunner)
|
| + setTimeout(function() { testRunner.setColorProfile('test', done) }, 100);
|
| +};
|
| +
|
| +function done() {
|
| + if (window.testRunner)
|
| + setTimeout(function() { testRunner.notifyDone() }, 0);
|
| +}
|
| +
|
| +if (window.internals)
|
| + internals.settings.setImageColorProfilesEnabled(true);
|
| +
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsTextWithPixelResults();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +</script>
|
| +</html>
|
|
|