File input CSS border incorrect

RESOLVED DUPLICATE of bug 52500

Status

()

Core
Layout
RESOLVED DUPLICATE of bug 52500
16 years ago
16 years ago

People

(Reporter: Matthew Cheale, Assigned: Marc Attinasi)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20010913
BuildID:    2001091303

Applying a CSS border to a file input box doesn't format the file box properly.

Reproducible: Always
Steps to Reproduce:
Create file input box and apply CSS border style.

Actual Results:  The border is around the box but the box keeps it's bevelled
border and then goes over the CSS border.

Expected Results:  Giving the CSS border to the file box and button.
(Reporter)

Updated

16 years ago
confirmed on windows 2000
Mozilla build 20001092403
Happening on Linux too.  Attaching testcase with border color changed to
actually be visible.

At a guess, here is what's happening.  The border is applied to the whole file
control, but also to the text field inside the control (not to the button,
though!).  As a result, the text field is to wide and tall by twice the border
width, with the results that we see.  I'm not sure who this should get assigned
to (layout or form controls); leaving as layout for now.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
Hardware: PC → All
Created attachment 50687 [details]
Testcase

*** This bug has been marked as a duplicate of 52500 ***
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.