- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 25 Sep 2010 02:23:45 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv25611 Modified Files: Overview.html acknowledgements.html apis-in-html-documents.html association-of-controls-and-forms.html browsers.html commands.html common-input-element-attributes.html common-microsyntaxes.html content-models.html dnd.html dom.html editing.html edits.html elements.html embedded-content-1.html forms.html grouping-content.html history.html iana.html index-of-terms.html index.html infrastructure.html interactive-elements.html introduction.html links.html named-character-references.html number-state.html obsolete.html offline.html origin-0.html references.html scripting-1.html sections.html semantics.html spec.html spec.preprocessed.html states-of-the-type-attribute.html syntax.html tabular-data.html text-level-semantics.html the-button-element.html the-canvas-element.html the-iframe-element.html the-input-element.html the-map-element.html the-xhtml-syntax.html timers.html urls.html video.html webappapis.html Log Message: Show best practice for use of labels in details. (whatwg r5483) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.773 retrieving revision 1.774 diff -u -d -r1.773 -r1.774 --- infrastructure.html 25 Sep 2010 01:22:58 -0000 1.773 +++ infrastructure.html 25 Sep 2010 02:23:39 -0000 1.774 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </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.771 retrieving revision 1.772 diff -u -d -r1.771 -r1.772 --- text-level-semantics.html 25 Sep 2010 01:23:01 -0000 1.771 +++ text-level-semantics.html 25 Sep 2010 02:23:43 -0000 1.772 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="grouping-content.html">← 4.5 Grouping content</a> – <a href="Overview.html#contents">Table of contents</a> – Index: scripting-1.html =================================================================== RCS file: /sources/public/html5/spec-author-view/scripting-1.html,v retrieving revision 1.213 retrieving revision 1.214 diff -u -d -r1.213 -r1.214 --- scripting-1.html 25 Sep 2010 01:22:59 -0000 1.213 +++ scripting-1.html 25 Sep 2010 02:23:40 -0000 1.214 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-map-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-map-element.html,v retrieving revision 1.212 retrieving revision 1.213 diff -u -d -r1.212 -r1.213 --- the-map-element.html 25 Sep 2010 01:23:01 -0000 1.212 +++ the-map-element.html 25 Sep 2010 02:23:43 -0000 1.213 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="the-canvas-element.html">← 4.8.10 The canvas element</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.765 retrieving revision 1.766 diff -u -d -r1.765 -r1.766 --- the-canvas-element.html 25 Sep 2010 01:23:01 -0000 1.765 +++ the-canvas-element.html 25 Sep 2010 02:23:43 -0000 1.766 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="video.html">← 4.8.6 The video element</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.755 retrieving revision 1.756 diff -u -d -r1.755 -r1.756 --- tabular-data.html 25 Sep 2010 01:23:01 -0000 1.755 +++ tabular-data.html 25 Sep 2010 02:23:42 -0000 1.756 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="the-map-element.html">← 4.8.11 The map element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-iframe-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-iframe-element.html,v retrieving revision 1.229 retrieving revision 1.230 diff -u -d -r1.229 -r1.230 --- the-iframe-element.html 25 Sep 2010 01:23:01 -0000 1.229 +++ the-iframe-element.html 25 Sep 2010 02:23:43 -0000 1.230 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="embedded-content-1.html">← 4.8 Embedded content</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.1118 retrieving revision 1.1119 diff -u -d -r1.1118 -r1.1119 --- Overview.html 25 Sep 2010 01:22:57 -0000 1.1118 +++ Overview.html 25 Sep 2010 02:23:38 -0000 1.1119 @@ -305,7 +305,7 @@ </script><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><link href="style.css" rel="stylesheet"><script src="link-fixup.js"></script><body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></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> <h2 class="no-num no-toc" id="editor-s-draft-25-september-2010">Editor's Draft 25 September 2010</h2> <dl><dt>Latest Published Version:</dt> @@ -325,7 +325,7 @@ <dt>Editors:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </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>, <a href="http://dev.w3.org/html5/spec/">full specification</a>. - This is revision 1.4373.</p> + This is revision 1.4375.</p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Index: association-of-controls-and-forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/association-of-controls-and-forms.html,v retrieving revision 1.209 retrieving revision 1.210 diff -u -d -r1.209 -r1.210 --- association-of-controls-and-forms.html 25 Sep 2010 01:22:57 -0000 1.209 +++ association-of-controls-and-forms.html 25 Sep 2010 02:23:38 -0000 1.210 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="the-button-element.html">← 4.10.8 The button element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: index-of-terms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index-of-terms.html,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- index-of-terms.html 25 Sep 2010 01:22:58 -0000 1.64 +++ index-of-terms.html 25 Sep 2010 02:23:39 -0000 1.65 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="index.html">← Index</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.767 retrieving revision 1.768 diff -u -d -r1.767 -r1.768 --- history.html 25 Sep 2010 01:22:58 -0000 1.767 +++ history.html 25 Sep 2010 02:23:39 -0000 1.768 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="origin-0.html">← 5.3 Origin</a> – <a href="Overview.html#contents">Table of contents</a> – Index: origin-0.html =================================================================== RCS file: /sources/public/html5/spec-author-view/origin-0.html,v retrieving revision 1.189 retrieving revision 1.190 diff -u -d -r1.189 -r1.190 --- origin-0.html 25 Sep 2010 01:22:59 -0000 1.189 +++ origin-0.html 25 Sep 2010 02:23:40 -0000 1.190 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="browsers.html">← 5 Loading Web pages</a> – <a href="Overview.html#contents">Table of contents</a> – Index: common-input-element-attributes.html =================================================================== RCS file: /sources/public/html5/spec-author-view/common-input-element-attributes.html,v retrieving revision 1.217 retrieving revision 1.218 diff -u -d -r1.217 -r1.218 --- common-input-element-attributes.html 25 Sep 2010 01:22:57 -0000 1.217 +++ common-input-element-attributes.html 25 Sep 2010 02:23:38 -0000 1.218 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="number-state.html">← 4.10.7.1.13 Number state</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.772 retrieving revision 1.773 diff -u -d -r1.772 -r1.773 --- dom.html 25 Sep 2010 01:22:57 -0000 1.772 +++ dom.html 25 Sep 2010 02:23:39 -0000 1.773 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="urls.html">← 2.5 URLs</a> – <a href="Overview.html#contents">Table of contents</a> – Index: embedded-content-1.html =================================================================== RCS file: /sources/public/html5/spec-author-view/embedded-content-1.html,v retrieving revision 1.222 retrieving revision 1.223 diff -u -d -r1.222 -r1.223 --- embedded-content-1.html 25 Sep 2010 01:22:58 -0000 1.222 +++ embedded-content-1.html 25 Sep 2010 02:23:39 -0000 1.223 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="edits.html">← 4.7 Edits</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-input-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-input-element.html,v retrieving revision 1.207 retrieving revision 1.208 diff -u -d -r1.207 -r1.208 --- the-input-element.html 25 Sep 2010 01:23:01 -0000 1.207 +++ the-input-element.html 25 Sep 2010 02:23:43 -0000 1.208 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="forms.html">← 4.10 Forms</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.780 retrieving revision 1.781 diff -u -d -r1.780 -r1.781 --- acknowledgements.html 25 Sep 2010 01:22:57 -0000 1.780 +++ acknowledgements.html 25 Sep 2010 02:23:38 -0000 1.781 @@ -307,7 +307,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="references.html">← References</a> – <a href="Overview.html#contents">Table of contents</a> Index: grouping-content.html =================================================================== RCS file: /sources/public/html5/spec-author-view/grouping-content.html,v retrieving revision 1.218 retrieving revision 1.219 diff -u -d -r1.218 -r1.219 --- grouping-content.html 25 Sep 2010 01:22:58 -0000 1.218 +++ grouping-content.html 25 Sep 2010 02:23:39 -0000 1.219 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="sections.html">← 4.4 Sections</a> – <a href="Overview.html#contents">Table of contents</a> – Index: timers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/timers.html,v retrieving revision 1.211 retrieving revision 1.212 diff -u -d -r1.211 -r1.212 --- timers.html 25 Sep 2010 01:23:01 -0000 1.211 +++ timers.html 25 Sep 2010 02:23:43 -0000 1.212 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="webappapis.html">← 6 Web application APIs</a> – <a href="Overview.html#contents">Table of contents</a> – Index: elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/elements.html,v retrieving revision 1.226 retrieving revision 1.227 diff -u -d -r1.226 -r1.227 --- elements.html 25 Sep 2010 01:22:58 -0000 1.226 +++ elements.html 25 Sep 2010 02:23:39 -0000 1.227 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </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: urls.html =================================================================== RCS file: /sources/public/html5/spec-author-view/urls.html,v retrieving revision 1.221 retrieving revision 1.222 diff -u -d -r1.221 -r1.222 --- urls.html 25 Sep 2010 01:23:02 -0000 1.221 +++ urls.html 25 Sep 2010 02:23:43 -0000 1.222 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="common-microsyntaxes.html">← 2.4 Common microsyntaxes</a> – <a href="Overview.html#contents">Table of contents</a> – Index: iana.html =================================================================== RCS file: /sources/public/html5/spec-author-view/iana.html,v retrieving revision 1.217 retrieving revision 1.218 diff -u -d -r1.217 -r1.218 --- iana.html 25 Sep 2010 01:22:58 -0000 1.217 +++ iana.html 25 Sep 2010 02:23:39 -0000 1.218 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="obsolete.html">← 10 Obsolete features</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.762 retrieving revision 1.763 diff -u -d -r1.762 -r1.763 --- forms.html 25 Sep 2010 01:22:58 -0000 1.762 +++ forms.html 25 Sep 2010 02:23:39 -0000 1.763 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </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.763 retrieving revision 1.764 diff -u -d -r1.763 -r1.764 --- interactive-elements.html 25 Sep 2010 01:22:58 -0000 1.763 +++ interactive-elements.html 25 Sep 2010 02:23:39 -0000 1.764 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="association-of-controls-and-forms.html">← 4.10.18 Association of controls and forms</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -369,8 +369,8 @@ used to hide some controls by default:</p> <pre><details> - <summary>Name & Extension:</summary> - <p><input type=text name=fn value="Pillar Magazine.pdf"> + <summary><label for=fn>Name & Extension:</label></summary> + <p><input type=text id=fn name=fn value="Pillar Magazine.pdf"> <p><label><input type=checkbox name=ext checked> Hide extension</label> </details></pre> Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.768 retrieving revision 1.769 diff -u -d -r1.768 -r1.769 --- editing.html 25 Sep 2010 01:22:57 -0000 1.768 +++ editing.html 25 Sep 2010 02:23:39 -0000 1.769 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="timers.html">← 6.2 Timers</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.787 retrieving revision 1.788 diff -u -d -r1.787 -r1.788 --- video.html 25 Sep 2010 01:23:02 -0000 1.787 +++ video.html 25 Sep 2010 02:23:43 -0000 1.788 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="the-iframe-element.html">← 4.8.2 The iframe element</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.778 retrieving revision 1.779 diff -u -d -r1.778 -r1.779 --- browsers.html 25 Sep 2010 01:22:57 -0000 1.778 +++ browsers.html 25 Sep 2010 02:23:38 -0000 1.779 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="links.html">← 4.12 Links</a> – <a href="Overview.html#contents">Table of contents</a> – Index: edits.html =================================================================== RCS file: /sources/public/html5/spec-author-view/edits.html,v retrieving revision 1.204 retrieving revision 1.205 diff -u -d -r1.204 -r1.205 --- edits.html 25 Sep 2010 01:22:58 -0000 1.204 +++ edits.html 25 Sep 2010 02:23:39 -0000 1.205 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</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.745 retrieving revision 1.746 diff -u -d -r1.745 -r1.746 --- the-xhtml-syntax.html 25 Sep 2010 01:23:01 -0000 1.745 +++ the-xhtml-syntax.html 25 Sep 2010 02:23:43 -0000 1.746 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="named-character-references.html">← 8.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.763 retrieving revision 1.764 diff -u -d -r1.763 -r1.764 --- offline.html 25 Sep 2010 01:22:59 -0000 1.763 +++ offline.html 25 Sep 2010 02:23:40 -0000 1.764 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="history.html">← 5.4 Session history and navigation</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -779,7 +779,30 @@ (disconnected from the network). Returns true if the user agent might be online.</p> + <p>The events <code title="event-online"><a class="full-spec-link" href="http://dev.w3.org/html5/spec/offline.html#event-online" title='Read about this "online" reference in the full HTML5 spec.'>online</a></code> and <code title="event-offline"><a class="full-spec-link" href="http://dev.w3.org/html5/spec/offline.html#event-offline" title='Read about this "offline" reference in the full HTML5 spec.'>offline</a></code> are fired when the value of + this attribute changes.</p> + </dd> </dl><p class="note">This attribute is inherently unreliable. A computer - can be connected to a network without having Internet access. \ No newline at end of file + can be connected to a network without having Internet access.<div class="example"> + + <p>In this example, an indicator is updated as the browser goes + online and offline.</p> + + <pre><!DOCTYPE HTML> +<html> + <head> + <title>Online status</title> + <script> + function updateIndicator() { + document.getElementById('indicator').textContext = navigator.onLine ? 'online' : 'offline'; + } + </script> + </head> + <body onload="updateIndicator()" ononline="updateIndicator()" onoffline="updateIndicator()"> + <p>The network is: <span id="indicator">(state unknown)</span> + </body> +</html></pre> + + </div> \ No newline at end of file Index: content-models.html =================================================================== RCS file: /sources/public/html5/spec-author-view/content-models.html,v retrieving revision 1.219 retrieving revision 1.220 diff -u -d -r1.219 -r1.220 --- content-models.html 25 Sep 2010 01:22:57 -0000 1.219 +++ content-models.html 25 Sep 2010 02:23:39 -0000 1.220 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="elements.html">← 3.2 Elements</a> – <a href="Overview.html#contents">Table of contents</a> – Index: states-of-the-type-attribute.html =================================================================== RCS file: /sources/public/html5/spec-author-view/states-of-the-type-attribute.html,v retrieving revision 1.214 retrieving revision 1.215 diff -u -d -r1.214 -r1.215 --- states-of-the-type-attribute.html 25 Sep 2010 01:23:01 -0000 1.214 +++ states-of-the-type-attribute.html 25 Sep 2010 02:23:42 -0000 1.215 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="the-input-element.html">← 4.10.7 The input element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: apis-in-html-documents.html =================================================================== RCS file: /sources/public/html5/spec-author-view/apis-in-html-documents.html,v retrieving revision 1.214 retrieving revision 1.215 diff -u -d -r1.214 -r1.215 --- apis-in-html-documents.html 25 Sep 2010 01:22:57 -0000 1.214 +++ apis-in-html-documents.html 25 Sep 2010 02:23:38 -0000 1.215 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="content-models.html">← 3.2.5 Content models</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.765 retrieving revision 1.766 diff -u -d -r1.765 -r1.766 --- obsolete.html 25 Sep 2010 01:22:59 -0000 1.765 +++ obsolete.html 25 Sep 2010 02:23:40 -0000 1.766 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="the-xhtml-syntax.html">← 9 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.764 retrieving revision 1.765 diff -u -d -r1.764 -r1.765 --- named-character-references.html 25 Sep 2010 01:22:58 -0000 1.764 +++ named-character-references.html 25 Sep 2010 02:23:40 -0000 1.765 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="syntax.html">← 8 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.761 retrieving revision 1.762 diff -u -d -r1.761 -r1.762 --- references.html 25 Sep 2010 01:22:59 -0000 1.761 +++ references.html 25 Sep 2010 02:23:40 -0000 1.762 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="index-of-terms.html">← Index of terms</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.775 retrieving revision 1.776 diff -u -d -r1.775 -r1.776 --- semantics.html 25 Sep 2010 01:22:59 -0000 1.775 +++ semantics.html 25 Sep 2010 02:23:40 -0000 1.776 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="apis-in-html-documents.html">← 3.3 APIs in HTML documents</a> – <a href="Overview.html#contents">Table of contents</a> – Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.778 retrieving revision 1.779 diff -u -d -r1.778 -r1.779 --- index.html 25 Sep 2010 01:22:58 -0000 1.778 +++ index.html 25 Sep 2010 02:23:39 -0000 1.779 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="iana.html">← 11 IANA considerations</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-button-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-button-element.html,v retrieving revision 1.216 retrieving revision 1.217 diff -u -d -r1.216 -r1.217 --- the-button-element.html 25 Sep 2010 01:23:01 -0000 1.216 +++ the-button-element.html 25 Sep 2010 02:23:43 -0000 1.217 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="common-input-element-attributes.html">← 4.10.7.2 Common input element attributes</a> – <a href="Overview.html#contents">Table of contents</a> – Index: dnd.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dnd.html,v retrieving revision 1.213 retrieving revision 1.214 diff -u -d -r1.213 -r1.214 --- dnd.html 25 Sep 2010 01:22:57 -0000 1.213 +++ dnd.html 25 Sep 2010 02:23:39 -0000 1.214 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="editing.html">← 7 User interaction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: links.html =================================================================== RCS file: /sources/public/html5/spec-author-view/links.html,v retrieving revision 1.220 retrieving revision 1.221 diff -u -d -r1.220 -r1.221 --- links.html 25 Sep 2010 01:22:58 -0000 1.220 +++ links.html 25 Sep 2010 02:23:40 -0000 1.221 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="commands.html">← 4.11.5 Commands</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.1143 retrieving revision 1.1144 diff -u -d -r1.1143 -r1.1144 --- spec.html 25 Sep 2010 01:22:59 -0000 1.1143 +++ spec.html 25 Sep 2010 02:23:40 -0000 1.1144 @@ -306,7 +306,7 @@ </script><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><link href="style.css" rel="stylesheet"><script src="link-fixup.js"></script></head><body onload="init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></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> <h2 class="no-num no-toc" id="editor-s-draft-25-september-2010">Editor's Draft 25 September 2010</h2> <dl><dt>Latest Published Version:</dt> @@ -326,7 +326,7 @@ <dt>Editors:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </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>, <a href="http://dev.w3.org/html5/spec/">full specification</a>. - This is revision 1.4373.</p> + This is revision 1.4375.</p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts @@ -18994,8 +18994,8 @@ used to hide some controls by default:</p> <pre><details> - <summary>Name & Extension:</summary> - <p><input type=text name=fn value="Pillar Magazine.pdf"> + <summary><label for=fn>Name & Extension:</label></summary> + <p><input type=text id=fn name=fn value="Pillar Magazine.pdf"> <p><label><input type=checkbox name=ext checked> Hide extension</label> </details></pre> @@ -24280,10 +24280,33 @@ (disconnected from the network). Returns true if the user agent might be online.</p> + <p>The events <code title="event-online"><a href="http://dev.w3.org/html5/spec/offline.html#event-online" class="full-spec-link" title='Read about this "online" reference in the full HTML5 spec.'>online</a></code> and <code title="event-offline"><a href="http://dev.w3.org/html5/spec/offline.html#event-offline" class="full-spec-link" title='Read about this "offline" reference in the full HTML5 spec.'>offline</a></code> are fired when the value of + this attribute changes.</p> + </dd> </dl><p class="note">This attribute is inherently unreliable. A computer - can be connected to a network without having Internet access.</p><h2 id="webappapis"><span class="secno">6 </span>Web application APIs</h2><h3 id="scripting"><span class="secno">6.1 </span>Scripting</h3><h4 id="introduction-4"><span class="secno">6.1.1 </span>Introduction</h4><p>Various mechanisms can cause author-provided executable code to + can be connected to a network without having Internet access.</p><div class="example"> + + <p>In this example, an indicator is updated as the browser goes + online and offline.</p> + + <pre><!DOCTYPE HTML> +<html> + <head> + <title>Online status</title> + <script> + function updateIndicator() { + document.getElementById('indicator').textContext = navigator.onLine ? 'online' : 'offline'; + } + </script> + </head> + <body onload="updateIndicator()" ononline="updateIndicator()" onoffline="updateIndicator()"> + <p>The network is: <span id="indicator">(state unknown)</span> + </body> +</html></pre> + + </div><h2 id="webappapis"><span class="secno">6 </span>Web application APIs</h2><h3 id="scripting"><span class="secno">6.1 </span>Scripting</h3><h4 id="introduction-4"><span class="secno">6.1.1 </span>Introduction</h4><p>Various mechanisms can cause author-provided executable code to run in the context of a document. These mechanisms include, but are probably not limited to:</p><ul><li>Processing of <code><a href="#script" id="script-27">script</a></code> elements.</li> Index: number-state.html =================================================================== RCS file: /sources/public/html5/spec-author-view/number-state.html,v retrieving revision 1.209 retrieving revision 1.210 diff -u -d -r1.209 -r1.210 --- number-state.html 25 Sep 2010 01:22:59 -0000 1.209 +++ number-state.html 25 Sep 2010 02:23:40 -0000 1.210 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="states-of-the-type-attribute.html">← 4.10.7.1 States of the type attribute</a> – <a href="Overview.html#contents">Table of contents</a> – Index: sections.html =================================================================== RCS file: /sources/public/html5/spec-author-view/sections.html,v retrieving revision 1.222 retrieving revision 1.223 diff -u -d -r1.222 -r1.223 --- sections.html 25 Sep 2010 01:22:59 -0000 1.222 +++ sections.html 25 Sep 2010 02:23:40 -0000 1.223 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="scripting-1.html">← 4.3 Scripting</a> – <a href="Overview.html#contents">Table of contents</a> – Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.770 retrieving revision 1.771 diff -u -d -r1.770 -r1.771 --- introduction.html 25 Sep 2010 01:22:58 -0000 1.770 +++ introduction.html 25 Sep 2010 02:23:40 -0000 1.771 @@ -307,7 +307,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="Overview.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a> Index: commands.html =================================================================== RCS file: /sources/public/html5/spec-author-view/commands.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- commands.html 25 Sep 2010 01:22:57 -0000 1.206 +++ commands.html 25 Sep 2010 02:23:38 -0000 1.207 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="Overview.html#contents">Table of contents</a> – Index: common-microsyntaxes.html =================================================================== RCS file: /sources/public/html5/spec-author-view/common-microsyntaxes.html,v retrieving revision 1.211 retrieving revision 1.212 diff -u -d -r1.211 -r1.212 --- common-microsyntaxes.html 25 Sep 2010 01:22:57 -0000 1.211 +++ common-microsyntaxes.html 25 Sep 2010 02:23:39 -0000 1.212 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</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.773 retrieving revision 1.774 diff -u -d -r1.773 -r1.774 --- syntax.html 25 Sep 2010 01:23:01 -0000 1.773 +++ syntax.html 25 Sep 2010 02:23:42 -0000 1.774 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="dnd.html">← 7.9 Drag and drop</a> – <a href="Overview.html#contents">Table of contents</a> – Index: webappapis.html =================================================================== RCS file: /sources/public/html5/spec-author-view/webappapis.html,v retrieving revision 1.193 retrieving revision 1.194 diff -u -d -r1.193 -r1.194 --- webappapis.html 25 Sep 2010 01:23:02 -0000 1.193 +++ webappapis.html 25 Sep 2010 02:23:43 -0000 1.194 @@ -308,7 +308,7 @@ <body onload="fixBrokenLink(); init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></h1> </div><div> <a href="offline.html">← 5.6 Offline Web applications</a> – <a href="Overview.html#contents">Table of contents</a> – Index: spec.preprocessed.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.preprocessed.html,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- spec.preprocessed.html 25 Sep 2010 01:23:01 -0000 1.54 +++ spec.preprocessed.html 25 Sep 2010 02:23:42 -0000 1.55 @@ -314,7 +314,7 @@ </head><body onload="init()"><div class="head" id="head"> <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 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4373</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4375</span></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> <h2 class="no-num no-toc" id="editor-s-draft-25-september-2010">Editor's Draft 25 September 2010</h2> <dl><dt>Latest Published Version:</dt> @@ -334,7 +334,7 @@ <dt>Editors:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </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>, <a href="http://dev.w3.org/html5/spec/">full specification</a>. - This is revision 1.4373.</p> + This is revision 1.4375.</p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts @@ -35846,8 +35846,8 @@ used to hide some controls by default:</p> <pre><details> - <summary>Name & Extension:</summary> - <p><input type=text name=fn value="Pillar Magazine.pdf"> + <summary><label for=fn>Name & Extension:</label></summary> + <p><input type=text id=fn name=fn value="Pillar Magazine.pdf"> <p><label><input type=checkbox name=ext checked> Hide extension</label> </details></pre> @@ -46652,6 +46652,9 @@ (disconnected from the network). Returns true if the user agent might be online.</p> + <p>The events <code title="event-online"><a href="#event-online">online</a></code> and <code title="event-offline"><a href="#event-offline">offline</a></code> are fired when the value of + this attribute changes.</p> + </dd> </dl><div class="impl"> @@ -46679,7 +46682,27 @@ source</a>.</p> </div><p class="note">This attribute is inherently unreliable. A computer - can be connected to a network without having Internet access.</p><h2 id="webappapis"><span class="secno">6 </span>Web application APIs</h2><h3 id="scripting"><span class="secno">6.1 </span>Scripting</h3><h4 id="introduction-4"><span class="secno">6.1.1 </span>Introduction</h4><p>Various mechanisms can cause author-provided executable code to + can be connected to a network without having Internet access.</p><div class="example"> + + <p>In this example, an indicator is updated as the browser goes + online and offline.</p> + + <pre><!DOCTYPE HTML> +<html> + <head> + <title>Online status</title> + <script> + function updateIndicator() { + document.getElementById('indicator').textContext = navigator.onLine ? 'online' : 'offline'; + } + </script> + </head> + <body onload="updateIndicator()" ononline="updateIndicator()" onoffline="updateIndicator()"> + <p>The network is: <span id="indicator">(state unknown)</span> + </body> +</html></pre> + + </div><h2 id="webappapis"><span class="secno">6 </span>Web application APIs</h2><h3 id="scripting"><span class="secno">6.1 </span>Scripting</h3><h4 id="introduction-4"><span class="secno">6.1.1 </span>Introduction</h4><p>Various mechanisms can cause author-provided executable code to run in the context of a document. These mechanisms include, but are probably not limited to:</p><ul><li>Processing of <code><a href="#script">script</a></code> elements.</li>
Received on Saturday, 25 September 2010 02:23:50 UTC