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

Issue 145493012: <br> nodes should not be allowed within SVG text (Closed)

Created:
6 years, 10 months ago by fs
Modified:
6 years, 10 months ago
CC:
blink-reviews, krit, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, ed+blinkwatch_opera.com, gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr, Stephen Chennney, rwlbuis
Visibility:
Public.

Description

<br> nodes should not be allowed within SVG text Add new method isRenderableTextNode to SVGRenderSupport to filter out any RenderObjects that return true for isText(), but is not recognized by the SVG text rendering codepath. BUG=339993, 337607 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166505

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add TC. #

Patch Set 3 : Restore order of disjunction arguments in RenderSVGText. #

Patch Set 4 : Reupload ps#3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -6 lines) Patch
A LayoutTests/svg/text/nonconformant-content-crash-3.html View 1 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/svg/text/nonconformant-content-crash-3-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGInline.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGTSpan.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGText.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGTextPath.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.h View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.cpp View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
fs
6 years, 10 months ago (2014-02-03 13:10:00 UTC) #1
Stephen Chennney
LGTM with a nit. https://codereview.chromium.org/145493012/diff/1/Source/core/rendering/svg/RenderSVGText.cpp File Source/core/rendering/svg/RenderSVGText.cpp (right): https://codereview.chromium.org/145493012/diff/1/Source/core/rendering/svg/RenderSVGText.cpp#newcode73 Source/core/rendering/svg/RenderSVGText.cpp:73: return (child->isText() && SVGRenderSupport::isRenderableTextNode(child)) || ...
6 years, 10 months ago (2014-02-03 16:01:15 UTC) #2
Stephen Chennney
NLGTM. Should be a test. Is there something that failed before the patch and doesn't ...
6 years, 10 months ago (2014-02-03 16:02:25 UTC) #3
Stephen Chennney
unLGTM?
6 years, 10 months ago (2014-02-03 16:02:51 UTC) #4
f(malita)
On 2014/02/03 16:02:51, Stephen Chenney wrote: > unLGTM? lngtm maybe?
6 years, 10 months ago (2014-02-03 16:04:07 UTC) #5
f(malita)
On 2014/02/03 16:04:07, Florin Malita wrote: > On 2014/02/03 16:02:51, Stephen Chenney wrote: > > ...
6 years, 10 months ago (2014-02-03 16:05:47 UTC) #6
fs
On 2014/02/03 16:01:15, Stephen Chenney wrote: > LGTM with a nit. > > https://codereview.chromium.org/145493012/diff/1/Source/core/rendering/svg/RenderSVGText.cpp > ...
6 years, 10 months ago (2014-02-03 16:19:46 UTC) #7
fs
On 2014/02/03 16:02:25, Stephen Chenney wrote: > NLGTM. Should be a test. Is there something ...
6 years, 10 months ago (2014-02-03 16:21:12 UTC) #8
f(malita)
On 2014/02/03 16:21:12, fs wrote: > On 2014/02/03 16:02:25, Stephen Chenney wrote: > > NLGTM. ...
6 years, 10 months ago (2014-02-03 16:28:39 UTC) #9
fs
On 2014/02/03 16:28:39, Florin Malita wrote: > On 2014/02/03 16:21:12, fs wrote: > > On ...
6 years, 10 months ago (2014-02-03 17:22:22 UTC) #10
fs
TC added + order of disjunction restored.
6 years, 10 months ago (2014-02-03 17:50:50 UTC) #11
pdr.
On 2014/02/03 17:50:50, fs wrote: > TC added + order of disjunction restored. LGTM
6 years, 10 months ago (2014-02-03 19:07:33 UTC) #12
fs
On 2014/02/03 16:05:47, Florin Malita wrote: > On 2014/02/03 16:04:07, Florin Malita wrote: > > ...
6 years, 10 months ago (2014-02-04 08:25:33 UTC) #13
fs
The CQ bit was checked by fs@opera.com
6 years, 10 months ago (2014-02-05 14:45:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/145493012/230001
6 years, 10 months ago (2014-02-05 14:45:36 UTC) #15
commit-bot: I haz the power
6 years, 10 months ago (2014-02-05 15:32:04 UTC) #16
Message was sent while issue was closed.
Change committed as 166505

Powered by Google App Engine
This is Rietveld 408576698