W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: Can foreign elements get foster-parented?

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 14 May 2008 21:58:43 +0000 (UTC)
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTML Working Group <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0805142151510.12907@hixie.dreamhostps.com>

On Wed, 14 May 2008, Henri Sivonen wrote:
> On May 14, 2008, at 01:15, Ian Hickson wrote:
> > On Tue, 13 May 2008, Henri Sivonen wrote:
> > > 
> > > Can foreign elements get foster-parented?
> > > 
> > > It seems to me that they can't. Am I right?
> > 
> > <div><table><math>
> > 
> > ...has a foster-parented foreign element.
> 
> Right. I phrased the question badly.
> 
> Can elements get foster-parented when the mode is 'in foreign content' 
> and case 'Any other start tag' is hit?

They can't get foster parented per the rules in the "in table" section, 
since that can only happen if the current element is one of table, tbody, 
tfoot, thead, or tr, and they can't be foster parented per the rules in 
teh adoption agency algorithm, since that only happens for end tags.

As far as I can tell.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 14 May 2008 21:59:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:17 GMT