Closed Bug 21640 Opened 25 years ago Closed 25 years ago

{css1} Style sheet rules are not applied to SELECT form elements

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: aspring, Assigned: rods)

References

()

Details

(Keywords: css1)

Attachments

(2 files)

HTML 4.0 spec indicates this should work (17.6.1).
I am viewing the URL on the 12/14 build. Styling looks like it is working. "Font-family:sans-serif" is being applied to 'Plain text' and the font-sizes are applied as indicated. Could you tell me specificically which style is not working?
Shouldn't the dropdown lists be resized to accomodate the different font sizes? As it is now if the style sheet specifies a larger font size the effect is both ugly and useless.
Yes, I think the boxes should expand with the font size. I have attached a testcase, taking the select boxes out of the table.
Actually, it looks like the box is expanding but the text is not positioned correctly.
Assignee: pierre → trudelle
Component: Style System → XP Toolkit/Widgets
It's an XPToolkit problem. I think that: - OPTION elements should by default inherit the style from the SELECT element. - The size of SELECT elements should be computed according to the longest option (as we do now) but using the style of the SELECT element instead of the style of the OPTION. I'm going to attach a testcase that illustrates this. Reassigned to XPToolkit.
OS: Windows NT → All
Hardware: PC → All
Assignee: trudelle → karnaze
Component: XP Toolkit/Widgets → HTML Form Controls
This is an HTML Forms Control, not an XPToolkit widget, reassigning & cc'ing evaughan
Assignee: karnaze → rods
Reassigning to Rod.
Summary: Style sheet rules are not applied to SELECT form elements → {css1} Style sheet rules are not applied to SELECT form elements
NOTE: The width of the SELECT elements should only grow to the biggest OPTION child if its 'width' property is 'auto'.
Target Milestone: M14
updated milestone
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Great test case - fixed.
Keywords: css1
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
Using 2/17 build, verifying fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: