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

Issue 1065223003: Cleanup resolving of 'em' units in SVGLengthContext (Closed)

Created:
5 years, 8 months ago by fs
Modified:
5 years, 8 months ago
CC:
blink-reviews, krit, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, f(malita), gyuyoung2, Stephen Chennney, pdr+svgwatchlist_chromium.org, rwlbuis
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Cleanup resolving of 'em' units in SVGLengthContext With the 'rem' unit added, there's some duplication, since the only difference between 'em' and 'rem' is where the style comes from. By splitting the resolution of the style out of the methods that convert to/from 'em' (and 'rem'), the same two functions can be used to compute the results in both the 'em' and 'rem' case - just feeding them with different ComputedStyle objects. BUG=368598, 470449 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193547

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -90 lines) Patch
M Source/core/svg/SVGLengthContext.h View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/svg/SVGLengthContext.cpp View 5 chunks +52 lines, -84 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
fs
5 years, 8 months ago (2015-04-09 12:23:21 UTC) #2
fs
Ping?
5 years, 8 months ago (2015-04-10 12:12:50 UTC) #3
Erik Dahlström (inactive)
lgtm
5 years, 8 months ago (2015-04-10 12:40:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1065223003/1
5 years, 8 months ago (2015-04-10 12:52:00 UTC) #6
commit-bot: I haz the power
5 years, 8 months ago (2015-04-10 14:19:38 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193547

Powered by Google App Engine
This is Rietveld 408576698