Closed
Bug 425564
Opened 16 years ago
Closed 16 years ago
colorpicker's "disabled" property has no effect
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
People
(Reporter: myk, Assigned: neil)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
1.03 KB,
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
2.18 KB,
patch
|
enndeakin
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
I'm not sure if this is a widget bug or a docs bug, but the XUL reference says the "disabled" property of the colorpicker widget gets and sets the value of the "disabled" attribute <http://developer.mozilla.org/en/docs/XUL:colorpicker#p-disabled>, yet that doesn't work. Getting and setting the attribute directly does work, however. So either the property needs to be fixed, if there is such a property, or the docs need to be updated to remove the reference to it (and tell authors to get and set the attribute itself).
Comment 1•16 years ago
|
||
Looks like the button type of colorpicker just needs to extend 'chrome://global/content/bindings/general.xml#basecontrol' as the non-button type does. In general, the colorpicker itself is in dire need of much love.
Assignee | ||
Comment 3•16 years ago
|
||
As it happens I'd already discovered the bug reviewing the patch to bug 79603.
Updated•16 years ago
|
Attachment #313419 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 4•16 years ago
|
||
Attachment #313469 -
Flags: review?(enndeakin)
Updated•16 years ago
|
Version: unspecified → Trunk
Would skins/themes need colorpicker[disabled="true"], colorpicker[disabled="true"]:hover:active style rules once this bug is fixed?
Comment 6•16 years ago
|
||
> Would skins/themes need colorpicker[disabled="true"],
> colorpicker[disabled="true"]:hover:active style rules once this bug is fixed?
Yes, having several colorpickers on one page where some work and some don't, but all look alike, is not very helpful...
Updated•16 years ago
|
Attachment #313469 -
Flags: review?(enndeakin) → review+
Assignee | ||
Comment 7•16 years ago
|
||
Comment on attachment 313469 [details] [diff] [review] With tests! This patch exists solely to fix the accessibility and functionality issues raised in the bug. CSS updates would probably need to be addressed on a per-theme bases in separate bugs.
Attachment #313469 -
Flags: approval1.9?
Comment 8•16 years ago
|
||
Comment on attachment 313469 [details] [diff] [review] With tests! a=beltzner, hooray tests!
Attachment #313469 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 9•16 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•