- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 27 Aug 2010 04:16:54 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv4349
Modified Files:
Overview.html
Log Message:
Explicitly call out what happens when the maxWidth is <= 0. (whatwg r5370)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- Overview.html 24 Aug 2010 23:58:32 -0000 1.65
+++ Overview.html 27 Aug 2010 04:16:52 -0000 1.66
@@ -311,7 +311,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-24-august-2010">Editor's Draft 24 August 2010</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-27-august-2010">Editor's Draft 27 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>
@@ -406,7 +406,7 @@
Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation
track.
- This specification is the 24 August 2010 Editor's Draft.
+ This specification is the 27 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
@@ -2300,7 +2300,11 @@
values. Specifically, when the methods are called, the user agent
must run the following steps:</p>
- <ol><li><p>Let <var title="">font</var> be the current font of the
+ <ol><li><p>If <var title="">maxWidth</var> is present but less than or
+ equal to zero, return without doing anything; abort these
+ steps.</li>
+
+ <li><p>Let <var title="">font</var> be the current font of the
context, as given by the <code title="dom-context-2d-font"><a href="#dom-context-2d-font">font</a></code> attribute.</li>
<li><p>Replace all the <span title="space character">space
@@ -2451,6 +2455,10 @@
<ol>
+ <li><p>If <var title="">maxHeight</var> is present but less than or
+ equal to zero, return without doing anything; abort these
+ steps.</p></li>
+
<li><p>Let <var title="">font</var> be the current font of the
context, as given by the <code
title="dom-context-2d-font">font</code> attribute.</p></li>
Received on Friday, 27 August 2010 04:16:58 UTC