W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2010

html5/2dcontext Overview.html,1.54,1.55

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 02 Aug 2010 22:17:10 +0000
To: public-html-commits@w3.org
Message-Id: <E1Og3Jm-0002AQ-8A@lionel-hutz.w3.org>
Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv8316

Modified Files:
	Overview.html 
Log Message:
Redefine getContext() so that the handling of multple context types is defined. (whatwg r5227)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- Overview.html	30 Jul 2010 01:37:52 -0000	1.54
+++ Overview.html	2 Aug 2010 22:17:08 -0000	1.55
@@ -308,7 +308,7 @@
 
    <h1>HTML Canvas 2D Context</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-30-july-2010">Editor's Draft 30 July 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-2-august-2010">Editor's Draft 2 August 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/2dcontext/">http://www.w3.org/TR/2dcontext/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -403,7 +403,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 30 July 2010 Editor's Draft.
+  This specification is the 2 August 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All
@@ -439,18 +439,13 @@
 <!--end-toc--><hr><h2 id="conformance-requirements"><span class="secno">1 </span>Conformance requirements</h2><p>This specification is an HTML specification. All the conformance
   requirements, conformance classes, definitions, dependencies,
   terminology, and typographical conventions described in the core
-  HTML5 specification apply to this specification. <a href="#refsHTML5">[HTML5]</a><div class="impl">
+  HTML5 specification apply to this specification. <a href="#refsHTML5">[HTML5]</a><p>This specification defines the <dfn id="canvas-context-2d" title="canvas-context-2d"><code>2d</code></dfn> context type, whose
+  API is implemented using the <code><a href="#canvasrenderingcontext2d">CanvasRenderingContext2D</a></code>
+  interface.<div class="impl">
 
-  
   <p>When the <code title="dom-canvas-getContext">getContext()</code>
-  method of a <code>canvas</code> element is invoked with <dfn id="canvas-context-2d" title="canvas-context-2d"><code>2d</code></dfn> as the argument, a
-  <code><a href="#canvasrenderingcontext2d">CanvasRenderingContext2D</a></code> object must be returned.</p>
-  
-
-  <p>There is only one <code><a href="#canvasrenderingcontext2d">CanvasRenderingContext2D</a></code> object
-  per canvas, so calling the <code title="dom-canvas-getContext">getContext()</code> method with the
-  <code title="canvas-context-2d"><a href="#canvas-context-2d">2d</a></code> argument a second time
-  must return the same object.</p>
+  method of a <code>canvas</code> element is is to <span title="getContext-return">return a new object for the <var title="">contextId</var></span> <code title="canvas-context-2d"><a href="#canvas-context-2d">2d</a></code>, the user agent must return a
+  new <code><a href="#canvasrenderingcontext2d">CanvasRenderingContext2D</a></code> object.</p>
 
   </div><p>The 2D context represents a flat Cartesian surface whose origin
   (0,0) is at the top left corner, with the coordinate space having
Received on Monday, 2 August 2010 22:17:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:09:58 UTC