Re: Can foreign elements get foster-parented?

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 UTC