Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: LayoutTests/fast/images/pixelated-composited-expected.html

Issue 782693003: Implement image-rendering:pixelated for directly composited images. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@composited
Patch Set: Add TestExpectation for slimmingpaint Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/images/pixelated-composited-expected.html
diff --git a/LayoutTests/fast/images/pixelated-composited-expected.html b/LayoutTests/fast/images/pixelated-composited-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..ead485b1480a5d97c81d321d440ec055e9266961
--- /dev/null
+++ b/LayoutTests/fast/images/pixelated-composited-expected.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+ img {
+ width: 110px;
+ height: 110px;
+ image-rendering: pixelated;
+ }
+</style>
+<body>
+ <!-- Draw a normal pixelated image. -->
+ <img src="resources/grid-small.png">
+</body>
+<script>
+ // Ignore the render tree.
+ if (window.testRunner)
+ window.testRunner.dumpAsTextWithPixelResults();
+</script>
« no previous file with comments | « LayoutTests/fast/images/pixelated-composited.html ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698