Re: [whatwg] innerHTML for HTML and </span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=whatwg@lists.whatwg.org&amp;q=from:%22Anne+van+Kesteren%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Anne van Kesteren</span></span></a></span> <span class="date"><a href="/search?l=whatwg@lists.whatwg.org&amp;q=date:20070620" rel="nofollow">Wed, 20 Jun 2007 05:58:16 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre style="margin: 0em;"> On Mon, 18 Jun 2007 22:26:57 +0200, Ian Hickson &lt;[EMAIL PROTECTED]&gt; wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> On Sat, 9 Dec 2006, Anne van Kesteren wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"> On Fri, 08 Dec 2006 22:57:07 +0100, Ian Hickson &lt;[EMAIL PROTECTED]&gt; wrote: </pre><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"></pre><pre> The section &quot;If the child node is a Text or CDATASection node&quot; should include the &lt;plaintext&gt; element. </pre></blockquote><pre style="margin: 0em;"> &lt;plaintext&gt; in general isn't supported by the innerHTML spec -- for example, it would always introduce a new &lt;/plaintext&gt; element. Is that a problem? </pre></blockquote><pre style="margin: 0em;"> Yeah, the way the contents of a &lt;plaintext&gt; element node are returned has given Opera at least one interop issue. </pre></blockquote><pre style="margin: 0em;"> 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 &lt;plaintext&gt; element not to be the last element in the DOM. </pre></blockquote><pre style="margin: 0em;"> </pre><tt>&lt;plaintext&gt; needs to be added to the list of elements the serialization </tt><tt>algorithm for Text and CDATASection nodes. That is, its contents should </tt><tt>not be escaped but appended literally. This is basically about </tt><tt>&lt;plaintext&gt;.innerHTML, not about any other issues &lt;plaintext&gt; introduces. </tt><pre style="margin: 0em;"> -- Anne van Kesteren &lt;<a rel="nofollow" href="http://annevankesteren.nl/">http://annevankesteren.nl/</a>&gt; &lt;<a rel="nofollow" href="http://www.opera.com/">http://www.opera.com/</a>&gt; </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg06993.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#07049">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#07049">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg07082.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg06993.html">Re: [whatwg] innerHTML for HTML and &lt;plaintext&gt;</a></span> <span class="sender italic">Ian Hickson</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [whatwg] innerHTML for HTML and &lt;plaintext&g...</span> <span class="sender italic">Anne van Kesteren</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg07082.html">Re: [whatwg] innerHTML for HTML and &lt;plainte...</a></span> <span class="sender italic">Ian Hickson</span></li> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [whatwg] innerHTML for HTML and &lt;plaintext&gt;"> <input type="hidden" name="msgid" value="op.tt70y4gb64w2qv@annevk-t60.oslo.opera.com"> <input type="hidden" name="relpath" value="whatwg@lists.whatwg.org/msg07049.html"> <input type="submit" value=" Anne van Kesteren "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="whatwg@lists.whatwg.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search whatwg"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/whatwg@lists.whatwg.org/">whatwg - all messages</a></li> <li class="icons-about"><a href="/whatwg@lists.whatwg.org/info.html">whatwg - about the list</a></li> <li class="icons-expand"><a href="/search?l=whatwg@lists.whatwg.org&amp;q=subject:%22Re%5C%3A+%5C%5Bwhatwg%5C%5D+innerHTML+for+HTML+and+%3Cplaintext%3E%22&amp;o=newest&amp;f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg06993.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg07082.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">op.tt70y4gb64w2qv@annevk-t60.oslo.opera.com</li> </ul> </div> </body> </html>