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)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: mattsch, Assigned: bugzilla-mozilla-20000923)

Details

(Keywords: fixed1.8.1, regression)

Attachments

(2 files)

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)
Version: Trunk → 1.8 Branch
How many times can this possibly regress?
Keywords: regression
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
Yup, easy fix. Rah! Patch in a sec...
Severity: normal → minor
Version: 1.8 Branch → Trunk
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
Attachment #222337 - Flags: superreview?(bryner)
Attachment #222337 - Flags: review?(joshmoz)
Attachment #222337 - Flags: review?(joshmoz) → review+
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+
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 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)
Attachment #222337 - Flags: approval-branch-1.8.1?(neil) → approval-branch-1.8.1+
Checked in --> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: