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

Side by Side Diff: LayoutTests/paint/images/image-backgrounds-not-antialiased.html

Issue 711163002: Don't anti-alias backgrounds of images. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/paint/images/image-backgrounds-not-antialiased-expected.html » ('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 type="text/css">
3 .mi {
4 background-color: #f00; /* Just makes the bug visible. */
5 margin-top: 1px; /* Precondition for bug. */
6 width: 395px; /* Not important. */
7 height: 296px; /* Not important. */
enne (OOO) 2014/11/11 18:13:15 Why is this not important? If you change the devic
8 }
9 </style>
10
11 <!-- With an anti-aliased background, this image will show a row of red pixels a t the top at
12 device pixel ration 3.5. To fix this, we turn off anti-aliasing for image backgr ounds.
13 -->
14 <img class="mi" id="target" src="../../http/tests/resources/square20.jpg"> -->
15
16 <script>
17 window.onload = function () {
18 if (window.internals && window.testRunner)
19 testRunner.setBackingScaleFactor(3.7, finishTest);
20 }
21
22 function finishTest() {
23 if (window.testRunner)
24 window.testRunner.notifyDone();
25 }
26 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/paint/images/image-backgrounds-not-antialiased-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698