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

Issue 323053002: Unapply effectiveZoom during SVG layout (Closed)

Created:
6 years, 6 months ago by davve
Modified:
6 years, 6 months ago
Reviewers:
pdr., fs
CC:
blink-reviews, blink-reviews-rendering, zoltan1, blink-reviews-css, eae+blinkwatch, ed+blinkwatch_opera.com, kouhei+svg_chromium.org, leviw+renderwatch, dglazkov+blink, krit, apavlov+blink_chromium.org, gyuyoung.kim_webkit.org, jchaffraix+rendering, darktears, f(malita), rune+blink, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Unapply effectiveZoom during SVG layout Text layout in SVG is assumed to happen in unzoomed coordinates. Prior to this patch, there was a special SVG mode in the StyleResolver that disregarded zoom when resolving lengths for SVG elements. That broke down during inheritance though, so a better way to handle the SVG zoom model is for the SVG module to remove zoom from style values itself. BUG=382366 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176051

Patch Set 1 #

Patch Set 2 : Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -15 lines) Patch
A LayoutTests/svg/custom/zoomed-letter-spacing.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/svg/custom/zoomed-letter-spacing-expected.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/svg/custom/zoomed-word-spacing.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/svg/custom/zoomed-word-spacing-expected.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderConverter.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/resolver/StyleResolverState.h View 1 chunk +0 lines, -10 lines 0 comments Download
M Source/core/rendering/svg/SVGTextLayoutEngine.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
davve
Couldn't resist attempting at the last user of useSVGZoomState. I don't necessarily think we end ...
6 years, 6 months ago (2014-06-12 09:29:32 UTC) #1
fs
On 2014/06/12 09:29:32, David Vest wrote: > Couldn't resist attempting at the last user of ...
6 years, 6 months ago (2014-06-12 10:54:32 UTC) #2
pdr.
On 2014/06/12 10:54:32, fs wrote: > On 2014/06/12 09:29:32, David Vest wrote: > > Couldn't ...
6 years, 6 months ago (2014-06-12 17:42:29 UTC) #3
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 6 months ago (2014-06-12 17:42:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/323053002/20001
6 years, 6 months ago (2014-06-12 17:43:02 UTC) #5
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 21:34:00 UTC) #6
Message was sent while issue was closed.
Change committed as 176051

Powered by Google App Engine
This is Rietveld 408576698