- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 10 Sep 2009 09:56:36 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv9135 Modified Files: acknowledgements.html browsers.html comms.html dom.html editing.html embedded-content-0.html forms.html history.html iana-considerations.html index.html infrastructure.html interactive-elements.html introduction.html microdata.html named-character-references.html no.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: minor editorial issues (whatwg r3792) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec/infrastructure.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- infrastructure.html 10 Sep 2009 09:36:30 -0000 1.249 +++ infrastructure.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -182,7 +182,7 @@ <a href="introduction.html">← 1 Introduction</a> – <a href="spec.html#contents">Table of contents</a> – <a href="dom.html">3 Semantics, structure, and APIs of HTML documents →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="infrastructure"><span class="secno">2 </span>Common infrastructure</h2><h3 id="terminology"><span class="secno">2.1 </span>Terminology</h3><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><p>This specification refers to both HTML and XML attributes and IDL Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec/text-level-semantics.html,v retrieving revision 1.242 retrieving revision 1.243 diff -u -d -r1.242 -r1.243 --- text-level-semantics.html 10 Sep 2009 09:36:30 -0000 1.242 +++ text-level-semantics.html 10 Sep 2009 09:56:33 -0000 1.243 @@ -182,7 +182,7 @@ <a href="semantics.html">← 4 The elements of HTML</a> – <a href="spec.html#contents">Table of contents</a> – <a href="video.html">4.8.7 The video element →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="text-level-semantics"><span class="secno">4.6 </span>Text-level semantics</h3><h4 id="the-a-element"><span class="secno">4.6.1 </span>The <dfn><code>a</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt> Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec/the-canvas-element.html,v retrieving revision 1.111 retrieving revision 1.112 diff -u -d -r1.111 -r1.112 --- the-canvas-element.html 10 Sep 2009 09:36:30 -0000 1.111 +++ the-canvas-element.html 10 Sep 2009 09:56:34 -0000 1.112 @@ -182,7 +182,7 @@ <a href="video.html">← 4.8.7 The video element</a> – <a href="spec.html#contents">Table of contents</a> – <a href="tabular-data.html">4.9 Tabular data →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h4 id="the-canvas-element"><span class="secno">4.8.11 </span>The <dfn id="canvas"><code>canvas</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Implemented and widely deployed. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/74">ISSUE-74</a> (canvas-accessibility) blocks progress to Last Call</span></p><dl class="element"><dt>Categories</dt> Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec/tabular-data.html,v retrieving revision 1.243 retrieving revision 1.244 diff -u -d -r1.243 -r1.244 --- tabular-data.html 10 Sep 2009 09:36:30 -0000 1.243 +++ tabular-data.html 10 Sep 2009 09:56:33 -0000 1.244 @@ -182,7 +182,7 @@ <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – <a href="spec.html#contents">Table of contents</a> – <a href="forms.html">4.10 Forms →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="tabular-data"><span class="secno">4.9 </span>Tabular data</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/32">ISSUE-32</a> (table-summary) blocks progress to Last Call</span></p><h4 id="the-table-element"><span class="secno">4.9.1 </span>The <dfn><code>table</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt> Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec/microdata.html,v retrieving revision 1.203 retrieving revision 1.204 diff -u -d -r1.203 -r1.204 --- microdata.html 10 Sep 2009 09:36:30 -0000 1.203 +++ microdata.html 10 Sep 2009 09:56:33 -0000 1.204 @@ -182,7 +182,7 @@ <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="spec.html#contents">Table of contents</a> – <a href="browsers.html">6 Web browsers →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="microdata"><span class="secno">5 </span><dfn>Microdata</dfn></h2><p class="XXX annotation"><b>Status: </b><i>First draft. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/76">ISSUE-76</a> (Microdata/RDFa) blocks progress to Last Call</span></p><!-- v2 Index: embedded-content-0.html =================================================================== RCS file: /sources/public/html5/spec/embedded-content-0.html,v retrieving revision 1.239 retrieving revision 1.240 diff -u -d -r1.239 -r1.240 --- embedded-content-0.html 10 Sep 2009 09:36:29 -0000 1.239 +++ embedded-content-0.html 10 Sep 2009 09:56:32 -0000 1.240 @@ -182,7 +182,7 @@ <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – <a href="spec.html#contents">Table of contents</a> – <a href="semantics.html">4 The elements of HTML →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h6 id="embedded-content-0"><span class="secno">3.2.5.1.6 </span>Embedded content</h6><p><dfn id="embedded-content">Embedded content</dfn> is content that imports another Index: dom.html =================================================================== RCS file: /sources/public/html5/spec/dom.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- dom.html 10 Sep 2009 09:36:29 -0000 1.249 +++ dom.html 10 Sep 2009 09:56:32 -0000 1.250 @@ -182,7 +182,7 @@ <a href="infrastructure.html">← 2 Common infrastructure</a> – <a href="spec.html#contents">Table of contents</a> – <a href="embedded-content-0.html">3.2.5.1.6 Embedded content →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="dom"><span class="secno">3 </span>Semantics, structure, and APIs of HTML documents</h2><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><h3 id="documents"><span class="secno">3.1 </span>Documents</h3><p>Every XML and HTML document in an HTML UA is represented by a Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec/acknowledgements.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- acknowledgements.html 10 Sep 2009 09:36:29 -0000 1.249 +++ acknowledgements.html 10 Sep 2009 09:56:32 -0000 1.250 @@ -180,7 +180,7 @@ </div><nav> <a href="references.html">← References</a> – <a href="spec.html#contents">Table of contents</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 class="no-num" id="acknowledgements">Acknowledgements</h2><p class="XXX annotation"><b>Status: </b><i>Being edited right now</i></p><!-- ACKS --><p>Thanks to Index: history.html =================================================================== RCS file: /sources/public/html5/spec/history.html,v retrieving revision 1.243 retrieving revision 1.244 diff -u -d -r1.243 -r1.244 --- history.html 10 Sep 2009 09:36:30 -0000 1.243 +++ history.html 10 Sep 2009 09:56:33 -0000 1.244 @@ -182,7 +182,7 @@ <a href="offline.html">← 6.9 Offline Web applications</a> – <a href="spec.html#contents">Table of contents</a> – <a href="editing.html">7 User Interaction →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="history"><span class="secno">6.10 </span>Session history and navigation</h3><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><h4 id="the-session-history-of-browsing-contexts"><span class="secno">6.10.1 </span>The session history of browsing contexts</h4><p>The sequence of <code>Document</code>s in a <a href="browsers.html#browsing-context">browsing Index: iana-considerations.html =================================================================== RCS file: /sources/public/html5/spec/iana-considerations.html,v retrieving revision 1.92 retrieving revision 1.93 diff -u -d -r1.92 -r1.93 --- iana-considerations.html 10 Sep 2009 09:36:30 -0000 1.92 +++ iana-considerations.html 10 Sep 2009 09:56:33 -0000 1.93 @@ -182,7 +182,7 @@ <a href="no.html">← 13 Things that you can't do with this specification because they are better handled using other technologies that are further described herein</a> – <a href="spec.html#contents">Table of contents</a> – <a href="index.html">Index →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 class="no-num" id="iana-considerations">IANA considerations</h2><p class="XXX annotation"><b>Status: </b><i>First draft</i></p><!-- http://www.w3.org/2002/06/registering-mediatype.html --><p>This registration is for community review and will be submitted Index: forms.html =================================================================== RCS file: /sources/public/html5/spec/forms.html,v retrieving revision 1.243 retrieving revision 1.244 diff -u -d -r1.243 -r1.244 --- forms.html 10 Sep 2009 09:36:29 -0000 1.243 +++ forms.html 10 Sep 2009 09:56:32 -0000 1.244 @@ -182,7 +182,7 @@ <a href="tabular-data.html">← 4.9 Tabular data</a> – <a href="spec.html#contents">Table of contents</a> – <a href="interactive-elements.html">4.11 Interactive elements →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="forms"><span class="secno">4.10 </span>Forms</h3><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><p>Forms allow unscripted client-server interaction: given a form, a @@ -3670,8 +3670,7 @@ <code class="no-backref" title="dom-input-stepDown"><a href="#dom-input-stepdown">stepDown()</a></code>, and <code class="no-backref" title="dom-input-stepUp"><a href="#dom-input-stepup">stepUp()</a></code> methods.</p> - <p>The <code title="event-input-input"><a href="#event-input-input">input</a></code> event does not - apply.</p> + <p>The <code class="no-backref" title="event-input-input"><a href="#event-input-input">input</a></code> event does not apply.</p> </div><h6 id="radio-button-state"><span class="secno">4.10.4.1.17 </span><dfn title="attr-input-type-radio">Radio Button</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><div class="impl"> @@ -3788,8 +3787,7 @@ <code class="no-backref" title="dom-input-stepDown"><a href="#dom-input-stepdown">stepDown()</a></code>, and <code class="no-backref" title="dom-input-stepUp"><a href="#dom-input-stepup">stepUp()</a></code> methods.</p> - <p>The <code title="event-input-input"><a href="#event-input-input">input</a></code> event does not - apply.</p> + <p>The <code class="no-backref" title="event-input-input"><a href="#event-input-input">input</a></code> event does not apply.</p> </div><h6 id="file-upload-state"><span class="secno">4.10.4.1.18 </span><dfn title="attr-input-type-file">File Upload</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><!-- v2 ideas: * maximum height/width or required ratio for image uploads? - Leons Petrazickis @@ -3906,8 +3904,7 @@ <code class="no-backref" title="dom-input-stepDown"><a href="#dom-input-stepdown">stepDown()</a></code>, and <code class="no-backref" title="dom-input-stepUp"><a href="#dom-input-stepup">stepUp()</a></code> methods.</p> - <p>The <code title="event-input-input"><a href="#event-input-input">input</a></code> event does not - apply.</p> + <p>The <code class="no-backref" title="event-input-input"><a href="#event-input-input">input</a></code> event does not apply.</p> </div><h6 id="submit-button-state"><span class="secno">4.10.4.1.19 </span><dfn title="attr-input-type-submit">Submit Button</dfn> state</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><div class="impl"> Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec/interactive-elements.html,v retrieving revision 1.243 retrieving revision 1.244 diff -u -d -r1.243 -r1.244 --- interactive-elements.html 10 Sep 2009 09:36:30 -0000 1.243 +++ interactive-elements.html 10 Sep 2009 09:56:33 -0000 1.244 @@ -182,7 +182,7 @@ <a href="forms.html">← 4.10 Forms</a> – <a href="spec.html#contents">Table of contents</a> – <a href="microdata.html">5 Microdata →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="interactive-elements"><span class="secno">4.11 </span>Interactive elements</h3><h4 id="the-details-element"><span class="secno">4.11.1 </span>The <dfn><code>details</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt> Index: editing.html =================================================================== RCS file: /sources/public/html5/spec/editing.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- editing.html 10 Sep 2009 09:36:29 -0000 1.249 +++ editing.html 10 Sep 2009 09:56:32 -0000 1.250 @@ -182,7 +182,7 @@ <a href="history.html">← 6.10 Session history and navigation</a> – <a href="spec.html#contents">Table of contents</a> – <a href="comms.html">8 Communication →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="editing"><span class="secno">7 </span><dfn>User Interaction</dfn></h2><p>This section describes various features that allow authors to Index: video.html =================================================================== RCS file: /sources/public/html5/spec/video.html,v retrieving revision 1.118 retrieving revision 1.119 diff -u -d -r1.118 -r1.119 --- video.html 10 Sep 2009 09:36:31 -0000 1.118 +++ video.html 10 Sep 2009 09:56:34 -0000 1.119 @@ -182,7 +182,7 @@ <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – <a href="spec.html#contents">Table of contents</a> – <a href="the-canvas-element.html">4.8.11 The canvas element →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h4 id="video"><span class="secno">4.8.7 </span>The <dfn><code>video</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/7">ISSUE-7</a> (video-codecs), <a href="http://www.w3.org/html/wg/tracker/issues/9">ISSUE-9</a> (video-synchronization) and <a href="http://www.w3.org/html/wg/tracker/issues/10">ISSUE-10</a> (video-smil) block progress to Last Call</span></p><dl class="element"><dt>Categories</dt> Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec/browsers.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- browsers.html 10 Sep 2009 09:36:29 -0000 1.249 +++ browsers.html 10 Sep 2009 09:56:32 -0000 1.250 @@ -182,7 +182,7 @@ <a href="microdata.html">← 5 Microdata</a> – <a href="spec.html#contents">Table of contents</a> – <a href="offline.html">6.9 Offline Web applications →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="browsers"><span class="secno">6 </span>Web browsers</h2><div class="impl"> Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec/the-xhtml-syntax.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- the-xhtml-syntax.html 10 Sep 2009 09:36:31 -0000 1.249 +++ the-xhtml-syntax.html 10 Sep 2009 09:56:34 -0000 1.250 @@ -182,7 +182,7 @@ <a href="named-character-references.html">← 9.6 Named character references</a> – <a href="spec.html#contents">Table of contents</a> – <a href="obsolete.html">12 Obsolete features →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="the-xhtml-syntax"><span class="secno">10 </span><dfn id="xhtml">The XHTML syntax</dfn></h2><p class="note">This section only describes the rules for XML Index: offline.html =================================================================== RCS file: /sources/public/html5/spec/offline.html,v retrieving revision 1.244 retrieving revision 1.245 diff -u -d -r1.244 -r1.245 --- offline.html 10 Sep 2009 09:36:30 -0000 1.244 +++ offline.html 10 Sep 2009 09:56:33 -0000 1.245 @@ -182,7 +182,7 @@ <a href="browsers.html">← 6 Web browsers</a> – <a href="spec.html#contents">Table of contents</a> – <a href="history.html">6.10 Session history and navigation →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="offline"><span class="secno">6.9 </span>Offline Web applications</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><!-- v2 ideas for appcache: Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec/syntax.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- syntax.html 10 Sep 2009 09:36:30 -0000 1.249 +++ syntax.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -182,7 +182,7 @@ <a href="comms.html">← 8 Communication</a> – <a href="spec.html#contents">Table of contents</a> – <a href="named-character-references.html">9.6 Named character references →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="syntax"><span class="secno">9 </span><dfn>The HTML syntax</dfn></h2><p class="note">This section only describes the rules for Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec/obsolete.html,v retrieving revision 1.241 retrieving revision 1.242 diff -u -d -r1.241 -r1.242 --- obsolete.html 10 Sep 2009 09:36:30 -0000 1.241 +++ obsolete.html 10 Sep 2009 09:56:33 -0000 1.242 @@ -182,7 +182,7 @@ <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – <a href="spec.html#contents">Table of contents</a> – <a href="no.html">13 Things that you can't do with this specification because they are better handled using other technologies that are further described herein →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="obsolete"><span class="secno">12 </span>Obsolete features</h2><h3 id="obsolete-but-conforming-features"><span class="secno">12.1 </span>Obsolete but conforming features</h3><p>Features listed in this section will trigger warnings in Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec/named-character-references.html,v retrieving revision 1.242 retrieving revision 1.243 diff -u -d -r1.242 -r1.243 --- named-character-references.html 10 Sep 2009 09:36:30 -0000 1.242 +++ named-character-references.html 10 Sep 2009 09:56:33 -0000 1.243 @@ -182,7 +182,7 @@ <a href="syntax.html">← 9 The HTML syntax</a> – <a href="spec.html#contents">Table of contents</a> – <a href="the-xhtml-syntax.html">10 The XHTML syntax →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h3 id="named-character-references"><span class="secno">9.6 </span><dfn>Named character references</dfn></h3><p>This table lists the character reference names that are supported Index: references.html =================================================================== RCS file: /sources/public/html5/spec/references.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- references.html 10 Sep 2009 09:36:30 -0000 1.249 +++ references.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -182,7 +182,7 @@ <a href="index.html">← Index</a> – <a href="spec.html#contents">Table of contents</a> – <a href="acknowledgements.html">Acknowledgements →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 class="no-num" id="references">References</h2><p class="XXX annotation"><b>Status: </b><i>First draft</i></p><!--REFS--><p>All references are normative unless marked "Non-normative".</p><dl><dt id="refsABNF">[ABNF]</dt> Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec/semantics.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- semantics.html 10 Sep 2009 09:36:30 -0000 1.249 +++ semantics.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -182,7 +182,7 @@ <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – <a href="spec.html#contents">Table of contents</a> – <a href="text-level-semantics.html">4.6 Text-level semantics →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="semantics"><span class="secno">4 </span>The elements of HTML</h2><h3 id="the-root-element"><span class="secno">4.1 </span>The root element</h3><h4 id="the-html-element-0"><span class="secno">4.1.1 </span>The <dfn><code>html</code></dfn> element</h4><dl class="element"><dt>Categories</dt> @@ -1203,7 +1203,7 @@ <div class="example"> - <p>A news organisation's front page could include the following + <p>A news organization's front page could include the following markup in the page's <code><a href="#the-head-element-0">head</a></code> element, to ensure that the page automatically reloads from the server every five minutes:</p> @@ -2132,7 +2132,47 @@ </div><p class="note">When inserted using the <code title="dom-document-write"><a href="embedded-content-0.html#dom-document-write">document.write()</a></code> method, <code><a href="#script">script</a></code> elements execute (typically synchronously), but when inserted using <code title="dom-innerHTML"><a href="embedded-content-0.html#dom-innerhtml">innerHTML</a></code> and <code title="dom-outerHTML"><a href="embedded-content-0.html#dom-outerhtml">outerHTML</a></code> attributes, they do not - execute at all.</p><h5 id="scriptingLanguages"><span class="secno">4.3.1.1 </span>Scripting languages</h5><div class="impl"> + execute at all.</p><div class="example"> + + <p>The following sample shows how a script element can be used to + define a function that is then used by other parts of the + document. It also shows how a <code><a href="#script">script</a></code> element can be + used to invoke script while the document is being parsed, in this + case to initialize the form's output.</p> + + <pre><script> + function calculate(form) { + var price = 52000; + if (form.elements.brakes.checked) + price += 1000; + if (form.elements.radio.checked) + price += 2500; + if (form.elements.turbo.checked) + price += 5000; + if (form.elements.sticker.checked) + price += 250; + form.elements.result.value = price; + } +</script> +<form name="pricecalc" onsubmit="return false"> + <fieldset> + <legend>Work out the price of your car</legend> + <p>Base cost: £52000.</p> + <p>Select additional options:</p> + <ul> + <li><label><input type=checkbox name=brakes> Ceramic brakes (£1000)</label></li> + <li><label><input type=checkbox name=radio> Satellite radio (£2500)</label></li> + <li><label><input type=checkbox name=turbo> Turbo charger (£5000)</label></li> + <li><label><input type=checkbox name=sticker> "XZ" sticker (£250)</label></li> + </ul> + <p>Total: £<output name=result onformchange="calculate(form)"></output></p> + </fieldset> + <script> + document.forms.pricecalc.dispatchFormChange(); + </script> +</form></pre> + + </div><h5 id="scriptingLanguages"><span class="secno">4.3.1.1 </span>Scripting languages</h5><div class="impl"> <p>A user agent is said to <dfn id="support-the-scripting-language">support the scripting language</dfn> if <var><a href="#the-script-block-s-type">the script block's type</a></var> matches the <a href="infrastructure.html#mime-type">MIME type</a> of a Index: index.html =================================================================== RCS file: /sources/public/html5/spec/index.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- index.html 10 Sep 2009 09:36:30 -0000 1.249 +++ index.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -182,7 +182,7 @@ <a href="iana-considerations.html">← IANA considerations</a> – <a href="spec.html#contents">Table of contents</a> – <a href="references.html">References →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 class="no-num" id="index">Index</h2><p class="XXX annotation"><b>Status: </b><i>First draft</i></p><p><i>This section is non-normative.</i></p><table><caption>List of elements</caption> Index: comms.html =================================================================== RCS file: /sources/public/html5/spec/comms.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- comms.html 10 Sep 2009 09:36:29 -0000 1.249 +++ comms.html 10 Sep 2009 09:56:32 -0000 1.250 @@ -182,7 +182,7 @@ <a href="editing.html">← 7 User Interaction</a> – <a href="spec.html#contents">Table of contents</a> – <a href="syntax.html">9 The HTML syntax →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="comms"><span class="secno">8 </span>Communication</h2><h3 id="event-definitions"><span class="secno">8.1 </span>Event definitions</h3><!-- XXX cross-references for SSE and WS need fixing now that this is cross-spec --><p>Messages in <span>server-sent events</span>, <span>Web Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.251 retrieving revision 1.252 diff -u -d -r1.251 -r1.252 --- spec.html 10 Sep 2009 09:36:30 -0000 1.251 +++ spec.html 10 Sep 2009 09:56:33 -0000 1.252 @@ -200,7 +200,7 @@ </dl><p>This specification is available in the following formats: <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>. -This is revision 1.2960. +This is revision 1.2962. </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: introduction.html =================================================================== RCS file: /sources/public/html5/spec/introduction.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- introduction.html 10 Sep 2009 09:36:30 -0000 1.249 +++ introduction.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -180,7 +180,7 @@ </div><nav> <a href="spec.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="introduction"><span class="secno">1 </span>Introduction</h2><p class="XXX annotation"><b>Status: </b><i>Working draft</i></p><h3 id="background"><span class="secno">1.1 </span>Background</h3><p><i>This section is non-normative.</i></p><p>The World Wide Web's markup language has always been HTML. HTML Index: no.html =================================================================== RCS file: /sources/public/html5/spec/no.html,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- no.html 10 Sep 2009 09:36:30 -0000 1.249 +++ no.html 10 Sep 2009 09:56:33 -0000 1.250 @@ -182,7 +182,7 @@ <a href="obsolete.html">← 12 Obsolete features</a> – <a href="spec.html#contents">Table of contents</a> – <a href="iana-considerations.html">IANA considerations →</a> - </nav><p>This is revision 1.2960.</p> + </nav><p>This is revision 1.2962.</p> <h2 id="no"><span class="secno">13 </span>Things that you can't do with this specification because
Received on Thursday, 10 September 2009 09:56:47 UTC