summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/images/pixelated-composited.html
blob: 39be5136644d965b110e4a0fea6431dc4252a80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<style>
    img {
        width: 110px;
        height: 110px;
        image-rendering: pixelated;
        transform: translateZ(0);
    }
</style>
<body>
    <!-- Test that directly composited images (translateZ(0)) can be upscaled pixelated. -->
    <img src="resources/grid-small.png">
</body>
<script>
    // Ignore the render tree.
    if (window.testRunner)
      window.testRunner.dumpAsTextWithPixelResults();
</script>