Permalink
Browse files

[e] (0) clarify how to make a determinate and indeterminate progress bar

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12119

git-svn-id: http://svn.whatwg.org/webapps@6066 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 469726e commit 6890ceb144ae12c2a76ce81eeda23c3e945632bb @Hixie Hixie committed May 4, 2011
Showing with 19 additions and 0 deletions.
  1. +5 −0 complete.html
  2. +5 −0 index
  3. +9 −0 source
View
5 complete.html
@@ -49021,6 +49021,11 @@ <h4 id=the-progress-element><span class=secno>4.10.16 </span>The <dfn><code>prog
how much work the task requires in total. The units are arbitrary
and not specified.</p>
+ <p class=note>To make an determinate progress bar, add a <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute with the current
+ progress (either a number from 0.0 to 1.0, or, if the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute is specified, a
+ number from 0 to the value of the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute. To make an
+ indeterminate progress bar, remove the <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute.</p>
+
<p>Authors are encouraged to also include the current value and the
maximum value inline as text inside the element, so that the
progress is made available to users of legacy user agents.</p>
View
5 index
@@ -49049,6 +49049,11 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
how much work the task requires in total. The units are arbitrary
and not specified.</p>
+ <p class=note>To make an determinate progress bar, add a <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute with the current
+ progress (either a number from 0.0 to 1.0, or, if the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute is specified, a
+ number from 0 to the value of the <code title=attr-progress-max><a href=#attr-progress-max>max</a></code> attribute. To make an
+ indeterminate progress bar, remove the <code title=attr-progress-value><a href=#attr-progress-value>value</a></code> attribute.</p>
+
<p>Authors are encouraged to also include the current value and the
maximum value inline as text inside the element, so that the
progress is made available to users of legacy user agents.</p>
View
9 source
@@ -55142,6 +55142,15 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
how much work the task requires in total. The units are arbitrary
and not specified.</p>
+ <p class="note">To make an determinate progress bar, add a <code
+ title="attr-progress-value">value</code> attribute with the current
+ progress (either a number from 0.0 to 1.0, or, if the <code
+ title="attr-progress-max">max</code> attribute is specified, a
+ number from 0 to the value of the <code
+ title="attr-progress-max">max</code> attribute. To make an
+ indeterminate progress bar, remove the <code
+ title="attr-progress-value">value</code> attribute.</p>
+
<p>Authors are encouraged to also include the current value and the
maximum value inline as text inside the element, so that the
progress is made available to users of legacy user agents.</p>

0 comments on commit 6890ceb

Please sign in to comment.