Sounds like a reasonable argument, but I&#39;m also not that up on the details. Philippe?<br><br><div class="gmail_quote">On Thu, Nov 22, 2012 at 9:55 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh sure I just meant that if that&#39;s what it takes to actually emit valid html5 pages from within seaside then maybe it should/could be part of the #beHtml5 method in the default Seaside-HTML5 package so everyone can use it without  having to find this thread.<br>


<br>
I just don&#39;t know enough to be able to discern whether the changes to the root you posted cover everything that needs to be done or not.<br>
<br>
Anyways. Thanks for posting it<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On Nov 22, 2012, at 1:10 PM, &quot;Boris Popov, DeepCove Labs&quot; &lt;<a href="mailto:boris@deepcovelabs.com">boris@deepcovelabs.com</a>&gt; wrote:<br>
<br>
&gt; Paul,<br>
&gt;<br>
&gt; No specific reason other than that we use a common library to configure our roots to avoid unnecessary method overrides.<br>
&gt;<br>
&gt; -Boris<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a> [mailto:<a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a>] On Behalf Of Paul DeBruicker<br>


&gt; Sent: Thursday, November 22, 2012 4:08 PM<br>
&gt; To: Seaside - general discussion<br>
&gt; Subject: Re: [Seaside] HTML5 and RenderLoopContinuation<br>
&gt;<br>
&gt; Is there any reason to not make the #beHtml5 method do all the things in your configuration?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 11/22/2012 05:18 AM, Boris Popov, DeepCove Labs wrote:<br>
&gt;&gt; Tobias,<br>
&gt;&gt;<br>
&gt;&gt; This is what we do in our shared library class to configure all roots for HTML5,<br>
&gt;&gt;<br>
&gt;&gt; aHtmlRoot beHtml5.<br>
&gt;&gt; aHtmlRoot headElements copy do: [:ea | (ea isKindOf: WAMetaElement) ifTrue: [aHtmlRoot headElements remove: ea]].<br>
&gt;&gt; (aHtmlRoot htmlAttributes)<br>
&gt;&gt;     addClass: &#39;no-js&#39;;<br>
&gt;&gt;     removeKey: &#39;xmlns&#39;;<br>
&gt;&gt;     removeKey: &#39;xml:lang&#39;;<br>
&gt;&gt;     removeKey: &#39;lang&#39;.<br>
&gt;&gt; aHtmlRoot headElements addFirst: ((WAMetaElement root: aHtmlRoot)<br>
&gt;&gt;             attributeAt: &#39;charset&#39; put: &#39;utf-8&#39;;<br>
&gt;&gt;             yourself).<br>
&gt;&gt; (aHtmlRoot meta)<br>
&gt;&gt;     responseHeaderName: &#39;X-UA-Compatible&#39;;<br>
&gt;&gt;     content: &#39;IE=edge,chrome=1&#39;.<br>
&gt;&gt;<br>
&gt;&gt; -Boris<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a> [mailto:<a href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</a>] On Behalf Of Tobias Pape<br>


&gt;&gt; Sent: Thursday, November 22, 2012 5:08 AM<br>
&gt;&gt; To: Seaside - general discussion<br>
&gt;&gt; Subject: [Seaside] HTML5 and RenderLoopContinuation<br>
&gt;&gt;<br>
&gt;&gt; Hi<br>
&gt;&gt;<br>
&gt;&gt; I just played with Seaside and HTML5,<br>
&gt;&gt; however, the resulting html is not HTML5 compatible.<br>
&gt;&gt; The validator says<br>
&gt;&gt;    Line 2, Column 249: Bad value Content-Script-Type for attribute http-equiv on element meta.<br>
&gt;&gt;<br>
&gt;&gt; which is the result of<br>
&gt;&gt;<br>
&gt;&gt; WARenderLoopContinuation&gt;&gt;updateRoot:<br>
&gt;&gt;    &quot;...&quot;<br>
&gt;&gt;    anHtmlRoot meta contentScriptType: WAMimeType textJavascript.<br>
&gt;&gt;    anHtmlRoot htmlAttributes<br>
&gt;&gt;        at: &#39;xmlns&#39; put: &#39;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&#39;;<br>
&gt;&gt;        at: &#39;xml:lang&#39; put: &#39;en&#39;;<br>
&gt;&gt;        at: &#39;lang&#39; put: &#39;en&#39;.<br>
&gt;&gt;    &quot;...&quot;<br>
&gt;&gt;<br>
&gt;&gt; The content script type is incorrect as of HTML5.<br>
&gt;&gt; (see answer here:<br>
&gt;&gt;    <a href="http://stackoverflow.com/questions/6320084/why-is-meta-http-equiv-content-script-type-mostly-unused#8864160" target="_blank">http://stackoverflow.com/questions/6320084/why-is-meta-http-equiv-content-script-type-mostly-unused#8864160</a><br>


&gt;&gt; ).<br>
&gt;&gt; Also, &#39;xml:lang&#39; is accepted for compatibility only, and &#39;xmlns&#39; is incorrect for<br>
&gt;&gt; HTML5 too (while silently ignored).<br>
&gt;&gt;<br>
&gt;&gt; Long story short, can we optionalize this part?<br>
&gt;&gt; I can work around the xml:lang and xmlns-attributes in a subsequent #updateRoot: but I cannot undo the content script type without editing WARenderLoopContinuation&gt;&gt;updateRoot:<br>
&gt;&gt;<br>
&gt;&gt; If you want to, I can try to come up with something.<br>
&gt;&gt;<br>
&gt;&gt; Best<br>
&gt;&gt;    -tobias<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>