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

Issue 143363004: Fix ASSERT failure in RenderGeomtryMap for SVGs (Closed)

Created:
6 years, 11 months ago by hartmanng
Modified:
6 years, 10 months ago
Reviewers:
Stephen Chennney, fs
CC:
blink-reviews, krit, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr, rwlbuis, Ian Vollick
Visibility:
Public.

Description

Fix ASSERT failure in RenderGeomtryMap for SVGs SVGRenderSupport::mapLocalToContainer() was trying to apply transforms in the incorrect order. Specifically, it would attempt to apply its localToParentTransform before its localToBorderBoxTransform. This was causing an ASSERT to fail when the computed transforms didn't match up to those computed by RenderGeometryMap. BUG=302719 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167941

Patch Set 1 #

Total comments: 2

Patch Set 2 : layout test #

Patch Set 3 : rebase #

Patch Set 4 : pixel test #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/svg/transforms/svg-geometry-crash.html View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
hartmanng
leviw@, it looks like you've worked in SVGRenderSupport before, could you please take a look?
6 years, 11 months ago (2014-01-20 20:21:17 UTC) #1
fs
https://codereview.chromium.org/143363004/diff/1/Source/core/rendering/svg/SVGRenderSupport.cpp File Source/core/rendering/svg/SVGRenderSupport.cpp (right): https://codereview.chromium.org/143363004/diff/1/Source/core/rendering/svg/SVGRenderSupport.cpp#newcode78 Source/core/rendering/svg/SVGRenderSupport.cpp:78: transformState.applyTransform(object->localToParentTransform()); This doesn't look right to me - I ...
6 years, 11 months ago (2014-01-21 09:07:57 UTC) #2
fs
On 2014/01/21 09:07:57, fs wrote: > https://codereview.chromium.org/143363004/diff/1/Source/core/rendering/svg/SVGRenderSupport.cpp > File Source/core/rendering/svg/SVGRenderSupport.cpp (right): > > https://codereview.chromium.org/143363004/diff/1/Source/core/rendering/svg/SVGRenderSupport.cpp#newcode78 > ...
6 years, 11 months ago (2014-01-21 09:34:25 UTC) #3
Stephen Chennney
Where's the test? If there's an assertion, there should be some test that generates it ...
6 years, 11 months ago (2014-01-21 22:12:10 UTC) #4
fs
> I think that, like me, you are confused by the ambiguity of "applyTransform", > ...
6 years, 11 months ago (2014-01-22 08:17:52 UTC) #5
hartmanng
On 2014/01/21 22:12:10, Stephen Chenney wrote: > Where's the test? If there's an assertion, there ...
6 years, 11 months ago (2014-01-22 15:04:40 UTC) #6
fs
On 2014/01/22 15:04:40, hartmanng wrote: > On 2014/01/22 08:17:52, fs wrote: > > Request for ...
6 years, 11 months ago (2014-01-22 15:24:16 UTC) #7
hartmanng
On 2014/01/22 15:24:16, fs wrote: > In more clear terms, what I was getting at ...
6 years, 10 months ago (2014-01-29 19:40:42 UTC) #8
f(malita)
Note that the root issue here is foreignObject content triggering layer creation ( textarea in ...
6 years, 10 months ago (2014-01-29 21:19:37 UTC) #9
Stephen Chennney
On 2014/01/29 21:19:37, Florin Malita wrote: > Note that the root issue here is foreignObject ...
6 years, 10 months ago (2014-01-29 22:13:27 UTC) #10
fs
On 2014/01/29 19:40:42, hartmanng wrote: > On 2014/01/22 15:24:16, fs wrote: > > In more ...
6 years, 10 months ago (2014-01-30 10:27:15 UTC) #11
hartmanng
Thanks for the feedback, everyone. On 2014/01/29 22:13:27, Stephen Chenney wrote: > We can put ...
6 years, 10 months ago (2014-02-07 02:02:42 UTC) #12
Stephen Chennney
It's been forever but now that I'm more familiar with why this matters, let's go ...
6 years, 10 months ago (2014-02-26 19:56:37 UTC) #13
hartmanng
The CQ bit was checked by hartmanng@chromium.org
6 years, 10 months ago (2014-02-26 20:17:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/143363004/220001
6 years, 10 months ago (2014-02-26 20:17:24 UTC) #15
hartmanng
thanks!
6 years, 10 months ago (2014-02-26 20:17:33 UTC) #16
commit-bot: I haz the power
Change committed as 167941
6 years, 10 months ago (2014-02-26 23:27:23 UTC) #17
hartmanng
6 years, 8 months ago (2014-04-02 22:51:53 UTC) #18
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/223063002/ by hartmanng@chromium.org.

The reason for reverting is: This broke rendering in Google Presentations
(https://code.google.com/p/chromium/issues/detail?id=359142)..

Powered by Google App Engine
This is Rietveld 408576698