[html5] r5370 - [e] (0) Explicitly call out what happens when the maxWidth is <= 0. Fixing http: [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 26 21:16:49 PDT 2010


Author: ianh
Date: 2010-08-26 21:16:47 -0700 (Thu, 26 Aug 2010)
New Revision: 5370

Modified:
   complete.html
   index
   source
Log:
[e] (0) Explicitly call out what happens when the maxWidth is <= 0.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9866

Modified: complete.html
===================================================================
--- complete.html	2010-08-27 04:07:31 UTC (rev 5369)
+++ complete.html	2010-08-27 04:16:47 UTC (rev 5370)
@@ -32103,7 +32103,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 <a href=#space-character title="space character">space
@@ -32254,6 +32258,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>

Modified: index
===================================================================
--- index	2010-08-27 04:07:31 UTC (rev 5369)
+++ index	2010-08-27 04:16:47 UTC (rev 5370)
@@ -32028,7 +32028,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 <a href=#space-character title="space character">space
@@ -32179,6 +32183,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>

Modified: source
===================================================================
--- source	2010-08-27 04:07:31 UTC (rev 5369)
+++ source	2010-08-27 04:16:47 UTC (rev 5370)
@@ -35319,6 +35319,10 @@
 
   <ol>
 
+   <li><p>If <var title="">maxWidth</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>
@@ -35519,6 +35523,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>




More information about the Commit-Watchers mailing list