Closed
Bug 633913
Opened 14 years ago
Closed 14 years ago
Add a pseudo-class to access indeterminate <progress> elements
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: mounir, Assigned: mounir)
References
Details
(Keywords: dev-doc-complete, html5)
Attachments
(1 file, 1 obsolete file)
5.74 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
According to the specs, a progress element can be indeterminate. It might be interesting to let the authors access indeterminate progress elements given that they might want to style them differently.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #512129 -
Flags: review?(jonas)
Comment 2•14 years ago
|
||
For what it's worth, this is going to conflict with the various patches in bug 313351, and bug 598833. I can handle merging if this lands first, I guess, but just wanted to give you a heads-up.
Comment 3•14 years ago
|
||
And wait. Why do you need that AfterSetAttr gunk?
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3)
> And wait. Why do you need that AfterSetAttr gunk?
Eh, I don't indeed: indeterminate state only depends on one attribute's value. This should make the merge issue smaller. Thanks for the noticing ;)
Assignee | ||
Comment 5•14 years ago
|
||
Updated patch. Boris, you won the right to review it :)
Attachment #512129 -
Attachment is obsolete: true
Attachment #512147 -
Flags: review?(bzbarsky)
Attachment #512129 -
Flags: review?(jonas)
Comment 6•14 years ago
|
||
Comment on attachment 512147 [details] [diff] [review]
Patch v1.1
s/determinated/determined/ and looks good. And yeah, now you're only conflicting with code I haven't written yet. ;)
Attachment #512147 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [can land][post-2.0]
Assignee | ||
Updated•14 years ago
|
Whiteboard: [can land][post-2.0]
Assignee | ||
Updated•14 years ago
|
Whiteboard: [ready to land][waits for dependencies]
Assignee | ||
Comment 7•14 years ago
|
||
I wonder if we shouldn't use :-moz-indeterminate instead of :indeterminate here.
Assignee | ||
Comment 8•14 years ago
|
||
I've open a bug against HTML specs to have it specified:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12210
Though, I should probably send an email somewhere to ask for a better specification of the indeterminate pseudo-class in CSS. I wonder if CSS3-UI couldn't simply override what Selectors say (it doesn't really say anything actually, the only specs is a Note....).
Assignee | ||
Comment 9•14 years ago
|
||
David, what is your feeling about comment 7? Boris is ok to not prefix it (according to our IRC conversation).
Assignee | ||
Comment 10•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 11•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 12•14 years ago
|
||
The regression wasn't caused by these patches. Re-landed:
http://hg.mozilla.org/mozilla-central/rev/91fa0c94e6db
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
I'm ok with unprefixed.
Comment 14•13 years ago
|
||
Documented:
https://developer.mozilla.org/En/CSS/:indeterminate
https://developer.mozilla.org/en/HTML/Element/progress
Also listed on Firefox 6 for developers.
Keywords: dev-doc-needed → dev-doc-complete
Comment 15•6 years ago
|
||
It looks like the :indeterminate pseudo-class is not being triggered on <progress> elements with no value.
Just try opening this page:
https://bulma.io/documentation/elements/progress/
in Firefox and then in Chrome.
In Chrome, you'll get animation for indeterminate progress bars.
In Firefox, the bars are just staying solid.
Also, when you click "inspect element" in Chrome, you'll see that the progress bar has the :indeterminate pseudo-class selected.
In Firefox, it doesn't.
Comment 16•6 years ago
|
||
Oh, I'm sorry, it looks like :indeterminate is in deed being triggered in CSS, so probably the animation isn't done quite right. I'll check it out further.
You need to log in
before you can comment on or make changes to this bug.
Description
•