Re: [whatwg] Script, style and backwards compatibility

2008-05-09 Thread Ian Hickson
On Fri, 9 May 2008, �ke J�rvklo wrote: 2008/5/9 Ian Hickson [EMAIL PROTECTED]: Is there really any need to escape the contents of script/style at all These days? I don't know - does HTML5 currently handle situations like script type=text/javascriptdocument.write('/script');/script for

Re: [whatwg] Script, style and backwards compatibility

2008-05-09 Thread Ian Hickson
On Fri, 9 May 2008, Simon Pieters wrote: Is there really any need to escape the contents of script/style at all These days? No, but AIUI the reaction was more like Hey, HTML 5 doesn't say anything about escaping script/style, does that mean that it doesn't support escaped

Re: [whatwg] Script, style and backwards compatibility

2008-05-08 Thread Ian Hickson
On Mon, 30 Apr 2007, Simon Pieters wrote: From http://forums.whatwg.org/viewtopic.php?t=38 I can extract two requests. 1. Explain how authors are supposed to comment their script and style elements in HTML5. (Post #171.) Something along the following lines could be inserted as a note

Re: [whatwg] Script, style and backwards compatibility

2008-05-08 Thread Samuel Santos
On Thu, May 8, 2008 at 11:43 PM, Ian Hickson [EMAIL PROTECTED] wrote: On Mon, 30 Apr 2007, Simon Pieters wrote: From http://forums.whatwg.org/viewtopic.php?t=38 I can extract two requests. 1. Explain how authors are supposed to comment their script and style elements in HTML5.

Re: [whatwg] Script, style and backwards compatibility

2008-05-08 Thread Kornel Lesinski
On Fri, 09 May 2008 00:50:20 +0100, Samuel Santos [EMAIL PROTECTED] wrote: In order to validate a page as valid HTML/XHTML you need to escape inline script when using characters like . You can use: /*![CDATA[*/ /*]]*/ It's compatible with both HTML and XHTML. -- regards, Kornel Lesiński

Re: [whatwg] Script, style and backwards compatibility

2007-06-19 Thread Ian Hickson
(Thanks for forwarding forum feedback to the list. Feel free to forward my reply back to the forums, and please do continue to forward feedback from the forums, or blogs, or anywhere else, to the list!) On Mon, 30 Apr 2007, Simon Pieters wrote: From

Re: [whatwg] Script, style and backwards compatibility

2007-04-30 Thread Simon Pieters
On Mon, 30 Apr 2007 01:19:11 +0200, Simon Pieters [EMAIL PROTECTED] wrote: From http://forums.whatwg.org/viewtopic.php?t=38 I can extract two requests. Another now (post #193): Make noscript allowed in XHTML5, and generally remove differences between HTML5 and XHTML5 where possible.

Re: [whatwg] Script, style and backwards compatibility

2007-04-30 Thread Anne van Kesteren
On Mon, 30 Apr 2007 10:25:07 +0200, Simon Pieters [EMAIL PROTECTED] wrote: Make noscript allowed in XHTML5, and generally remove differences between HTML5 and XHTML5 where possible. The use case it has in HTML5 is that you can include img src=tracker or something in there so you have some

Re: [whatwg] Script, style and backwards compatibility

2007-04-30 Thread Simon Pieters
On Mon, 30 Apr 2007 10:31:00 +0200, Anne van Kesteren [EMAIL PROTECTED] wrote: On Mon, 30 Apr 2007 10:25:07 +0200, Simon Pieters [EMAIL PROTECTED] wrote: Make noscript allowed in XHTML5, and generally remove differences between HTML5 and XHTML5 where possible. The use case it has in

Re: [whatwg] Script, style and backwards compatibility

2007-04-30 Thread Martin Atkins
Simon Pieters wrote: This could thus also imply: * Don't disallow lang= in XHTML5 * Don't disallow base href in XHTML5. * Don't disallow meta charset in XHTML5 (it doesn't do any good, but doesn't harm either). When using these, though, generic XML tools (i.e., those that aren't

Re: [whatwg] Script, style and backwards compatibility

2007-04-30 Thread Simon Pieters
On Mon, 30 Apr 2007 20:42:09 +0200, Martin Atkins [EMAIL PROTECTED] wrote: Simon Pieters wrote: This could thus also imply: * Don't disallow lang= in XHTML5 * Don't disallow base href in XHTML5. * Don't disallow meta charset in XHTML5 (it doesn't do any good, but doesn't harm either).