- From: David Carlisle <davidc@nag.co.uk>
- Date: Tue, 06 Nov 2012 14:03:35 +0000
- To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Cc: public-html@w3.org
On 06/11/2012 13:37, Lachlan Hunt wrote: > It's also somewhat self-contradictory in its present state, as > section 9 says to only use external scripts and section 9.2 > contradicts that by saying that "safe content" may be used inline. I meant to put in a bug about that, The introductory remark about requiring external scripts is (now) clearly wrong given the following detailed requirements for inline scripts. > > On a related note, Polyglot Markup also fails to describe > alternative techniques of including scripts inline, such as using the > <![CDATA[ trick. > > <script>//<![CDATA[ ... //]]></script> That was explicitly suggested by several people (including me) but the editor is currently choosing to go for a stricter interpretation of DOM equality so this isn't an accidental failure but a design choice. (The fact that the are such choices is one reason why the syntactic choices in the definition of the profile should be normative) Similarly newlines in attribute values rarely make a difference (with the possible exception of title) but the spec currently bans then (which makes for some long lines in the svg path example) David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Received on Tuesday, 6 November 2012 14:04:15 UTC