[whatwg] innerHTML for HTML and <plaintext>

Ian Hickson ian at hixie.ch
Mon Jun 18 13:26:57 PDT 2007


On Sat, 9 Dec 2006, Anne van Kesteren wrote:
> On Fri, 08 Dec 2006 22:57:07 +0100, Ian Hickson <ian at hixie.ch> wrote:
> > >
> > > The section "If the child node is a Text or CDATASection node" 
> > > should include the <plaintext> element.
> > 
> > <plaintext> in general isn't supported by the innerHTML spec -- for 
> > example, it would always introduce a new </plaintext> element. Is that 
> > a problem?
> 
> Yeah, the way the contents of a <plaintext> element node are returned 
> has given Opera at least one interop issue.

What did you settle on for the implementation? I don't really know how I 
can fix this, given that it is trivial for the <plaintext> element not to 
be the last element in the DOM.

-- 
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