- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 22 Jun 2007 05:07:00 +0000 (UTC)
On Wed, 20 Jun 2007, Anne van Kesteren wrote: > > On Mon, 18 Jun 2007 22:26:57 +0200, Ian Hickson <ian at hixie.ch> wrote: > > 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. > > <plaintext> needs to be added to the list of elements the serialization > algorithm for Text and CDATASection nodes. That is, its contents should not be > escaped but appended literally. This is basically about <plaintext>.innerHTML, > not about any other issues <plaintext> introduces. Ok. Fixed. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 21 June 2007 22:07:00 UTC