Closed Bug 202888 Opened 22 years ago Closed 22 years ago

Cannot define CSS styles for file controls

Categories

(Core :: CSS Parsing and Computation, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52500

People

(Reporter: rruiz, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 When adding a file control to any page, it renders as a text box with a button at the right side. These controls are always rendered using a "default style", ignoring any CSS rule. AFAIK, nothing is said on the CSS specification about this type of controls, so I do not expect to find any non-standard CSS rule to control the style of them. I propose to use CSS rules for input and button selectors for determining the style of these controls. Reproducible: Always Steps to Reproduce:
Attached file Proposal example (deleted) —
I expected borders and button background styles to be applied also to the file control. Instead, only text field background is applied.
*** This bug has been marked as a duplicate of 52500 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: