[SVGMobile12] Properties on elements

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 UTC