W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

[SVGMobile12] Properties on elements

From: <Michael.Ingrassia@nokia.com>
Date: Thu, 26 Jan 2006 21:47:49 -0600
Message-ID: <60A427E0B02CC34B98D22BDCAA253612024E2081@daebe101.NOE.Nokia.com>
To: <www-svg@w3.org>

Hello SVG WG,

The following topic has been discussed in other forums and I would be
interested in hearing the response from other members of the SVG WG.

According to the element table in appendix K, all properties (as defined
in appendix L.1) can be set on basic shapes (e.g. <rect>, <circle>,
<ellipse>, etc).  It then follows that it is valid to set as attributes
some properties (e.g. font-family, font-size, etc) on shapes even though
it will have no meaningful effect on the rendering of the element.
Also, according to appendix A.7.12, these same properties can be
set/accessed via the trait manipulation interface in the uDOM.

Originally the property index of SVG 1.1 (appendix N) defined which
elements each property could apply to.  In SVG Mobile 1.2 (appendix K)
the only options are all/none/media.

Looking at this from an implementation standpoint, this is a bit
wasteful of RAM usage since we are requiring the ability to set
attributes on elements that are of no practical use to the element.

Regards,
Mike
Received on Friday, 27 January 2006 03:48:34 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:33 GMT