NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 165 - <meter> attributes must fit the inequalities.
<meter> attributes must fit the inequalities.
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-04-20 21:26 CEST by Nobody
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 Nobody 2008-04-20 21:26:52 CEST
Index: source
===================================================================
--- source	(revision 1462)
+++ source	(revision 1463)
@@ -9797,8 +9797,9 @@
   <p><strong>Authoring requirements</strong>: The recommended way of
   giving the value is to include it as contents of the element, either
   as two numbers (the higher number represents the maximum, the other
-  number the current value), or as a percentage or similar (using one
-  of the characters such as "%"), or as a fraction.</p>
+  number the current value, and the minimum is assumed to be zero), or
+  as a percentage or similar (using one of the characters such as
+  "%"), or as a fraction.</p>
 
   <p>The <code title="attr-meter-value">value</code>, <code
   title="attr-meter-min">min</code>, <code
@@ -9808,7 +9809,14 @@
   title="attr-meter-optimum">optimum</code> attributes are all
   optional. When present, they must have values that are <span
   title="valid floating point number">valid floating point
-  numbers</span>.</p>
+  numbers</span>, and their values must satisfy the following
+  inequalities:</p>
+
+  <ul class="brief">
+   <li><code title="attr-meter-min">min</code> &le; <code title="attr-meter-value">value</code> &le; <code title="attr-meter-max">max</code></li>
+   <li><code title="attr-meter-min">min</code> &le; <code title="attr-meter-low">low</code> &le; <code title="attr-meter-high">high</code> &le; <code title="attr-meter-max">max</code></li>
+   <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>
 
   <div class="example">