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:%22Ian+Hickson%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Ian Hickson</span></span></a></span> <span class="date"><a href="/search?l=whatwg@lists.whatwg.org&amp;q=date:20070621" rel="nofollow">Thu, 21 Jun 2007 22:09:41 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>On Wed, 20 Jun 2007, Anne van Kesteren wrote: &gt; &gt; On Mon, 18 Jun 2007 22:26:57 +0200, Ian Hickson &lt;[EMAIL PROTECTED]&gt; wrote: &gt; &gt; On Sat, 9 Dec 2006, Anne van Kesteren wrote: &gt; &gt; &gt; On Fri, 08 Dec 2006 22:57:07 +0100, Ian Hickson &lt;[EMAIL PROTECTED]&gt; wrote: &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; The section &quot;If the child node is a Text or CDATASection node&quot; &gt; &gt; &gt; &gt; &gt; should include the &lt;plaintext&gt; element. &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &lt;plaintext&gt; in general isn't supported by the innerHTML spec -- for &gt; &gt; &gt; &gt; example, it would always introduce a new &lt;/plaintext&gt; element. Is that &gt; &gt; &gt; &gt; a problem? &gt; &gt; &gt; &gt; &gt; &gt; Yeah, the way the contents of a &lt;plaintext&gt; element node are returned &gt; &gt; &gt; has given Opera at least one interop issue. &gt; &gt; &gt; &gt; What did you settle on for the implementation? I don't really know how I &gt; &gt; can fix this, given that it is trivial for the &lt;plaintext&gt; element not to &gt; &gt; be the last element in the DOM. &gt; &gt; &lt;plaintext&gt; needs to be added to the list of elements the serialization &gt; algorithm for Text and CDATASection nodes. That is, its contents should not be &gt; escaped but appended literally. This is basically about &lt;plaintext&gt;.innerHTML, &gt; not about any other issues &lt;plaintext&gt; introduces.</pre><pre> Ok. Fixed. -- Ian Hickson U+1047E )\._.,--....,'``. fL <a rel="nofollow" href="http://ln.hixie.ch/">http://ln.hixie.ch/</a> U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg07049.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#07082">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#07082">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg06994.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"><span class="subject"><a href="msg07049.html">Re: [whatwg] innerHTML for HTML and &lt;plaintext&g...</a></span> <span class="sender italic">Anne van Kesteren</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [whatwg] innerHTML for HTML and &lt;plainte...</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="Pine.LNX.4.64.0706220502400.31033@dhalsim.dreamhost.com"> <input type="hidden" name="relpath" value="whatwg@lists.whatwg.org/msg07082.html"> <input type="submit" value=" Ian Hickson "> </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="msg07049.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg06994.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">Pine.LNX.4.64.0706220502400.31033@dhalsim.dreamhost.com</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9cfc42e49bd23cd0',t:'MTc3MTQwNDQ2Mg=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>