- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 27 Oct 2009 20:37:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv1638 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: Explain what 'a script resource of the given type' means. (whatwg r4369) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.490 retrieving revision 1.491 diff -u -d -r1.490 -r1.491 --- infrastructure.html 27 Oct 2009 20:17:09 -0000 1.490 +++ infrastructure.html 27 Oct 2009 20:37:15 -0000 1.491 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="introduction.html">← 1 Introduction</a> – Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.488 retrieving revision 1.489 diff -u -d -r1.488 -r1.489 --- text-level-semantics.html 27 Oct 2009 20:17:10 -0000 1.488 +++ text-level-semantics.html 27 Oct 2009 20:37:16 -0000 1.489 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.490 retrieving revision 1.491 diff -u -d -r1.490 -r1.491 --- history.html 27 Oct 2009 20:17:09 -0000 1.490 +++ history.html 27 Oct 2009 20:37:15 -0000 1.491 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="offline.html">← 6.7 Offline Web applications</a> – Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- tabular-data.html 27 Oct 2009 20:17:10 -0000 1.489 +++ tabular-data.html 27 Oct 2009 20:37:16 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec-author-view/microdata.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- microdata.html 27 Oct 2009 20:17:09 -0000 1.489 +++ microdata.html 27 Oct 2009 20:37:15 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- Overview.html 27 Oct 2009 20:17:09 -0000 1.491 +++ Overview.html 27 Oct 2009 20:37:14 -0000 1.492 @@ -236,7 +236,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.3500. +This is revision 1.3502. </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.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- embedded-content-0.html 27 Oct 2009 20:17:09 -0000 1.489 +++ embedded-content-0.html 27 Oct 2009 20:37:14 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.492 retrieving revision 1.493 diff -u -d -r1.492 -r1.493 --- dom.html 27 Oct 2009 20:17:09 -0000 1.492 +++ dom.html 27 Oct 2009 20:37:14 -0000 1.493 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</a> – Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- acknowledgements.html 27 Oct 2009 20:17:09 -0000 1.489 +++ acknowledgements.html 27 Oct 2009 20:37:14 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="references.html">← References</a> – Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- the-canvas-element.html 27 Oct 2009 20:17:10 -0000 1.491 +++ the-canvas-element.html 27 Oct 2009 20:37:16 -0000 1.492 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="video.html">← 4.8.7 The video element</a> – Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- forms.html 27 Oct 2009 20:17:09 -0000 1.491 +++ forms.html 27 Oct 2009 20:37:14 -0000 1.492 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="tabular-data.html">← 4.9 Tabular data</a> – Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- interactive-elements.html 27 Oct 2009 20:17:09 -0000 1.489 +++ interactive-elements.html 27 Oct 2009 20:37:15 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="forms.html">← 4.10 Forms</a> – Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- editing.html 27 Oct 2009 20:17:09 -0000 1.491 +++ editing.html 27 Oct 2009 20:37:14 -0000 1.492 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="history.html">← 6.8 Session history and navigation</a> – Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- video.html 27 Oct 2009 20:17:10 -0000 1.491 +++ video.html 27 Oct 2009 20:37:16 -0000 1.492 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.492 retrieving revision 1.493 diff -u -d -r1.492 -r1.493 --- browsers.html 27 Oct 2009 20:17:09 -0000 1.492 +++ browsers.html 27 Oct 2009 20:37:14 -0000 1.493 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="microdata.html">← 5 Microdata</a> – Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v retrieving revision 1.488 retrieving revision 1.489 diff -u -d -r1.488 -r1.489 --- the-xhtml-syntax.html 27 Oct 2009 20:17:10 -0000 1.488 +++ the-xhtml-syntax.html 27 Oct 2009 20:37:16 -0000 1.489 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="named-character-references.html">← 9.2 Named character references</a> – Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- offline.html 27 Oct 2009 20:17:09 -0000 1.489 +++ offline.html 27 Oct 2009 20:37:15 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="browsers.html">← 6 Web browsers</a> – Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/syntax.html,v retrieving revision 1.492 retrieving revision 1.493 diff -u -d -r1.492 -r1.493 --- syntax.html 27 Oct 2009 20:17:10 -0000 1.492 +++ syntax.html 27 Oct 2009 20:37:15 -0000 1.493 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="comms.html">← 8 Communication</a> – Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.490 retrieving revision 1.491 diff -u -d -r1.490 -r1.491 --- obsolete.html 27 Oct 2009 20:17:09 -0000 1.490 +++ obsolete.html 27 Oct 2009 20:37:15 -0000 1.491 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v retrieving revision 1.490 retrieving revision 1.491 diff -u -d -r1.490 -r1.491 --- named-character-references.html 27 Oct 2009 20:17:09 -0000 1.490 +++ named-character-references.html 27 Oct 2009 20:37:15 -0000 1.491 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="syntax.html">← 9 The HTML syntax</a> – Index: references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/references.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- references.html 27 Oct 2009 20:17:09 -0000 1.489 +++ references.html 27 Oct 2009 20:37:15 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="index.html">← Index</a> – Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- semantics.html 27 Oct 2009 20:17:09 -0000 1.491 +++ semantics.html 27 Oct 2009 20:37:15 -0000 1.492 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – @@ -1093,21 +1093,37 @@ <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>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, + ABNF, the character set for which is Unicode. <a href="references.html#refsABNF">[ABNF]</a></p><pre>style = no-c-start *( c-start no-c-end c-end no-c-start ) +no-c-start = <any string that doesn't contain a substring that matches c-start > +c-start = "<!--" +no-c-end = <any string that doesn't contain a substring that matches c-end ></pre> +c-end = "-->" + + <!-- 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 + --> + + + + <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 + alternative style sheets DOM</a>.</p> + + <p>The <code>LinkStyle</code> interface is also implemented by this element; the <a href="#styling">styling processing model</a> defines - how. <a href="references.html#refsCSSOM">[CSSOM]</a></p><div class="example"> + how. <a href="references.html#refsCSSOM">[CSSOM]</a></p> + + <div class="example"> <p>The following document has its emphasis styled as bright red text rather than italics text, while leaving titles of works and @@ -1130,24 +1146,54 @@ </body> </html></pre> - </div><h4 id="styling"><span class="secno">4.2.7 </span><dfn title="styling processing model">Styling</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#the-link-element">link</a></code> and <code><a href="#the-style-element">style</a></code> elements can provide + </div> + + + + + <h4 id="styling"><span class="secno">4.2.7 </span><dfn title="styling processing model">Styling</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + <p>The <code><a href="#the-link-element">link</a></code> and <code><a href="#the-style-element">style</a></code> elements can provide styling information for the user agent to use when rendering the document. The DOM Styling specification specifies what styling information is to be used by the user agent and how it is to be - used. <a href="references.html#refsCSSOM">[CSSOM]</a></p><p>The <code><a href="#the-style-element">style</a></code> and <code><a href="#the-link-element">link</a></code> elements implement - the <code>LinkStyle</code> interface. <a href="references.html#refsCSSOM">[CSSOM]</a></p><h3 id="scripting-1"><span class="secno">4.3 </span>Scripting</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Scripts allow authors to add interactivity to their documents.</p><p>Authors are encouraged to use declarative alternatives to + used. <a href="references.html#refsCSSOM">[CSSOM]</a></p> + + <p>The <code><a href="#the-style-element">style</a></code> and <code><a href="#the-link-element">link</a></code> elements implement + the <code>LinkStyle</code> interface. <a href="references.html#refsCSSOM">[CSSOM]</a></p> + + + + + + <h3 id="scripting-1"><span class="secno">4.3 </span>Scripting</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + <p>Scripts allow authors to add interactivity to their documents.</p> + + <p>Authors are encouraged to use declarative alternatives to scripting where possible, as declarative mechanisms are often more - maintainable, and many users disable scripting.</p><div class="example"> + maintainable, and many users disable scripting.</p> + + <div class="example"> <p>For example, instead of using script to show or hide a section to show more details, the <code><a href="interactive-elements.html#the-details-element">details</a></code> element could be used.</p> - </div><p>Authors are also encouraged to make their applications degrade - gracefully in the absence of scripting support.</p><div class="example"> + </div> + + <p>Authors are also encouraged to make their applications degrade + gracefully in the absence of scripting support.</p> + + <div class="example"> <p>For example, if an author provides a link in a table header to dynamically resort the table, the link could also be made to function without scripts by requesting the sorted table from the server.</p> - </div><h4 id="script"><span class="secno">4.3.1 </span>The <dfn><code>script</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt> + </div> + + + <h4 id="script"><span class="secno">4.3.1 </span>The <dfn><code>script</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + </pre><dl class="element"><dt>Categories</dt> <dd><a href="dom.html#metadata-content">Metadata content</a>.</dd> <dd><a href="dom.html#flow-content">Flow content</a>.</dd> <dd><a href="dom.html#phrasing-content">Phrasing content</a>.</dd> @@ -1198,7 +1244,10 @@ resource to use. The value of the attribute must be a <a href="infrastructure.html#valid-url">valid URL</a> identifying a script resource of the type given by the <code title="attr-script-type"><a href="#attr-script-type">type</a></code> attribute, if the - attribute is present, or of the type "<code title="">text/javascript</code>", if the attribute is absent.</p><p>The <dfn id="attr-script-charset" title="attr-script-charset"><code>charset</code></dfn> + attribute is present, or of the type "<code title="">text/javascript</code>", if the attribute is absent. A + resource is a script resource of a given type if that type + identifies a scripting language and the resource conforms with the + requirements of that language's specification.</p><p>The <dfn id="attr-script-charset" title="attr-script-charset"><code>charset</code></dfn> attribute gives the character encoding of the external script resource. The attribute must not be specified if the <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute is not present. If the attribute is set, its value must be a valid character encoding name, Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.489 retrieving revision 1.490 diff -u -d -r1.489 -r1.490 --- index.html 27 Oct 2009 20:17:09 -0000 1.489 +++ index.html 27 Oct 2009 20:37:15 -0000 1.490 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="iana.html">← 12 IANA considerations</a> – Index: comms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/comms.html,v retrieving revision 1.491 retrieving revision 1.492 diff -u -d -r1.491 -r1.492 --- comms.html 27 Oct 2009 20:17:09 -0000 1.491 +++ comms.html 27 Oct 2009 20:37:14 -0000 1.492 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="editing.html">← 7 User Interaction</a> – Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.492 retrieving revision 1.493 diff -u -d -r1.492 -r1.493 --- spec.html 27 Oct 2009 20:17:10 -0000 1.492 +++ spec.html 27 Oct 2009 20:37:15 -0000 1.493 @@ -234,7 +234,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.3500. +This is revision 1.3502. </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 @@ -4972,21 +4972,37 @@ <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>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, + ABNF, the character set for which is Unicode. <a href=#refsABNF>[ABNF]</a></p><pre>style = no-c-start *( c-start no-c-end c-end no-c-start ) +no-c-start = <any string that doesn't contain a substring that matches c-start > +c-start = "<!--" +no-c-end = <any string that doesn't contain a substring that matches c-end ></pre> +c-end = "-->" + + <!-- 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 + --> + + + + <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 + alternative style sheets DOM</a>.</p> + + <p>The <code>LinkStyle</code> interface is also implemented by this element; the <a href=#styling>styling processing model</a> defines - how. <a href=#refsCSSOM>[CSSOM]</a></p><div class=example> + how. <a href=#refsCSSOM>[CSSOM]</a></p> + + <div class=example> <p>The following document has its emphasis styled as bright red text rather than italics text, while leaving titles of works and @@ -5009,24 +5025,54 @@ </body> </html></pre> - </div><h4 id=styling><span class=secno>4.2.7 </span><dfn title="styling processing model">Styling</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href=#the-link-element>link</a></code> and <code><a href=#the-style-element>style</a></code> elements can provide + </div> + + + + + <h4 id=styling><span class=secno>4.2.7 </span><dfn title="styling processing model">Styling</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + <p>The <code><a href=#the-link-element>link</a></code> and <code><a href=#the-style-element>style</a></code> elements can provide styling information for the user agent to use when rendering the document. The DOM Styling specification specifies what styling information is to be used by the user agent and how it is to be - used. <a href=#refsCSSOM>[CSSOM]</a></p><p>The <code><a href=#the-style-element>style</a></code> and <code><a href=#the-link-element>link</a></code> elements implement - the <code>LinkStyle</code> interface. <a href=#refsCSSOM>[CSSOM]</a></p><h3 id=scripting-1><span class=secno>4.3 </span>Scripting</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Scripts allow authors to add interactivity to their documents.</p><p>Authors are encouraged to use declarative alternatives to + used. <a href=#refsCSSOM>[CSSOM]</a></p> + + <p>The <code><a href=#the-style-element>style</a></code> and <code><a href=#the-link-element>link</a></code> elements implement + the <code>LinkStyle</code> interface. <a href=#refsCSSOM>[CSSOM]</a></p> + + + + + + <h3 id=scripting-1><span class=secno>4.3 </span>Scripting</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + <p>Scripts allow authors to add interactivity to their documents.</p> + + <p>Authors are encouraged to use declarative alternatives to scripting where possible, as declarative mechanisms are often more - maintainable, and many users disable scripting.</p><div class=example> + maintainable, and many users disable scripting.</p> + + <div class=example> <p>For example, instead of using script to show or hide a section to show more details, the <code><a href=#the-details-element>details</a></code> element could be used.</p> - </div><p>Authors are also encouraged to make their applications degrade - gracefully in the absence of scripting support.</p><div class=example> + </div> + + <p>Authors are also encouraged to make their applications degrade + gracefully in the absence of scripting support.</p> + + <div class=example> <p>For example, if an author provides a link in a table header to dynamically resort the table, the link could also be made to function without scripts by requesting the sorted table from the server.</p> - </div><h4 id=script><span class=secno>4.3.1 </span>The <dfn><code>script</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class=element><dt>Categories</dt> + </div> + + + <h4 id=script><span class=secno>4.3.1 </span>The <dfn><code>script</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> + + </pre><dl class=element><dt>Categories</dt> <dd><a href=#metadata-content>Metadata content</a>.</dd> <dd><a href=#flow-content>Flow content</a>.</dd> <dd><a href=#phrasing-content>Phrasing content</a>.</dd> @@ -5077,7 +5123,10 @@ resource to use. The value of the attribute must be a <a href=#valid-url>valid URL</a> identifying a script resource of the type given by the <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute, if the - attribute is present, or of the type "<code title="">text/javascript</code>", if the attribute is absent.</p><p>The <dfn id=attr-script-charset title=attr-script-charset><code>charset</code></dfn> + attribute is present, or of the type "<code title="">text/javascript</code>", if the attribute is absent. A + resource is a script resource of a given type if that type + identifies a scripting language and the resource conforms with the + requirements of that language's specification.</p><p>The <dfn id=attr-script-charset title=attr-script-charset><code>charset</code></dfn> attribute gives the character encoding of the external script resource. The attribute must not be specified if the <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute is not present. If the attribute is set, its value must be a valid character encoding name, Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.490 retrieving revision 1.491 diff -u -d -r1.490 -r1.491 --- introduction.html 27 Oct 2009 20:17:09 -0000 1.490 +++ introduction.html 27 Oct 2009 20:37:15 -0000 1.491 @@ -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.3500.</p> +<p>This is revision 1.3502.</p> </div><div> <a href="Overview.html#contents">Table of contents</a> –
Received on Tuesday, 27 October 2009 20:37:21 UTC