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

Issue 1015743003: [svg] Make svgView override existing data selectively (Closed)

Created:
5 years, 9 months ago by Erik Dahlström (inactive)
Modified:
5 years, 9 months ago
Reviewers:
pdr., fs
CC:
blink-reviews, krit, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Stephen Chennney, pdr+svgwatchlist_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[svg] Make svgView override existing data selectively. The change is to not blow off all the existing viewBox, pAR, etc when an #svgView(...) is used. Instead only replace the parts that are actually specified in the svgView syntax. BUG=444553 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192174

Patch Set 1 #

Total comments: 2

Patch Set 2 : codereview fixes #

Total comments: 1

Patch Set 3 : review concern: preserve old behavior for <view> on nested svg elements #

Patch Set 4 : restore the old inheritViewAttributes method #

Patch Set 5 : compilefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
A LayoutTests/svg/as-image/svgview-identity-transform.html View 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/svg/as-image/svgview-identity-transform-expected.html View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/svg/SVGSVGElement.cpp View 1 2 3 4 3 chunks +8 lines, -18 lines 0 comments Download
M Source/core/svg/SVGViewSpec.h View 1 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Erik Dahlström (inactive)
5 years, 9 months ago (2015-03-18 11:36:59 UTC) #2
fs
https://codereview.chromium.org/1015743003/diff/1/Source/core/svg/SVGSVGElement.cpp File Source/core/svg/SVGSVGElement.cpp (right): https://codereview.chromium.org/1015743003/diff/1/Source/core/svg/SVGSVGElement.cpp#newcode716 Source/core/svg/SVGSVGElement.cpp:716: view->reset(); It feels like this ought to go together ...
5 years, 9 months ago (2015-03-18 13:43:09 UTC) #3
Erik Dahlström (inactive)
On 2015/03/18 13:43:09, fs wrote: > https://codereview.chromium.org/1015743003/diff/1/Source/core/svg/SVGSVGElement.cpp > File Source/core/svg/SVGSVGElement.cpp (right): > > https://codereview.chromium.org/1015743003/diff/1/Source/core/svg/SVGSVGElement.cpp#newcode716 > ...
5 years, 9 months ago (2015-03-19 09:59:24 UTC) #4
fs
LGTM w/ 'view'-related concern https://codereview.chromium.org/1015743003/diff/20001/Source/core/svg/SVGSVGElement.cpp File Source/core/svg/SVGSVGElement.cpp (right): https://codereview.chromium.org/1015743003/diff/20001/Source/core/svg/SVGSVGElement.cpp#newcode738 Source/core/svg/SVGSVGElement.cpp:738: m_useCurrentView = true; Maybe we ...
5 years, 9 months ago (2015-03-19 10:16:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1015743003/80001
5 years, 9 months ago (2015-03-19 13:39:20 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 15:13:31 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192174

Powered by Google App Engine
This is Rietveld 408576698