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

Side by Side Diff: LayoutTests/css3/images/pixelated-svg-image.html

Issue 336693005: Add image-rendering: pixelated. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't add 'pixelated' to devtools. Created 6 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 image {
4 image-rendering: pixelated;
5 }
6 </style>
7 <body>
8 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid color, with no blurring of edges -->
9 <svg><image width="100" height="100" xlink:href="data:image/png;base64,iVBOR w0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik 2kAAAAASUVORK5CYII="/></svg>
10 </body>
11 <script>
12 // Ignore the render tree.
13 if (window.testRunner)
14 window.testRunner.dumpAsTextWithPixelResults();
15 </script>
OLDNEW
« no previous file with comments | « LayoutTests/css3/images/pixelated-image-expected.txt ('k') | LayoutTests/css3/images/pixelated-svg-image-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698