HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6066

File a bug

SVNBugCommentTime (UTC)
606612119clarify how to make a determinate and indeterminate progress bar2011-05-04 22:15
Index: source
===================================================================
--- source	(revision 6065)
+++ source	(revision 6066)
@@ -55142,6 +55142,15 @@
   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>

|