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

Issue 711163002: Don't anti-alias backgrounds of images. (Closed)

Created:
6 years, 1 month ago by chrishtr
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, zoltan1
Project:
blink
Visibility:
Public.

Description

Don't anti-alias backgrounds of images. This fixes a pixel bleed issue on very high-DPI screens. BUG=423834 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185161

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : gs #

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -4 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -1 line 0 comments Download
A LayoutTests/paint/images/image-backgrounds-not-antialiased.html View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/paint/images/image-backgrounds-not-antialiased-expected.html View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
M Source/core/paint/ImagePainter.h View 1 chunk +4 lines, -3 lines 0 comments Download
M Source/core/paint/ImagePainter.cpp View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderImage.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderImage.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
chrishtr
I can verify the change manually with --force-device-scale-factor=3.5. Test still doesn't seem to show it.
6 years, 1 month ago (2014-11-10 23:52:46 UTC) #2
leviw_travelin_and_unemployed
Code change LGTM. https://codereview.chromium.org/711163002/diff/40001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html File LayoutTests/paint/images/image-backgrounds-not-antialiased.html (right): https://codereview.chromium.org/711163002/diff/40001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html#newcode1 LayoutTests/paint/images/image-backgrounds-not-antialiased.html:1: <style type="text/css"> Nit: doctype. Why not ...
6 years, 1 month ago (2014-11-11 00:19:50 UTC) #3
chrishtr
On 2014/11/11 at 00:19:50, leviw wrote: > Code change LGTM. > > https://codereview.chromium.org/711163002/diff/40001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html > File ...
6 years, 1 month ago (2014-11-11 00:35:03 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/711163002/diff/80001/Source/core/rendering/RenderImage.h File Source/core/rendering/RenderImage.h (right): https://codereview.chromium.org/711163002/diff/80001/Source/core/rendering/RenderImage.h#newcode84 Source/core/rendering/RenderImage.h:84: virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); override?
6 years, 1 month ago (2014-11-11 08:02:27 UTC) #6
enne (OOO)
https://codereview.chromium.org/711163002/diff/100001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html File LayoutTests/paint/images/image-backgrounds-not-antialiased.html (right): https://codereview.chromium.org/711163002/diff/100001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html#newcode7 LayoutTests/paint/images/image-backgrounds-not-antialiased.html:7: height: 296px; /* Not important. */ Why is this ...
6 years, 1 month ago (2014-11-11 18:13:15 UTC) #7
chrishtr
On 2014/11/11 at 18:13:15, enne wrote: > https://codereview.chromium.org/711163002/diff/100001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html > File LayoutTests/paint/images/image-backgrounds-not-antialiased.html (right): > > https://codereview.chromium.org/711163002/diff/100001/LayoutTests/paint/images/image-backgrounds-not-antialiased.html#newcode7 ...
6 years, 1 month ago (2014-11-11 19:27:55 UTC) #8
chrishtr
https://codereview.chromium.org/711163002/diff/80001/Source/core/rendering/RenderImage.h File Source/core/rendering/RenderImage.h (right): https://codereview.chromium.org/711163002/diff/80001/Source/core/rendering/RenderImage.h#newcode84 Source/core/rendering/RenderImage.h:84: virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&); On 2014/11/11 at 08:02:27, ...
6 years, 1 month ago (2014-11-11 19:34:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/711163002/180001
6 years, 1 month ago (2014-11-12 01:12:54 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 01:14:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as 185161

Powered by Google App Engine
This is Rietveld 408576698