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

Issue 326893003: Reset computed size of the <canvas> FontDescription when setting CRC2D.font (Closed)

Created:
6 years, 6 months ago by fs
Modified:
6 years, 6 months ago
CC:
aandrey+blink_chromium.org, blink-reviews, blink-reviews-html_chromium.org, Rik, dglazkov+blink
Visibility:
Public.

Description

Reset computed size of the <canvas> FontDescription when setting CRC2D.font Avoid inheriting the zoom-factor when setting the CanvasRenderingContext2D 'font' property to the same font as is computed for the <canvas> element. In this case the font descriptions would be considered the same, and hence the font size computed using the effective zoom of the page would be used. BUG=381989 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175950

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -3 lines) Patch
A LayoutTests/fast/canvas/font-no-zoom.html View 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fs
@dglazkov: I hear you like font-related code, so if you could have a look before ...
6 years, 6 months ago (2014-06-10 16:26:41 UTC) #1
dglazkov
lgtm
6 years, 6 months ago (2014-06-10 16:40:28 UTC) #2
fs
The CQ bit was checked by fs@opera.com
6 years, 6 months ago (2014-06-11 08:59:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/326893003/1
6 years, 6 months ago (2014-06-11 08:59:41 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 09:11:09 UTC) #5
Message was sent while issue was closed.
Change committed as 175950

Powered by Google App Engine
This is Rietveld 408576698