ISSUE-2264 (style-element-langspace): SVGStyleElement should inherit from SVGLangSpace [SVG Full 1.1]

ISSUE-2264 (style-element-langspace): SVGStyleElement should inherit from SVGLangSpace [SVG Full 1.1]

http://www.w3.org/Graphics/SVG/WG/track/issues/2264

Raised by: Cameron McCormack
On product: SVG Full 1.1

The <style> element is defined to allow the core attributes, though the use of the SVG.Core.attrib DTD entity.  The core attributes include id, xml:space, xml:lang and xml:base.  The <style> element DTD also explicitly includes xml:space in its attribute list again, so that it can set it to #FIXED 'preserve'.

The SVGStyleElement interface has an attribute xmlspace, to allow access to the xml:space attribute, but it doesn't have one for xml:lang, even though xml:lang is supported on the element.  To fix this, the xmlspace attribute should be dropped from SVGStyleElement, and then SVGStyleElement should inherit from SVGLangSpace to gain xmlspace and xmllang from there.

Received on Tuesday, 14 April 2009 07:06:46 UTC