Closed
Bug 642667
Opened 14 years ago
Closed 14 years ago
Let authors set the progress bar's width when in indeterminate state
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: mounir, Assigned: mounir)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
6.87 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
Authors can't set the width of progress::-moz-progress-bar but should when the progress bar is in indeterminate state.
Attachment #520095 -
Flags: review?(dbaron)
Assignee | ||
Updated•14 years ago
|
Summary: Let authors to set the progress bar's width when in indeterminate state → Let authors set the progress bar's width when in indeterminate state
Assignee | ||
Comment 1•14 years ago
|
||
I forgot to write tests.
Attachment #520095 -
Attachment is obsolete: true
Attachment #520095 -
Flags: review?(dbaron)
Attachment #520101 -
Flags: review?(dbaron)
Why should authors be able to set the width in this particular case?
Assignee | ||
Comment 3•14 years ago
|
||
The answer is in the reason why I chose to forbid width change in the other case: if <progress> is determinate, the bar width is known and we want to prevent the author to change it. Otherwise, there is no reason why the author should be forbidden to change it and we can imagine that some authors might want to animate the bar a la GTK (width=20% bouncing on each side) and some others might want to do it a la MacOS or Windows (width=100% with an internal animation).
Assignee | ||
Comment 4•14 years ago
|
||
We are close to have <progress> ready to be pushed (and thus being in the FF6 train). Do you think you can review that patch soon?
Assignee | ||
Comment 5•14 years ago
|
||
CCing Boris in case of he wants to review it (the code part is only a few lines).
Comment on attachment 520101 [details] [diff] [review]
Patch v1.1
>- if (position >= 0.0f) {
>+ if (position >= 0.0) {
Could you put this in progress-layout.patch where it belongs? (It's relatively easy to do by just editing the patches and then qref-ing the one that, as a result, ends up with the + and - lines the same. Just qcommit first in case you mess up...)
r=dbaron, though I think I made some comments on the code that you're indenting when reviewing one of the patches underneath.
Attachment #520101 -
Flags: review?(dbaron) → review+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs review] → [ready to land][waits for dependencies]
Assignee | ||
Comment 7•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [ready to land][waits for dependencies]
Target Milestone: --- → mozilla6
Comment 8•14 years ago
|
||
Backed out in http://hg.mozilla.org/mozilla-central/rev/dd9ba28d2bd9 to resolve bug 655860.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•14 years ago
|
||
The regression wasn't caused by these patches. Re-landed:
http://hg.mozilla.org/mozilla-central/rev/b5cdf8677461
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 10•14 years ago
|
||
I'm undecided on whether or not this really needs specific documentation, given that it's a behavior change to a behavior that was never written about in the first place. It seems to me that the new behavior is what people would expect in the first place.
Is there any specific reason this needs to be called out expressly?
Assignee | ||
Comment 11•14 years ago
|
||
(In reply to comment #10)
> I'm undecided on whether or not this really needs specific documentation,
> given that it's a behavior change to a behavior that was never written about
> in the first place. It seems to me that the new behavior is what people
> would expect in the first place.
>
> Is there any specific reason this needs to be called out expressly?
I thought that mentioning that in the :-moz-progress-bar doc would have been good. Though, if you don't think so, I'm fine with that.
Comment 12•13 years ago
|
||
This is subtly mentioned in:
https://developer.mozilla.org/en/CSS/::-moz-progress-bar
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•