| Index: LayoutTests/fast/images/color-profile-layer-filter.html
|
| diff --git a/LayoutTests/fast/images/color-profile-layer-filter.html b/LayoutTests/fast/images/color-profile-layer-filter.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c8d21a384b50dc97324bad833b4b1fca8ccabb3d
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/images/color-profile-layer-filter.html
|
| @@ -0,0 +1,45 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<style>
|
| + .layer {
|
| + -webkit-transform: translateZ(0);
|
| + }
|
| + .filter {
|
| + -webkit-filter: blur(1px);
|
| + }
|
| +</style>
|
| +
|
| +<body>
|
| + <!-- The blue sector of the images should be at 12 o'clock. -->
|
| + <img width="250px" onload="load(this)" src="resources/red-at-12-oclock-with-color-profile.jpg">
|
| + <img width="250px" onload="load(this)" src="resources/red-at-12-oclock-with-color-profile.png">
|
| + <img width="250px" onload="load(this)" src="resources/red-at-12-oclock-with-color-profile.jpg">
|
| + <img width="250px" onload="load(this)" src="resources/red-at-12-oclock-with-color-profile.jpg">
|
| + <img width="250px" onload="load(this)" src="resources/red-at-12-oclock-with-color-profile.png">
|
| + <img width="250px" onload="load(this)" src="resources/red-at-12-oclock-with-color-profile.jpg">
|
| +</body>
|
| +
|
| +<script>
|
| +var images = 0;
|
| +
|
| +function load(element) {
|
| + element.classList.add('layer');
|
| +
|
| + setTimeout(function() { element.classList.add('filter') || next() }, 100);
|
| +}
|
| +
|
| +function next() {
|
| + if (++images == 6 && window.testRunner)
|
| + setTimeout(function() { testRunner.setColorProfile('test', done) }, 100);
|
| +}
|
| +
|
| +function done() {
|
| + setTimeout(function() { testRunner.notifyDone() }, 0);
|
| +}
|
| +
|
| +if (window.testRunner) {
|
| + window.testRunner.dumpAsTextWithPixelResults();
|
| + window.testRunner.waitUntilDone();
|
| +}
|
| +</script>
|
| +</html>
|
|
|