W3C home > Mailing lists > Public > www-svg@w3.org > November 2003

RCC ShadowElement : Document

From: Sigurd Lerstad <sigler@bredband.no>
Date: Mon, 24 Nov 2003 11:17:09 +0100
Message-ID: <002801c3b274$1e78ce90$561273d5@mmstudio>
To: <www-svg@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:55 GMT