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

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

Issue 336693005: Add image-rendering: pixelated. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Update test. 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 img {
4 display: block;
5 position: fixed;
6 left: 0px;
7 top: 0px;
8 right: 0px;
9 bottom: 0px;
10 border: none;
11 width: 100px;
12 height: 100px;
13 margin: 0px;
14 padding: 0px;
15 image-rendering: pixelated;
16 }
17 </style>
18 <body>
19 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid olor, with no blurring of edges -->
pdr. 2014/06/13 03:59:23 Nit: solid color
jackhou 2014/06/13 04:27:32 Done.
20 <image style="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAA AACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik2kAAAAASUVORK5CYII="></i mg>
pdr. 2014/06/13 03:59:23 Nit: image -> img, no </img> tag needed, and remov
jackhou 2014/06/13 04:27:32 Done.
21 </body>
22 <script>
23 if (window.layoutTestController)
24 layoutTestController.dumpAsText(true);
pdr. 2014/06/13 03:59:23 Ditto about layoutTestController and dumpAsText.
jackhou 2014/06/13 04:27:32 Done.
25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698