Bugzilla – Bug 165
<meter> attributes must fit the inequalities.
Last modified: 2009-11-23 17:16:50 CET
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> ≤ <code title="attr-meter-value">value</code> ≤ <code title="attr-meter-max">max</code></li> + <li><code title="attr-meter-min">min</code> ≤ <code title="attr-meter-low">low</code> ≤ <code title="attr-meter-high">high</code> ≤ <code title="attr-meter-max">max</code></li> + <li><code title="attr-meter-min">min</code> ≤ <code title="attr-meter-optimum">optimum</code> ≤ <code title="attr-meter-max">max</code></li> + </ul> <div class="example">