W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2014

<tspan> and getBBox()

From: Smailus, Thomas O <Thomas.O.Smailus@boeing.com>
Date: Mon, 29 Sep 2014 20:16:14 +0000
To: SVG WG <public-svg-wg@w3.org>
Message-ID: <175A0EE510663A46ACD5FF1A03AD46F5145EB6@XCH-BLV-204.nw.nos.boeing.com>
In SVG 1.1  <text /> implements SVGTextPositioningElement and SVGTransformable (which in turn implments SVGLocatable and thus gives <text/> getBBox() )
<tspan /> doesn't implement SVGTransformable

I see in the SVG 2 draft spec indicates "SVG 2 will allow transforms on 'tspan'" (http://www.w3.org/TR/SVG2/text.html#TSpanElement ).
Does this mean that <tspan /> will implement SVGTransformable and finally get the much needed getBBox() function/method?

SVGTSpanElement  interface should inherit from SVGTransformable in that case, correct?

Thomas Smailus, Ph.D.  P.E.
Boeing Information Technology
Received on Monday, 29 September 2014 20:16:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:56 UTC