This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26773 - Tag
Summary: Tag
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: Basic User Interface (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Tantek
QA Contact: public-css-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 13:11 UTC by contributor
Modified: 2014-09-10 14:58 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-09-10 13:11:42 UTC
Specification: http://dev.w3.org/html5/spec-preview/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top
Referrer: 

Comment:
Tag
=========
<select>
<option>Yes</option>
<option>Long explanation goes here and much more and more</option>
</select>

Issue
=========
Select tag takes the size of the longest option. Design will always restrict
the width of the select. So lets imagine the select needs to be 200 px wide,
but the option is much wider. So now you select the long option and it will be
cut off. Why on Earth cant we change this element in HTML5 so if the selected
value is longer than the select itself it will grow and push the data to the
next line. So it will reserve space and grow taller if the option should
expand to multiple lines? Would that make sense?

Posted from: 88.196.5.77
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Comment 1 Ian 'Hixie' Hickson 2014-09-10 14:58:18 UTC
Seems reasonable. Probably more a CSS issue or Web Components issue, though.

Trying CSS first.