W3C home > Mailing lists > Public > www-svg@w3.org > July 2005

Re: [sXBL] question on the <content> processing model

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Jul 2005 15:29:11 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-svg@w3.org
Message-ID: <Pine.LNX.4.62.0507181528160.11074@dhalsim.dreamhost.com>

On Mon, 28 Mar 2005, Boris Zbarsky wrote:
> I'm not quite clear on exactly what <content> does, or more precisely on 
> which nodes it operates.  Section 4.2 talks about "explicit children", 
> but consider the situation represented by the diagram in that section -- 
> node 3 has an sXBL binding bound to it which makes nodes 4 and 5 
> children of the leftmost purple node (call it node A) in the flattened 
> tree.
> Now say node A has an sXBL binding bound to it, and this binding has 
> <content> elements.  Would those be able to reposition node 4 and node 5 
> in the flattened tree under node A?  It seems that the intent is that 
> they should, yet node 4 and node 5 are not at all explicit children of 
> node A...  Some clarification here would be nice.

The <content> element is the one that is an explicit child of A. So that's 
what gets "repositioned". And in the final flattened tree, it gets 
replaced by what matches it, as normal.

This all seems well-defined if you take the spec literally...

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 18 July 2005 15:32:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:07 UTC