[html5] r2053 - [ac] (0) Require all <meter> elements to have _some_ value. (Subject: meter and [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 11 17:53:43 PDT 2008


Author: ianh
Date: 2008-08-11 17:53:42 -0700 (Mon, 11 Aug 2008)
New Revision: 2053

Modified:
   index
   source
Log:
[ac] (0) Require all <meter> elements to have _some_ value. (Subject: meter and document conformance) (credit: hs)

Modified: index
===================================================================
--- index	2008-08-12 00:33:46 UTC (rev 2052)
+++ index	2008-08-12 00:53:42 UTC (rev 2053)
@@ -14249,6 +14249,14 @@
     title=attr-meter-max><a href="#max1">max</a></code>
   </ul>
 
+  <p>All <code><a href="#meter">meter</a></code> elements must have a value
+   specified somehow, either using the <code title=attr-meter-value><a
+   href="#value3">value</a></code> attribute or by including a number in the
+   contents of the element.
+
+  <p class=note>If no minimum or maximum is specified, then the range is
+   assumed to be 0..1, and the value thus has to be within that range.
+
   <div class=example>
    <p>The following examples all represent a measurement of three quarters
     (of the maximum of whatever is being measured):</p>

Modified: source
===================================================================
--- source	2008-08-12 00:33:46 UTC (rev 2052)
+++ source	2008-08-12 00:53:42 UTC (rev 2053)
@@ -11885,6 +11885,15 @@
    <li><code title="attr-meter-min">min</code> ≤ <code title="attr-meter-optimum">optimum</code> ≤ <code title="attr-meter-max">max</code></li>
   </ul>
 
+  <p>All <code>meter</code> elements must have a value specified
+  somehow, either using the <code
+  title="attr-meter-value">value</code> attribute or by including a
+  number in the contents of the element.</p>
+
+  <p class="note">If no minimum or maximum is specified, then the
+  range is assumed to be 0..1, and the value thus has to be within
+  that range.</p>
+
   <div class="example">
 
    <p>The following examples all represent a measurement of three




More information about the Commit-Watchers mailing list