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)
Core
Layout: Form Controls
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: aspring, Assigned: rods)
References
()
Details
(Keywords: css1)
Attachments
(2 files)
HTML 4.0 spec indicates this should work (17.6.1).
Comment 1•25 years ago
|
||
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.
Comment 3•25 years ago
|
||
Yes, I think the boxes should expand with the font size. I have attached a
testcase, taking the select boxes out of the table.
Comment 4•25 years ago
|
||
Comment 5•25 years ago
|
||
Actually, it looks like the box is expanding but the text is not positioned
correctly.
Updated•25 years ago
|
Assignee: pierre → trudelle
Component: Style System → XP Toolkit/Widgets
Comment 6•25 years ago
|
||
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.
Comment 7•25 years ago
|
||
Updated•25 years ago
|
OS: Windows NT → All
Hardware: PC → All
Updated•25 years ago
|
Assignee: trudelle → karnaze
Component: XP Toolkit/Widgets → HTML Form Controls
Comment 8•25 years ago
|
||
This is an HTML Forms Control, not an XPToolkit widget, reassigning & cc'ing
evaughan
Updated•25 years ago
|
Assignee: karnaze → rods
Comment 9•25 years ago
|
||
Reassigning to Rod.
Updated•25 years ago
|
Summary: Style sheet rules are not applied to SELECT form elements → {css1} Style sheet rules are not applied to SELECT form elements
Comment 10•25 years ago
|
||
NOTE: The width of the SELECT elements should only grow to the biggest OPTION
child if its 'width' property is 'auto'.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M14
Assignee | ||
Comment 11•25 years ago
|
||
updated milestone
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•25 years ago
|
||
Great test case - fixed.
Comment 13•25 years ago
|
||
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...
You need to log in
before you can comment on or make changes to this bug.
Description
•