W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/spec Overview.html,1.4870,1.4871

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 04 May 2011 22:15:45 +0000
To: public-html-commits@w3.org
Message-Id: <E1QHkMD-0001vQ-B2@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7378

Modified Files:
Log Message:
clarify how to make a determinate and indeterminate progress bar (whatwg r6066)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4870
retrieving revision 1.4871
diff -u -d -r1.4870 -r1.4871
--- Overview.html	4 May 2011 22:11:39 -0000	1.4870
+++ Overview.html	4 May 2011 22:15:41 -0000	1.4871
@@ -37400,7 +37400,10 @@
   completion represented by the element. The <dfn id="attr-progress-value" title="attr-progress-value"><code>value</code></dfn> attribute
   specifies how much of the task has been completed, and the <dfn id="attr-progress-max" title="attr-progress-max"><code>max</code></dfn> attribute specifies
   how much work the task requires in total. The units are arbitrary
-  and not specified.<p>Authors are encouraged to also include the current value and the
+  and not specified.<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>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.<div class="example">
    <p>Here is a snippet of a Web application that shows the progress
Received on Wednesday, 4 May 2011 22:15:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:10:27 UTC