RCC ShadowElement : Document

Maybe I was a little quick.

But I wasn't completely wrong, as I understand it, SVGShadowElement is
partially a document and partially an element. A lot of the things on an
element are meaningless on SVGShadowElement, like getAttribute,setAttribute
etc. and many things on the document are also meaningless on
SVGShadowElement, like documentElement,doctype etc. and the document has
restrictions like only one child element etc.

Maybe SVGShadowElement should be

SVGShadowElement : Node
{
    getElementById()
   ....
}

and introduce a new interface

SVGShadowTreeable :)
{
    SVGShadowElement m_ownerShadowTree;
}

--
Sigurd Lerstad

Received on Monday, 24 November 2003 12:25:43 UTC