- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 27 Oct 2009 06:27:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv5345 Modified Files: Overview.html acknowledgements.html browsers.html comms.html dom.html editing.html embedded-content-0.html forms.html history.html index.html infrastructure.html interactive-elements.html introduction.html microdata.html named-character-references.html obsolete.html offline.html references.html semantics.html spec.html syntax.html tabular-data.html text-level-semantics.html the-canvas-element.html the-xhtml-syntax.html video.html Log Message: Restrict the contents of <style> for compat with IE/Opera/WebKit. Loosen the restrictions on <script> where they would be impossible to violate in text/html. (whatwg r4340) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.476 retrieving revision 1.477 diff -u -d -r1.476 -r1.477 --- infrastructure.html 27 Oct 2009 06:17:17 -0000 1.476 +++ infrastructure.html 27 Oct 2009 06:27:22 -0000 1.477 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="introduction.html">← 1 Introduction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.474 retrieving revision 1.475 diff -u -d -r1.474 -r1.475 --- text-level-semantics.html 27 Oct 2009 06:17:18 -0000 1.474 +++ text-level-semantics.html 27 Oct 2009 06:27:23 -0000 1.475 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – <a href="Overview.html#contents">Table of contents</a> – Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.476 retrieving revision 1.477 diff -u -d -r1.476 -r1.477 --- history.html 27 Oct 2009 06:17:17 -0000 1.476 +++ history.html 27 Oct 2009 06:27:22 -0000 1.477 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="offline.html">← 6.7 Offline Web applications</a> – <a href="Overview.html#contents">Table of contents</a> – Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- tabular-data.html 27 Oct 2009 06:17:18 -0000 1.475 +++ tabular-data.html 27 Oct 2009 06:27:23 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec-author-view/microdata.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- microdata.html 27 Oct 2009 06:17:17 -0000 1.475 +++ microdata.html 27 Oct 2009 06:27:22 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="Overview.html#contents">Table of contents</a> – Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- Overview.html 27 Oct 2009 06:17:17 -0000 1.477 +++ Overview.html 27 Oct 2009 06:27:21 -0000 1.478 @@ -241,7 +241,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.3474. +This is revision 1.3475. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><abbr title="World Wide Index: embedded-content-0.html =================================================================== RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- embedded-content-0.html 27 Oct 2009 06:17:17 -0000 1.475 +++ embedded-content-0.html 27 Oct 2009 06:27:22 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – <a href="Overview.html#contents">Table of contents</a> – Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.478 retrieving revision 1.479 diff -u -d -r1.478 -r1.479 --- dom.html 27 Oct 2009 06:17:17 -0000 1.478 +++ dom.html 27 Oct 2009 06:27:22 -0000 1.479 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</a> – <a href="Overview.html#contents">Table of contents</a> – Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- acknowledgements.html 27 Oct 2009 06:17:17 -0000 1.475 +++ acknowledgements.html 27 Oct 2009 06:27:21 -0000 1.476 @@ -218,7 +218,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="references.html">← References</a> – <a href="Overview.html#contents">Table of contents</a> Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- the-canvas-element.html 27 Oct 2009 06:17:18 -0000 1.477 +++ the-canvas-element.html 27 Oct 2009 06:27:23 -0000 1.478 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="video.html">← 4.8.7 The video element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- forms.html 27 Oct 2009 06:17:17 -0000 1.477 +++ forms.html 27 Oct 2009 06:27:22 -0000 1.478 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="tabular-data.html">← 4.9 Tabular data</a> – <a href="Overview.html#contents">Table of contents</a> – Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- interactive-elements.html 27 Oct 2009 06:17:17 -0000 1.475 +++ interactive-elements.html 27 Oct 2009 06:27:22 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="forms.html">← 4.10 Forms</a> – <a href="Overview.html#contents">Table of contents</a> – Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- editing.html 27 Oct 2009 06:17:17 -0000 1.477 +++ editing.html 27 Oct 2009 06:27:22 -0000 1.478 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="history.html">← 6.8 Session history and navigation</a> – <a href="Overview.html#contents">Table of contents</a> – Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- video.html 27 Oct 2009 06:17:18 -0000 1.477 +++ video.html 27 Oct 2009 06:27:23 -0000 1.478 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – <a href="Overview.html#contents">Table of contents</a> – Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.478 retrieving revision 1.479 diff -u -d -r1.478 -r1.479 --- browsers.html 27 Oct 2009 06:17:17 -0000 1.478 +++ browsers.html 27 Oct 2009 06:27:22 -0000 1.479 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="microdata.html">← 5 Microdata</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v retrieving revision 1.474 retrieving revision 1.475 diff -u -d -r1.474 -r1.475 --- the-xhtml-syntax.html 27 Oct 2009 06:17:18 -0000 1.474 +++ the-xhtml-syntax.html 27 Oct 2009 06:27:23 -0000 1.475 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="named-character-references.html">← 9.2 Named character references</a> – <a href="Overview.html#contents">Table of contents</a> – Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- offline.html 27 Oct 2009 06:17:17 -0000 1.475 +++ offline.html 27 Oct 2009 06:27:22 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="browsers.html">← 6 Web browsers</a> – <a href="Overview.html#contents">Table of contents</a> – Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/syntax.html,v retrieving revision 1.478 retrieving revision 1.479 diff -u -d -r1.478 -r1.479 --- syntax.html 27 Oct 2009 06:17:18 -0000 1.478 +++ syntax.html 27 Oct 2009 06:27:23 -0000 1.479 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="comms.html">← 8 Communication</a> – <a href="Overview.html#contents">Table of contents</a> – Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.476 retrieving revision 1.477 diff -u -d -r1.476 -r1.477 --- obsolete.html 27 Oct 2009 06:17:17 -0000 1.476 +++ obsolete.html 27 Oct 2009 06:27:22 -0000 1.477 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v retrieving revision 1.476 retrieving revision 1.477 diff -u -d -r1.476 -r1.477 --- named-character-references.html 27 Oct 2009 06:17:17 -0000 1.476 +++ named-character-references.html 27 Oct 2009 06:27:22 -0000 1.477 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="syntax.html">← 9 The HTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/references.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- references.html 27 Oct 2009 06:17:17 -0000 1.475 +++ references.html 27 Oct 2009 06:27:22 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="index.html">← Index</a> – <a href="Overview.html#contents">Table of contents</a> – Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- semantics.html 27 Oct 2009 06:17:17 -0000 1.477 +++ semantics.html 27 Oct 2009 06:27:22 -0000 1.478 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -1038,7 +1038,7 @@ <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is absent: in a <code><a href="#the-noscript-element">noscript</a></code> element that is a child of a <code><a href="#the-head-element-0">head</a></code> element.</dd> <dd>If the <code title="attr-style-scoped"><a href="#attr-style-scoped">scoped</a></code> attribute is present: where <a href="dom.html#flow-content">flow content</a> is expected, but before any other <a href="dom.html#flow-content">flow content</a> other than other <code><a href="#the-style-element">style</a></code> elements and <a href="dom.html#inter-element-whitespace">inter-element whitespace</a>.</dd> <dt>Content model:</dt> - <dd>Depends on the value of the <code title="attr-style-type"><a href="#attr-style-type">type</a></code> attribute.</dd> + <dd>Depends on the value of the <code title="attr-style-type"><a href="#attr-style-type">type</a></code> attribute, but must match requirements described in prose below.</dd> <dt>Content attributes:</dt> <dd><a href="dom.html#global-attributes">Global attributes</a></dd> <dd><code title="attr-style-media"><a href="#attr-style-media">media</a></code></dd> @@ -1078,7 +1078,18 @@ attribute on <code><a href="#the-style-element">style</a></code> elements, like the <code title="attr-link-title"><a href="#attr-link-title">title</a></code> attribute on <code><a href="#the-link-element">link</a></code> elements, differs from the global <code title="attr-title"><a href="dom.html#the-title-attribute">title</a></code> attribute in that a <code><a href="#the-style-element">style</a></code> block without a title does not inherit the title - of the parent element: it merely has no title.</p><p class="note">This specification does not specify a style system, + of the parent element: it merely has no title.</p><p>The <code>textContent</code> of a <code><a href="#the-style-element">style</a></code> element must + match the <code title="">style</code> production in the following + ABNF, the character set for which is Unicode. <a href="references.html#refsABNF">[ABNF]</a></p><pre>style = no-c-start *( "<!--" no-c-end "-->" no-c-start ) +no-c-start = <any string that doesn't contain the substring "<!--" > +no-c-end = <any string that doesn't contain the substring "-->" ></pre><!-- Unmatched comment-like syntax is invalid on a temporary basis, + waiting for IE, WebKit, and Opera to fix their parsing bug + whereby such comments trigger a weird escape in which </style> + is ignored. Otherwise, parsing behaviour in those browsers + could differ substantially from the parsing behaviour of HTML5. + Once everyone follows the HTML5 spec, we can drop this + requirement. + --><p class="note">This specification does not specify a style system, but CSS is expected to be supported by most Web browsers. <a href="references.html#refsCSS">[CSS]</a></p><p>The DOM <dfn id="dom-style-disabled" title="dom-style-disabled"><code>disabled</code></dfn> attribute behaves as defined <a href="#dom-linkstyle-disabled" title="dom-linkstyle-disabled">for the alternative style sheets DOM</a>.</p><p>The <code>LinkStyle</code> interface is also implemented by @@ -1300,16 +1311,16 @@ <dt>"<code>text/javascript;e4x=1</code>"</dt> <dd>JavaScript with ECMAScript for XML. <a href="references.html#refsECMA357">[ECMA357]</a></dd> - </dl><h5 id="restrictions-for-contents-of-script-elements"><span class="secno">4.3.1.2 </span><dfn title="script content restrictions">Restrictions for contents of <code>script</code> elements</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The contents of a <code><a href="#script">script</a></code> element must match the + </dl><h5 id="restrictions-for-contents-of-script-elements"><span class="secno">4.3.1.2 </span><dfn title="script content restrictions">Restrictions for contents of <code>script</code> elements</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code>textContent</code> of a <code><a href="#script">script</a></code> element must match the <code title="">script</code> production in the following ABNF, the character set for which is Unicode. <a href="references.html#refsABNF">[ABNF]</a></p><pre>script = data1 *( escape [ script-start data3 ] "-->" data1 ) [ escape ] escape = "<!--" data2 *( script-start data3 script-end data2 ) data1 = <any string that doesn't contain a substring that matches not-data1> -not-data1 = script-end / "<!--" +not-data1 = <!-- script-end / -->"<!--" <!-- the script-end is redundant here since it would close the element --> data2 = <any string that doesn't contain a substring that matches not-data2> -not-data2 = script-end / script-start / "-->" +not-data2 = <!-- script-end / -->script-start / "-->" <!-- the script-end is redundant here since it would close the element --> data3 = <any string that doesn't contain a substring that matches not-data3> not-data3 = script-end / "-->" Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.475 retrieving revision 1.476 diff -u -d -r1.475 -r1.476 --- index.html 27 Oct 2009 06:17:17 -0000 1.475 +++ index.html 27 Oct 2009 06:27:22 -0000 1.476 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="iana.html">← 12 IANA considerations</a> – <a href="Overview.html#contents">Table of contents</a> – Index: comms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/comms.html,v retrieving revision 1.477 retrieving revision 1.478 diff -u -d -r1.477 -r1.478 --- comms.html 27 Oct 2009 06:17:17 -0000 1.477 +++ comms.html 27 Oct 2009 06:27:22 -0000 1.478 @@ -219,7 +219,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="editing.html">← 7 User Interaction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.478 retrieving revision 1.479 diff -u -d -r1.478 -r1.479 --- spec.html 27 Oct 2009 06:17:18 -0000 1.478 +++ spec.html 27 Oct 2009 06:27:22 -0000 1.479 @@ -239,7 +239,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.3474. +This is revision 1.3475. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2009 <a href=http://www.w3.org/><abbr title="World Wide @@ -4924,7 +4924,7 @@ <dd>If the <code title=attr-style-scoped><a href=#attr-style-scoped>scoped</a></code> attribute is absent: in a <code><a href=#the-noscript-element>noscript</a></code> element that is a child of a <code><a href=#the-head-element-0>head</a></code> element.</dd> <dd>If the <code title=attr-style-scoped><a href=#attr-style-scoped>scoped</a></code> attribute is present: where <a href=#flow-content>flow content</a> is expected, but before any other <a href=#flow-content>flow content</a> other than other <code><a href=#the-style-element>style</a></code> elements and <a href=#inter-element-whitespace>inter-element whitespace</a>.</dd> <dt>Content model:</dt> - <dd>Depends on the value of the <code title=attr-style-type><a href=#attr-style-type>type</a></code> attribute.</dd> + <dd>Depends on the value of the <code title=attr-style-type><a href=#attr-style-type>type</a></code> attribute, but must match requirements described in prose below.</dd> <dt>Content attributes:</dt> <dd><a href=#global-attributes>Global attributes</a></dd> <dd><code title=attr-style-media><a href=#attr-style-media>media</a></code></dd> @@ -4964,7 +4964,18 @@ attribute on <code><a href=#the-style-element>style</a></code> elements, like the <code title=attr-link-title><a href=#attr-link-title>title</a></code> attribute on <code><a href=#the-link-element>link</a></code> elements, differs from the global <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute in that a <code><a href=#the-style-element>style</a></code> block without a title does not inherit the title - of the parent element: it merely has no title.</p><p class=note>This specification does not specify a style system, + of the parent element: it merely has no title.</p><p>The <code>textContent</code> of a <code><a href=#the-style-element>style</a></code> element must + match the <code title="">style</code> production in the following + ABNF, the character set for which is Unicode. <a href=#refsABNF>[ABNF]</a></p><pre>style = no-c-start *( "<!--" no-c-end "-->" no-c-start ) +no-c-start = <any string that doesn't contain the substring "<!--" > +no-c-end = <any string that doesn't contain the substring "-->" ></pre><!-- Unmatched comment-like syntax is invalid on a temporary basis, + waiting for IE, WebKit, and Opera to fix their parsing bug + whereby such comments trigger a weird escape in which </style> + is ignored. Otherwise, parsing behaviour in those browsers + could differ substantially from the parsing behaviour of HTML5. + Once everyone follows the HTML5 spec, we can drop this + requirement. + --><p class=note>This specification does not specify a style system, but CSS is expected to be supported by most Web browsers. <a href=#refsCSS>[CSS]</a></p><p>The DOM <dfn id=dom-style-disabled title=dom-style-disabled><code>disabled</code></dfn> attribute behaves as defined <a href=#dom-linkstyle-disabled title=dom-linkstyle-disabled>for the alternative style sheets DOM</a>.</p><p>The <code>LinkStyle</code> interface is also implemented by @@ -5186,16 +5197,16 @@ <dt>"<code>text/javascript;e4x=1</code>"</dt> <dd>JavaScript with ECMAScript for XML. <a href=#refsECMA357>[ECMA357]</a></dd> - </dl><h5 id=restrictions-for-contents-of-script-elements><span class=secno>4.3.1.2 </span><dfn title="script content restrictions">Restrictions for contents of <code>script</code> elements</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The contents of a <code><a href=#script>script</a></code> element must match the + </dl><h5 id=restrictions-for-contents-of-script-elements><span class=secno>4.3.1.2 </span><dfn title="script content restrictions">Restrictions for contents of <code>script</code> elements</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code>textContent</code> of a <code><a href=#script>script</a></code> element must match the <code title="">script</code> production in the following ABNF, the character set for which is Unicode. <a href=#refsABNF>[ABNF]</a></p><pre>script = data1 *( escape [ script-start data3 ] "-->" data1 ) [ escape ] escape = "<!--" data2 *( script-start data3 script-end data2 ) data1 = <any string that doesn't contain a substring that matches not-data1> -not-data1 = script-end / "<!--" +not-data1 = <!-- script-end / -->"<!--" <!-- the script-end is redundant here since it would close the element --> data2 = <any string that doesn't contain a substring that matches not-data2> -not-data2 = script-end / script-start / "-->" +not-data2 = <!-- script-end / -->script-start / "-->" <!-- the script-end is redundant here since it would close the element --> data3 = <any string that doesn't contain a substring that matches not-data3> not-data3 = script-end / "-->" Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.476 retrieving revision 1.477 diff -u -d -r1.476 -r1.477 --- introduction.html 27 Oct 2009 06:17:17 -0000 1.476 +++ introduction.html 27 Oct 2009 06:27:22 -0000 1.477 @@ -218,7 +218,7 @@ <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> -<p>This is revision 1.3474.</p> +<p>This is revision 1.3475.</p> </div><div> <a href="Overview.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a>
Received on Tuesday, 27 October 2009 06:27:30 UTC