Closed Bug 101505 Opened 20 years ago Closed 20 years ago

File input CSS border incorrect

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52500

People

(Reporter: say_ten, Assigned: attinasi)

References

()

Details

Attachments

(1 file)

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.
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
Attached file Testcase

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