Index: LayoutTests/fast/images/pixelated-composited.html |
diff --git a/LayoutTests/fast/images/pixelated-composited.html b/LayoutTests/fast/images/pixelated-composited.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39be5136644d965b110e4a0fea6431dc4252a80e |
--- /dev/null |
+++ b/LayoutTests/fast/images/pixelated-composited.html |
@@ -0,0 +1,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> |