W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] innerHTML for HTML and <plaintext>

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Jun 2007 20:26:57 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706182026120.26929@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 18 June 2007 13:26:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC