W3C home > Mailing lists > Public > public-appformats@w3.org > February 2007

Re: [XBL] Accessing flattened tree parents of a shadow tree

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 15 Feb 2007 11:48:04 +1100
To: public-appformats@w3.org
Message-ID: <20070215004804.GE29288@arc.mcc.id.au>

Ian Hickson:
> Just wrap the element in two <g> elements, the outer one having a <g 
> x="50%"> and the inner one having <g x="-...px"> where ... is half the 
> bounding box (which you can obtain through the DOM).

Actually there is no x attribute on the g element (although you can do
that with an svg element), but that’s beside the point.  We want to be
able to implement the standard SVG interfaces, and some of the
properties/methods on the standard SVG interfaces cannot be implemented
without access to the containing shadow scopes.

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Thursday, 15 February 2007 00:48:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:21 GMT