[imps] td fragments

Ian Hickson ian at hixie.ch
Wed Apr 2 17:50:23 PDT 2008


On Wed, 2 Apr 2008, Henri Sivonen wrote:
>
> Can someone, please, explain to me, what part of the spec makes the 
> insertion mode "in body" when the context is "td" or "th" in the 
> fragment case?

None. It's "in cell". However, the way that the "in cell" case is defined 
for the fragment case, it turns out (I just noticed) that it is 
indistinguishable from being "in body".


> Specifically, this test case doesn't pass when I implement "reset the 
> insertion mode" rigorously per spec as far as I can see.
> 
>    1048  ryansking #data
>    1048  ryansking </table></tbody></tfoot></thead></tr><div>
>    1048  ryansking #errors
>    1062  ryansking Line: 1 Col: 8 Unexpected end tag (table). Ignored.
>    1062  ryansking Line: 1 Col: 16 Unexpected end tag (tbody). Ignored.
>    1062  ryansking Line: 1 Col: 24 Unexpected end tag (tfoot). Ignored.
>    1062  ryansking Line: 1 Col: 32 Unexpected end tag (thead). Ignored.
>    1062  ryansking Line: 1 Col: 37 Unexpected end tag (tr). Ignored.
>    1062  ryansking Line: 1 Col: 42 Expected closing tag. Unexpected  
> end of file.
>    1114   hsivonen #document-fragment
>    1114   hsivonen td
>    1052  ryansking #document
>    1052  ryansking | <div>

What part doesn't pass? (i.e. what do you get?)

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



More information about the Implementors mailing list