Closed
Bug 322424
Opened 19 years ago
Closed 19 years ago
Default disabled select border no longer matches enabled border
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mattsch, Assigned: bugzilla-mozilla-20000923)
Details
(Keywords: fixed1.8.1, regression)
Attachments
(2 files)
1.15 KB,
text/html
|
Details | |
1023 bytes,
patch
|
jaas
:
review+
neil
:
superreview+
neil
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
The default disabled select border styling no longer matches the enabled border.
Reproducible: Always
Actual Results:
Default disabled select form field border does not match enabled select border.
Expected Results:
Default disabled select form field border should match enabled select border.
Note: This is a regression. The default disabled select form field style on Firefox 1.0 and Mozilla 1.7.12 displays the border correctly. The disabled border should match the enabled border for select fields. For a css comparison, it is the difference between a solid 1px border (the way it's supposed to show) and an inset 2px border (the way it is showing now)
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Updated•19 years ago
|
Version: Trunk → 1.8 Branch
Comment 2•19 years ago
|
||
See Bug 204237
Assignee | ||
Comment 4•19 years ago
|
||
What's happening is that the native theming code is being turned off, either explicitly or indirectly though some application of CSS. The rather ugly 2px sunken border on the disabled one is the pure CSS style, rather than the native one.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•19 years ago
|
||
Looks like a copy-and-paste error at:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/widget/src/xpwidgets/nsNativeTheme.cpp&rev=1.26&mark=272-273#264
Just trying to see if that fixes it...
Assignee | ||
Comment 6•19 years ago
|
||
Yup, easy fix. Rah! Patch in a sec...
Assignee | ||
Updated•19 years ago
|
Severity: normal → minor
Version: 1.8 Branch → Trunk
Assignee | ||
Comment 7•19 years ago
|
||
Ironically, this is a regression from the other bug mentioned (bug 204237). But it's a simple fix, and I'm pretty sure it was meant to be this to start with.
Assignee: nobody → silver
Status: NEW → ASSIGNED
Assignee | ||
Updated•19 years ago
|
Attachment #222337 -
Flags: superreview?(bryner)
Attachment #222337 -
Flags: review?(joshmoz)
Attachment #222337 -
Flags: review?(joshmoz) → review+
Comment 8•19 years ago
|
||
Comment on attachment 222337 [details] [diff] [review]
Match against disabled BG colour
Looks good, by comparison with the NS_THEME_TEXTFIELD case.
Attachment #222337 -
Flags: superreview?(bryner) → superreview+
Assignee | ||
Comment 9•19 years ago
|
||
Comment on attachment 222337 [details] [diff] [review]
Match against disabled BG colour
I can't land this until Friday - someone else is free to check in before then.
This is needed on the 1.8 branch too, although the file is in a slightly different place:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/gfx/src/shared/nsNativeTheme.cpp&rev=1.22&mark=277#268
Attachment #222337 -
Flags: approval-branch-1.8.1?
Comment 10•19 years ago
|
||
Comment on attachment 222337 [details] [diff] [review]
Match against disabled BG colour
The approval-branch-181 flag needs a requestee.
Attachment #222337 -
Flags: approval-branch-1.8.1? → approval-branch-1.8.1?(neil)
Updated•19 years ago
|
Attachment #222337 -
Flags: approval-branch-1.8.1?(neil) → approval-branch-1.8.1+
Assignee | ||
Comment 11•19 years ago
|
||
Checked in --> FIXED.
You need to log in
before you can comment on or make changes to this bug.
Description
•