Closed
Bug 594484
Opened 14 years ago
Closed 14 years ago
disabled number box styling is broken
Categories
(Toolkit :: Themes, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
People
(Reporter: Gavin, Assigned: mstange)
Details
Attachments
(1 file, 1 obsolete file)
1.49 KB,
patch
|
dao
:
review+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
The text isn't greyed out, and the cursor is wrong too. <textbox type="number" disabled="true" value="20"/>
Reporter | ||
Comment 1•14 years ago
|
||
This seems to fix it, but I don't really know if there's a better way to do this, or whether this is complete given the other styling in that file.
Attachment #473149 -
Flags: feedback?(enndeakin)
Comment 2•14 years ago
|
||
Why does this only affect Mac?
Comment 3•14 years ago
|
||
Is this a regression?
Assignee | ||
Comment 4•14 years ago
|
||
I think you just need to remove the color and cursor properties from the .numberbox-input-box rule in numberbox.css. The correct color is already set on the textbox and just needs to be inherited down properly. For the non-disabled case, cursor:text is set by forms.css on the html:input and doesn't need to be set on the .numberbox-input-box.
Reporter | ||
Comment 5•14 years ago
|
||
Comment on attachment 473149 [details] [diff] [review] patch? I have no idea if this ever worked, or why it only affects Mac. Sounds like Markus' suggestion is better, though.
Attachment #473149 -
Flags: feedback?(enndeakin)
Assignee | ||
Comment 6•14 years ago
|
||
Can you test this on Linux?
Assignee: nobody → mstange
Attachment #473149 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #475554 -
Flags: review?(dao)
Reporter | ||
Comment 7•14 years ago
|
||
Works for me on Linux - cursor is "text" when enabled, normal when disabled.
Updated•14 years ago
|
Attachment #475554 -
Flags: review?(dao) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #475554 -
Flags: approval2.0?
Reporter | ||
Updated•14 years ago
|
Attachment #475554 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 8•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8130457aed61
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•14 years ago
|
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•