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

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

Issue 1025563002: Make body element background image use correct interpolation quality. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/css3/images/pixelated-background-image-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 body {
4 padding: 0;
5 margin: 0;
6 width: 200px;
7 height: 200px;
8 image-rendering: pixelated;
9 }
10 div {
11 width: 100px;
12 height: 100px;
13 }
14 .image {
15 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIA AAACCAYAAABytg0kAAAAFElEQVQIHWP4z8DwHwyBNJDN8B8AQNEG+t5Ik2kAAAAASUVORK5CYII=);
16 background-size: 50px;
17 }
18 </style>
19 <body class="image">
20 <!-- Both the body and div should have backgrounds consisting of solid color blocks with no blurring of edges. -->
21 <div class="image"></div>
22 </body>
23 <script>
24 // Ignore the render tree.
25 if (window.testRunner)
26 window.testRunner.dumpAsTextWithPixelResults();
27 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/images/pixelated-background-image-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698