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

Issue 664433002: [SVG] Move negative viewBox width/height reporting to SVGAnimatedViewBoxRect (Closed)

Created:
6 years, 2 months ago by kouhei (in TOK)
Modified:
6 years, 2 months ago
Reviewers:
haraken, 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
Project:
blink
Visibility:
Public.

Description

[SVG] Move negative viewBox width/height reporting to SVGAnimatedViewBoxRect Before this CL, SVGFitToViewBox::parseAttribute handled negative width, height errors inline. To migrate parsing to property map (crbug.com/397902), we want to delegate this to SVGAnimatedProperty::setBaseValueToString implementation. This CL introduces SVGAnimatedViewBoxRect which is a SVGAnimatedRect implements handling of negative width/height. TEST=svg/custom/viewbox-syntax.svg BUG=397902 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183802

Patch Set 1 #

Patch Set 2 : no need for manual rebaseline #

Total comments: 1

Patch Set 3 : || #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -11 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/platform/mac/svg/custom/viewbox-syntax-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFitToViewBox.h View 1 chunk +0 lines, -8 lines 0 comments Download
M Source/core/svg/SVGFitToViewBox.cpp View 1 2 1 chunk +34 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
kouhei (in TOK)
6 years, 2 months ago (2014-10-16 07:10:52 UTC) #2
fs
lgtm https://codereview.chromium.org/664433002/diff/20001/Source/core/svg/SVGFitToViewBox.cpp File Source/core/svg/SVGFitToViewBox.cpp (right): https://codereview.chromium.org/664433002/diff/20001/Source/core/svg/SVGFitToViewBox.cpp#newcode63 Source/core/svg/SVGFitToViewBox.cpp:63: if (baseValue()->width() < 0.0f) { Nit: I don't ...
6 years, 2 months ago (2014-10-16 08:11:55 UTC) #3
kouhei (in TOK)
Thanks for review! On 2014/10/16 08:11:55, fs wrote: > lgtm > > https://codereview.chromium.org/664433002/diff/20001/Source/core/svg/SVGFitToViewBox.cpp > File ...
6 years, 2 months ago (2014-10-16 09:04:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/664433002/40001
6 years, 2 months ago (2014-10-16 09:05:19 UTC) #6
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 10:39:36 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 183802

Powered by Google App Engine
This is Rietveld 408576698