NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 289 - Require all <meter> elements to have _some_ value. (Subject: meter and document conformance) (credit: hs)
Require all <meter> elements to have _some_ value. (Subject: meter and docume...
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: Non-schema checkers
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-21 15:43 CEST by Henri Sivonen
Modified: 2009-11-23 17:16 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-08-21 15:43:03 CEST
Index: source
===================================================================
--- source	(revision 2052)
+++ source	(revision 2053)
@@ -11885,6 +11885,15 @@
    <li><code title="attr-meter-min">min</code> &le; <code title="attr-meter-optimum">optimum</code> &le; <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