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

Issue 1827793003: Support currentScale for embedded SVG (Closed)

Created:
4 years, 9 months ago by Shanmuga Pandi
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support currentScale for embedded SVG Added Support of SVGSVGElement.currentScale for embedded SVG Objects. Also this patch removing pageZoomFactor modification such that by applying currentScale will not affect the pageZoomFactor of document. BUG=174568 Committed: https://crrev.com/db673092a93cfc8f1bc706f47302394519e6d208 Cr-Commit-Position: refs/heads/master@{#384465}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Ignore pageZoomFactor modification #

Total comments: 15

Patch Set 3 : Align with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -27 lines) Patch
A third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/custom/resources/green-rect.svg View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.cpp View 1 2 5 chunks +7 lines, -26 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
Shanmuga Pandi
PTAL!! Thanks
4 years, 9 months ago (2016-03-24 11:56:15 UTC) #3
rwlbuis
On 2016/03/24 11:56:15, Shanmuga Pandi wrote: > PTAL!! > > Thanks Looks good to me.
4 years, 9 months ago (2016-03-24 15:41:06 UTC) #4
Shanmuga Pandi
PTAL!!
4 years, 9 months ago (2016-03-28 05:25:40 UTC) #6
fs
I'm not sure to what degree we should be "nurturing" this hack (of using the ...
4 years, 8 months ago (2016-03-29 11:58:52 UTC) #8
Shanmuga Pandi
https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode309 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:309: float currentPageZoom = svg->document().frame()->pageZoomFactor(); On 2016/03/29 11:58:51, fs wrote: ...
4 years, 8 months ago (2016-03-30 08:40:06 UTC) #9
fs
https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode309 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:309: float currentPageZoom = svg->document().frame()->pageZoomFactor(); On 2016/03/30 at 08:40:06, Shanmuga ...
4 years, 8 months ago (2016-03-30 09:04:12 UTC) #10
Shanmuga Pandi
https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode309 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:309: float currentPageZoom = svg->document().frame()->pageZoomFactor(); On 2016/03/30 09:04:12, fs wrote: ...
4 years, 8 months ago (2016-03-30 09:17:38 UTC) #11
fs
https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode309 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:309: float currentPageZoom = svg->document().frame()->pageZoomFactor(); On 2016/03/30 at 09:17:38, Shanmuga ...
4 years, 8 months ago (2016-03-30 10:16:30 UTC) #12
Shanmuga Pandi
https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode309 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:309: float currentPageZoom = svg->document().frame()->pageZoomFactor(); On 2016/03/30 10:16:30, fs wrote: ...
4 years, 8 months ago (2016-03-30 10:23:31 UTC) #13
fs
https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode309 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:309: float currentPageZoom = svg->document().frame()->pageZoomFactor(); On 2016/03/30 at 10:23:30, Shanmuga ...
4 years, 8 months ago (2016-03-30 10:46:39 UTC) #14
Shanmuga Pandi
PTAL! https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html File third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html (right): https://codereview.chromium.org/1827793003/diff/1/third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html#newcode7 third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html:7: var obj = document.getElementById("object"); On 2016/03/29 11:58:51, fs ...
4 years, 8 months ago (2016-03-31 09:04:37 UTC) #18
fs
https://codereview.chromium.org/1827793003/diff/20001/third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html File third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html (right): https://codereview.chromium.org/1827793003/diff/20001/third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html#newcode2 third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html:2: <svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 200 200'> The ...
4 years, 8 months ago (2016-03-31 10:53:04 UTC) #19
Shanmuga Pandi
https://codereview.chromium.org/1827793003/diff/20001/third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html File third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html (right): https://codereview.chromium.org/1827793003/diff/20001/third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html#newcode2 third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html:2: <svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 200 200'> On ...
4 years, 8 months ago (2016-03-31 11:53:36 UTC) #20
fs
This LGTM, although I wouldn't mind seeing a few more test (like for instance for ...
4 years, 8 months ago (2016-03-31 11:58:25 UTC) #21
pdr.
On 2016/03/31 at 11:58:25, fs wrote: > This LGTM, although I wouldn't mind seeing a ...
4 years, 8 months ago (2016-03-31 23:29:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827793003/40001
4 years, 8 months ago (2016-03-31 23:30:03 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-01 01:34:33 UTC) #26
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 01:36:48 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/db673092a93cfc8f1bc706f47302394519e6d208
Cr-Commit-Position: refs/heads/master@{#384465}

Powered by Google App Engine
This is Rietveld 408576698