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

Issue 109433003: SVGLangSpace interface should be removed (Closed)

Created:
7 years ago by rwlbuis
Modified:
7 years ago
CC:
blink-reviews, pdr, Stephen Chennney, krit, f(malita)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

SVGLangSpace interface should be removed Remove the SVGLangSpace interface as dictated by the SVG2 specification: https://svgwg.org/svg2-draft/types.html#InterfaceSVGElement The xml:lang handling is handled purely through get/setAttribute. The xml:space uses the same approach, but care has to be taken in SVGTextContentElement to deal with xml:space as we want to react to attribute value changes. BUG=253477 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163723

Patch Set 1 #

Patch Set 2 : Fix compile problem #

Total comments: 1

Patch Set 3 : Avoid running into ASSERT for Debug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -180 lines) Patch
M LayoutTests/svg/custom/global-constructors-expected.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/custom/script-tests/global-constructors.js View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/core.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/svg/SVGCircleElement.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M Source/core/svg/SVGElement.h View 4 chunks +7 lines, -3 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 3 chunks +21 lines, -5 lines 0 comments Download
M Source/core/svg/SVGEllipseElement.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M Source/core/svg/SVGGElement.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/svg/SVGImageElement.cpp View 3 chunks +1 line, -4 lines 0 comments Download
D Source/core/svg/SVGLangSpace.h View 1 chunk +0 lines, -50 lines 0 comments Download
D Source/core/svg/SVGLangSpace.cpp View 1 chunk +0 lines, -81 lines 0 comments Download
M Source/core/svg/SVGLineElement.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M Source/core/svg/SVGPolyElement.cpp View 3 chunks +1 line, -4 lines 0 comments Download
M Source/core/svg/SVGRectElement.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M Source/core/svg/SVGSVGElement.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/svg/SVGTextContentElement.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 3 chunks +2 lines, -5 lines 0 comments Download
M Source/core/xml/xmlattrs.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rwlbuis
7 years ago (2013-12-10 23:39:28 UTC) #1
eseidel
I'm guessing by the fact there are no idl changes this is not web-exposed?
7 years ago (2013-12-11 00:06:07 UTC) #2
pdr.
LGTM custom/script-tests/global-constructors.js refers to SVGLangSpace and currently fails. Can you update that test? https://codereview.chromium.org/109433003/diff/20001/Source/core/svg/SVGTextContentElement.cpp File ...
7 years ago (2013-12-11 00:10:58 UTC) #3
pdr.
On 2013/12/11 00:06:07, eseidel wrote: > I'm guessing by the fact there are no idl ...
7 years ago (2013-12-11 00:18:30 UTC) #4
rwlbuis
On 2013/12/11 00:06:07, eseidel wrote: > I'm guessing by the fact there are no idl ...
7 years ago (2013-12-11 17:10:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/109433003/40001
7 years ago (2013-12-11 18:11:08 UTC) #6
commit-bot: I haz the power
Change committed as 163723
7 years ago (2013-12-11 19:13:05 UTC) #7
rwlbuis
On 2013/12/11 00:10:58, pdr wrote: > LGTM > > custom/script-tests/global-constructors.js refers to SVGLangSpace and currently ...
7 years ago (2013-12-11 19:20:45 UTC) #8
rwlbuis
On 2013/12/11 00:18:30, pdr wrote: > On 2013/12/11 00:06:07, eseidel wrote: > > I'm guessing ...
7 years ago (2013-12-12 16:05:00 UTC) #9
pdr.
7 years ago (2013-12-12 23:20:47 UTC) #10
Message was sent while issue was closed.
On 2013/12/12 16:05:00, rwlbuis wrote:
> On 2013/12/11 00:18:30, pdr wrote:
> > On 2013/12/11 00:06:07, eseidel wrote:
> > > I'm guessing by the fact there are no idl changes this is not web-exposed?
> > 
> > I don't think we ever correctly supported this feature. We were supposed to
> just
> > expose xmllang and xmlspace on classes that inherited from SVGLangSpace but
we
> > supported them everywhere.
> > 
> > I hope these eventually go away and we can kill XMLNames.h :)
> 
> Can you explain that last sentence? XMLNames are not only in use by SVG but
also
> HTML and XPath. Or do you mean moving xmllang/xmlspace getter/setters from
> SVGElement into the bindings?

It appears there are only 3 XMLNames--all for SVG. With the grand SVG/HTML
unification utopia, I hope the need for xml-prefixed attributes goes away.

Powered by Google App Engine
This is Rietveld 408576698