- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 11 Sep 2009 09:57:00 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv30152 Modified Files: Overview.html 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: <canvas> example. (whatwg r3810) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- infrastructure.html 11 Sep 2009 09:36:57 -0000 1.101 +++ infrastructure.html 11 Sep 2009 09:56:57 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="introduction.html">← 1 Introduction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.99 retrieving revision 1.100 diff -u -d -r1.99 -r1.100 --- text-level-semantics.html 11 Sep 2009 09:36:58 -0000 1.99 +++ text-level-semantics.html 11 Sep 2009 09:56:58 -0000 1.100 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="semantics.html">← 4 The elements of HTML</a> – <a href="Overview.html#contents">Table of contents</a> – Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- history.html 11 Sep 2009 09:36:57 -0000 1.101 +++ history.html 11 Sep 2009 09:56:57 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="offline.html">← 6.7 Offline Web applications</a> – <a href="Overview.html#contents">Table of contents</a> – Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- tabular-data.html 11 Sep 2009 09:36:58 -0000 1.100 +++ tabular-data.html 11 Sep 2009 09:56:58 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="the-canvas-element.html">← 4.8.11 The canvas element</a> – <a href="Overview.html#contents">Table of contents</a> – Index: microdata.html =================================================================== RCS file: /sources/public/html5/spec-author-view/microdata.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- microdata.html 11 Sep 2009 09:36:57 -0000 1.100 +++ microdata.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="interactive-elements.html">← 4.11 Interactive elements</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -1917,7 +1917,7 @@ <a href="infrastructure.html#url">URL</a>s are specified.</p> <dd> - </dd></dd></dl><h5 id="examples"><span class="secno">5.4.2.1 </span>Examples</h5><div class="example"> + </dd></dd></dl><h5 id="examples-0"><span class="secno">5.4.2.1 </span>Examples</h5><div class="example"> <p>Here is a long example <code title="md-vcard"><a href="#md-vcard">vcard</a></code> for a fictional character called "Jack Bauer":</p> @@ -2503,7 +2503,7 @@ </ul></li> - </ol><h5 id="examples-0"><span class="secno">5.4.3.1 </span>Examples</h5><!-- get more from http://www.ietf.org/rfc/rfc2445.txt --><div class="example"> + </ol><h5 id="examples-1"><span class="secno">5.4.3.1 </span>Examples</h5><!-- get more from http://www.ietf.org/rfc/rfc2445.txt --><div class="example"> <p>Here is an example of a page that uses the <code title="md-vevent"><a href="#md-vevent">vevent</a></code> vocabulary to mark up an event:</p> @@ -2628,7 +2628,7 @@ </dd> </dl><p>In addition, exactly one property with the name <code title="md-about"><a href="#md-about">about</a></code> must be present within each <a href="#concept-item" title="concept-item">item</a> with the type <code title="md-work"><a href="#md-work">work</a></code>, giving the <a href="infrastructure.html#url">URL</a> of the - work.</p><h5 id="examples-1"><span class="secno">5.4.4.1 </span>Examples</h5><div class="example"> + work.</p><h5 id="examples-2"><span class="secno">5.4.4.1 </span>Examples</h5><div class="example"> <p>This example shows an embedded image entitled <cite>My Pond</cite>, licensed under the Creative Commons Attribution-Share Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- Overview.html 11 Sep 2009 09:36:57 -0000 1.100 +++ Overview.html 11 Sep 2009 09:56:56 -0000 1.101 @@ -199,7 +199,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.2978. +This is revision 1.2979. </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 @@ -529,7 +529,8 @@ <li><a href="the-canvas-element.html#complex-shapes-paths"><span class="secno">4.8.11.1.8 </span>Complex shapes (paths)</a></li> <li><a href="the-canvas-element.html#text"><span class="secno">4.8.11.1.9 </span>Text</a></li> <li><a href="the-canvas-element.html#images"><span class="secno">4.8.11.1.10 </span>Images</a></li> - <li><a href="the-canvas-element.html#pixel-manipulation"><span class="secno">4.8.11.1.11 </span>Pixel manipulation</a></li></ol></li></ol></li> + <li><a href="the-canvas-element.html#pixel-manipulation"><span class="secno">4.8.11.1.11 </span>Pixel manipulation</a></li> + <li><a href="the-canvas-element.html#examples"><span class="secno">4.8.11.1.12 </span>Examples</a></li></ol></li></ol></li> <li><a href="the-canvas-element.html#the-map-element"><span class="secno">4.8.12 </span>The <code>map</code> element</a></li> <li><a href="the-canvas-element.html#the-area-element"><span class="secno">4.8.13 </span>The <code>area</code> element</a></li> <li><a href="the-canvas-element.html#image-maps"><span class="secno">4.8.14 </span>Image maps</a></li> @@ -636,11 +637,11 @@ <li><a href="microdata.html#predefined-vocabularies-0"><span class="secno">5.4 </span>Predefined vocabularies</a> <ol><li><a href="microdata.html#general"><span class="secno">5.4.1 </span>General</a></li> <li><a href="microdata.html#vcard"><span class="secno">5.4.2 </span>vCard</a> - <ol><li><a href="microdata.html#examples"><span class="secno">5.4.2.1 </span>Examples</a></li></ol></li> + <ol><li><a href="microdata.html#examples-0"><span class="secno">5.4.2.1 </span>Examples</a></li></ol></li> <li><a href="microdata.html#vevent"><span class="secno">5.4.3 </span>vEvent</a> - <ol><li><a href="microdata.html#examples-0"><span class="secno">5.4.3.1 </span>Examples</a></li></ol></li> + <ol><li><a href="microdata.html#examples-1"><span class="secno">5.4.3.1 </span>Examples</a></li></ol></li> <li><a href="microdata.html#licensing-works"><span class="secno">5.4.4 </span>Licensing works</a> - <ol><li><a href="microdata.html#examples-1"><span class="secno">5.4.4.1 </span>Examples</a></li></ol></li></ol></li></ol></li> + <ol><li><a href="microdata.html#examples-2"><span class="secno">5.4.4.1 </span>Examples</a></li></ol></li></ol></li></ol></li> <li><a href="browsers.html#browsers"><span class="secno">6 </span>Web browsers</a> <ol><li><a href="browsers.html#windows"><span class="secno">6.1 </span>Browsing contexts</a> <ol><li><a href="browsers.html#nested-browsing-contexts"><span class="secno">6.1.1 </span>Nested browsing contexts</a> Index: embedded-content-0.html =================================================================== RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- embedded-content-0.html 11 Sep 2009 09:36:57 -0000 1.100 +++ embedded-content-0.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="dom.html">← 3 Semantics, structure, and APIs of HTML documents</a> – <a href="Overview.html#contents">Table of contents</a> – Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- dom.html 11 Sep 2009 09:36:57 -0000 1.101 +++ dom.html 11 Sep 2009 09:56:56 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="infrastructure.html">← 2 Common infrastructure</a> – <a href="Overview.html#contents">Table of contents</a> – Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- acknowledgements.html 11 Sep 2009 09:36:57 -0000 1.100 +++ acknowledgements.html 11 Sep 2009 09:56:56 -0000 1.101 @@ -176,7 +176,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="references.html">← References</a> – <a href="Overview.html#contents">Table of contents</a> Index: the-canvas-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- the-canvas-element.html 11 Sep 2009 09:36:58 -0000 1.100 +++ the-canvas-element.html 11 Sep 2009 09:56:58 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="video.html">← 4.8.7 The video element</a> – <a href="Overview.html#contents">Table of contents</a> – @@ -1221,7 +1221,49 @@ </body> </html></pre> - </div><h4 id="the-map-element"><span class="secno">4.8.12 </span>The <dfn><code>map</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><h6 id="examples"><span class="secno">4.8.11.1.12 </span>Examples</h6><p><i>This section is non-normative.</i></p><p>Here is an example of a script that uses canvas to draw pretty + glowing lines.</p> + + <pre><canvas width="800" height="450"></canvas> +<script> + + var context = document.getElementsByTagName('canvas')[0].getContext('2d'); + + var lastX = context.canvas.width * Math.random(); + var lastY = context.canvas.height * Math.random(); + var hue = 0; + function line() { + context.save(); + context.translate(context.canvas.width/2, context.canvas.height/2); + context.scale(0.9, 0.9); + context.translate(-context.canvas.width/2, -context.canvas.height/2); + context.beginPath(); + context.lineWidth = 5 + Math.random() * 10; + context.moveTo(lastX, lastY); + lastX = context.canvas.width * Math.random(); + lastY = context.canvas.height * Math.random(); + context.bezierCurveTo(context.canvas.width * Math.random(), + context.canvas.height * Math.random(), + context.canvas.width * Math.random(), + context.canvas.height * Math.random(), + lastX, lastY); + + hue = hue + 10 * Math.random(); + context.strokeStyle = 'hsl(' + hue + ', 50%, 50%)'; + context.shadowColor = 'white'; + context.shadowBlur = 10; + context.stroke(); + context.restore(); + } + setInterval(line, 50); + + function blank() { + context.fillStyle = 'rgba(0,0,0,0.1)'; + context.fillRect(0, 0, context.canvas.width, context.canvas.height); + } + setInterval(blank, 40); + +</script><h4 id="the-map-element"><span class="secno">4.8.12 </span>The <dfn><code>map</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt> <dd><a href="dom.html#flow-content">Flow content</a>.</dd> <dd>When the element only contains <a href="dom.html#phrasing-content">phrasing content</a>: <a href="dom.html#phrasing-content">phrasing content</a>.</dd> <dt>Contexts in which this element may be used:</dt> Index: iana-considerations.html =================================================================== RCS file: /sources/public/html5/spec-author-view/iana-considerations.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- iana-considerations.html 11 Sep 2009 09:36:57 -0000 1.100 +++ iana-considerations.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="no.html">← 12 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="Overview.html#contents">Table of contents</a> – Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- forms.html 11 Sep 2009 09:36:57 -0000 1.100 +++ forms.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="tabular-data.html">← 4.9 Tabular data</a> – <a href="Overview.html#contents">Table of contents</a> – Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- interactive-elements.html 11 Sep 2009 09:36:57 -0000 1.100 +++ interactive-elements.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="forms.html">← 4.10 Forms</a> – <a href="Overview.html#contents">Table of contents</a> – Index: editing.html =================================================================== RCS file: /sources/public/html5/spec-author-view/editing.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- editing.html 11 Sep 2009 09:36:57 -0000 1.100 +++ editing.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="history.html">← 6.8 Session history and navigation</a> – <a href="Overview.html#contents">Table of contents</a> – Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- video.html 11 Sep 2009 09:36:58 -0000 1.100 +++ video.html 11 Sep 2009 09:56:58 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="text-level-semantics.html">← 4.6 Text-level semantics</a> – <a href="Overview.html#contents">Table of contents</a> – Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- browsers.html 11 Sep 2009 09:36:57 -0000 1.101 +++ browsers.html 11 Sep 2009 09:56:56 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="microdata.html">← 5 Microdata</a> – <a href="Overview.html#contents">Table of contents</a> – Index: the-xhtml-syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v retrieving revision 1.99 retrieving revision 1.100 diff -u -d -r1.99 -r1.100 --- the-xhtml-syntax.html 11 Sep 2009 09:36:58 -0000 1.99 +++ the-xhtml-syntax.html 11 Sep 2009 09:56:58 -0000 1.100 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="named-character-references.html">← 9.2 Named character references</a> – <a href="Overview.html#contents">Table of contents</a> – Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- offline.html 11 Sep 2009 09:36:57 -0000 1.100 +++ offline.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="browsers.html">← 6 Web browsers</a> – <a href="Overview.html#contents">Table of contents</a> – Index: syntax.html =================================================================== RCS file: /sources/public/html5/spec-author-view/syntax.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- syntax.html 11 Sep 2009 09:36:58 -0000 1.101 +++ syntax.html 11 Sep 2009 09:56:58 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="comms.html">← 8 Communication</a> – <a href="Overview.html#contents">Table of contents</a> – Index: obsolete.html =================================================================== RCS file: /sources/public/html5/spec-author-view/obsolete.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- obsolete.html 11 Sep 2009 09:36:57 -0000 1.101 +++ obsolete.html 11 Sep 2009 09:56:57 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="the-xhtml-syntax.html">← 10 The XHTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: named-character-references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- named-character-references.html 11 Sep 2009 09:36:57 -0000 1.101 +++ named-character-references.html 11 Sep 2009 09:56:57 -0000 1.102 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="syntax.html">← 9 The HTML syntax</a> – <a href="Overview.html#contents">Table of contents</a> – Index: references.html =================================================================== RCS file: /sources/public/html5/spec-author-view/references.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- references.html 11 Sep 2009 09:36:57 -0000 1.100 +++ references.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="index.html">← Index</a> – <a href="Overview.html#contents">Table of contents</a> – Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- semantics.html 11 Sep 2009 09:36:57 -0000 1.100 +++ semantics.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="embedded-content-0.html">← 3.2.5.1.6 Embedded content</a> – <a href="Overview.html#contents">Table of contents</a> – Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- index.html 11 Sep 2009 09:36:57 -0000 1.100 +++ index.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="iana-considerations.html">← IANA considerations</a> – <a href="Overview.html#contents">Table of contents</a> – Index: comms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/comms.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- comms.html 11 Sep 2009 09:36:57 -0000 1.100 +++ comms.html 11 Sep 2009 09:56:56 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="editing.html">← 7 User Interaction</a> – <a href="Overview.html#contents">Table of contents</a> – Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- spec.html 11 Sep 2009 09:36:57 -0000 1.101 +++ spec.html 11 Sep 2009 09:56:57 -0000 1.102 @@ -197,7 +197,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.2978. +This is revision 1.2979. </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 @@ -565,7 +565,8 @@ <li><a href=#complex-shapes-paths><span class=secno>4.8.11.1.8 </span>Complex shapes (paths)</a></li> <li><a href=#text><span class=secno>4.8.11.1.9 </span>Text</a></li> <li><a href=#images><span class=secno>4.8.11.1.10 </span>Images</a></li> - <li><a href=#pixel-manipulation><span class=secno>4.8.11.1.11 </span>Pixel manipulation</a></li></ol></li></ol></li> + <li><a href=#pixel-manipulation><span class=secno>4.8.11.1.11 </span>Pixel manipulation</a></li> + <li><a href=#examples><span class=secno>4.8.11.1.12 </span>Examples</a></li></ol></li></ol></li> <li><a href=#the-map-element><span class=secno>4.8.12 </span>The <code>map</code> element</a></li> <li><a href=#the-area-element><span class=secno>4.8.13 </span>The <code>area</code> element</a></li> <li><a href=#image-maps><span class=secno>4.8.14 </span>Image maps</a></li> @@ -687,13 +688,13 @@ <li><a href=#general><span class=secno>5.4.1 </span>General</a></li> <li><a href=#vcard><span class=secno>5.4.2 </span>vCard</a> <ol> - <li><a href=#examples><span class=secno>5.4.2.1 </span>Examples</a></li></ol></li> + <li><a href=#examples-0><span class=secno>5.4.2.1 </span>Examples</a></li></ol></li> <li><a href=#vevent><span class=secno>5.4.3 </span>vEvent</a> <ol> - <li><a href=#examples-0><span class=secno>5.4.3.1 </span>Examples</a></li></ol></li> + <li><a href=#examples-1><span class=secno>5.4.3.1 </span>Examples</a></li></ol></li> <li><a href=#licensing-works><span class=secno>5.4.4 </span>Licensing works</a> <ol> - <li><a href=#examples-1><span class=secno>5.4.4.1 </span>Examples</a></li></ol></li></ol></li></ol></li> + <li><a href=#examples-2><span class=secno>5.4.4.1 </span>Examples</a></li></ol></li></ol></li></ol></li> <li><a href=#browsers><span class=secno>6 </span>Web browsers</a> <ol> <li><a href=#windows><span class=secno>6.1 </span>Browsing contexts</a> @@ -12176,7 +12177,49 @@ </body> </html></pre> - </div><h4 id=the-map-element><span class=secno>4.8.12 </span>The <dfn><code>map</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><h6 id=examples><span class=secno>4.8.11.1.12 </span>Examples</h6><p><i>This section is non-normative.</i></p><p>Here is an example of a script that uses canvas to draw pretty + glowing lines.</p> + + <pre><canvas width="800" height="450"></canvas> +<script> + + var context = document.getElementsByTagName('canvas')[0].getContext('2d'); + + var lastX = context.canvas.width * Math.random(); + var lastY = context.canvas.height * Math.random(); + var hue = 0; + function line() { + context.save(); + context.translate(context.canvas.width/2, context.canvas.height/2); + context.scale(0.9, 0.9); + context.translate(-context.canvas.width/2, -context.canvas.height/2); + context.beginPath(); + context.lineWidth = 5 + Math.random() * 10; + context.moveTo(lastX, lastY); + lastX = context.canvas.width * Math.random(); + lastY = context.canvas.height * Math.random(); + context.bezierCurveTo(context.canvas.width * Math.random(), + context.canvas.height * Math.random(), + context.canvas.width * Math.random(), + context.canvas.height * Math.random(), + lastX, lastY); + + hue = hue + 10 * Math.random(); + context.strokeStyle = 'hsl(' + hue + ', 50%, 50%)'; + context.shadowColor = 'white'; + context.shadowBlur = 10; + context.stroke(); + context.restore(); + } + setInterval(line, 50); + + function blank() { + context.fillStyle = 'rgba(0,0,0,0.1)'; + context.fillRect(0, 0, context.canvas.width, context.canvas.height); + } + setInterval(blank, 40); + +</script><h4 id=the-map-element><span class=secno>4.8.12 </span>The <dfn><code>map</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class=element><dt>Categories</dt> <dd><a href=#flow-content>Flow content</a>.</dd> <dd>When the element only contains <a href=#phrasing-content>phrasing content</a>: <a href=#phrasing-content>phrasing content</a>.</dd> <dt>Contexts in which this element may be used:</dt> @@ -20859,7 +20902,7 @@ <a href=#url>URL</a>s are specified.</p> <dd> - </dd></dd></dl><h5 id=examples><span class=secno>5.4.2.1 </span>Examples</h5><div class=example> + </dd></dd></dl><h5 id=examples-0><span class=secno>5.4.2.1 </span>Examples</h5><div class=example> <p>Here is a long example <code title=md-vcard><a href=#md-vcard>vcard</a></code> for a fictional character called "Jack Bauer":</p> @@ -21445,7 +21488,7 @@ </ul></li> - </ol><h5 id=examples-0><span class=secno>5.4.3.1 </span>Examples</h5><!-- get more from http://www.ietf.org/rfc/rfc2445.txt --><div class=example> + </ol><h5 id=examples-1><span class=secno>5.4.3.1 </span>Examples</h5><!-- get more from http://www.ietf.org/rfc/rfc2445.txt --><div class=example> <p>Here is an example of a page that uses the <code title=md-vevent><a href=#md-vevent>vevent</a></code> vocabulary to mark up an event:</p> @@ -21570,7 +21613,7 @@ </dd> </dl><p>In addition, exactly one property with the name <code title=md-about><a href=#md-about>about</a></code> must be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-work><a href=#md-work>work</a></code>, giving the <a href=#url>URL</a> of the - work.</p><h5 id=examples-1><span class=secno>5.4.4.1 </span>Examples</h5><div class=example> + work.</p><h5 id=examples-2><span class=secno>5.4.4.1 </span>Examples</h5><div class=example> <p>This example shows an embedded image entitled <cite>My Pond</cite>, licensed under the Creative Commons Attribution-Share Index: introduction.html =================================================================== RCS file: /sources/public/html5/spec-author-view/introduction.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- introduction.html 11 Sep 2009 09:36:57 -0000 1.101 +++ introduction.html 11 Sep 2009 09:56:57 -0000 1.102 @@ -176,7 +176,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="Overview.html#contents">Table of contents</a> – <a href="infrastructure.html">2 Common infrastructure →</a> Index: no.html =================================================================== RCS file: /sources/public/html5/spec-author-view/no.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- no.html 11 Sep 2009 09:36:57 -0000 1.100 +++ no.html 11 Sep 2009 09:56:57 -0000 1.101 @@ -177,7 +177,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.2978.</p> +<p>This is revision 1.2979.</p> </div><div> <a href="obsolete.html">← 11 Obsolete features</a> – <a href="Overview.html#contents">Table of contents</a> –
Received on Friday, 11 September 2009 09:57:11 UTC