[Bug 12119] This section is not clear about how to make a progress element transition from determinate to indeterminate. As written, it sounds as if I'd have to call removeAttribute('value') to make it go into indeterminate mode. But I suspect that the intent is th

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

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-02-18 17:12:35 UTC ---
No, to make an indeterminate progress bar you must remove the @value attribute.

Relevant spec quote:
> Otherwise, if parsing the value attribute's
> value resulted in an error, or a number less
> than or equal to zero, then the current value
> of the progress bar is zero.

This clause is triggered by setting @value to -1 - it just makes the value 0.

The -1 returned by the .position and .value properties just indicate that the
progress bar is incapable of returning a valid number for either of these right
now.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 18 February 2011 17:12:37 UTC