[whatwg] HTML tree construction, inserting a foreign element, and foster parenting

Ian Hickson ian at hixie.ch
Wed Jul 31 14:16:31 PDT 2013


On Sat, 20 Jul 2013, Nolan Waite wrote:
>
> Hello! I've a question about the HTML spec. Suppose I'm parsing the 
> following markup:
> 
> <table><math>
> 
> My question is: when I insert an element for the start tag token named 
> "math", is it affected by the foster parenting logic?

Yes.

The spec was previously wrong on this matter. I've fixed it. Thanks for 
catching this bug!

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list