Skip to content

Commit

Permalink
[e] (0) clarify how to make a determinate and indeterminate progress bar
Browse files Browse the repository at this point in the history
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
Hixie committed May 4, 2011
1 parent 469726e commit 6890ceb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions complete.html
Expand Up @@ -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>
Expand Down
5 changes: 5 additions & 0 deletions index
Expand Up @@ -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>
Expand Down
9 changes: 9 additions & 0 deletions source
Expand Up @@ -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>
Expand Down

0 comments on commit 6890ceb

Please sign in to comment.