Re: Has this bug been forgotten?

[please don't top-post http://wiki.csswg.org/tools/www-style ]

On Thu, May 15, 2014 at 10:33 AM, Brunoais <brunoaiss@gmail.com> wrote:
> On 14-05-2014 23:42, Tab Atkins Jr. wrote:
>> On Mon, May 12, 2014 at 8:52 PM, Brunoais <brunoaiss@gmail.com> wrote:
>>> Is there any reason why there's no discussion here?
>>> I really would like to see this made.
>>> https://www.w3.org/Bugs/Public/show_bug.cgi?id=14939
>>
>> The CSSWG does not in general use Bugzilla for discussion of issues.
>> Some individual specs use it to track issues, but all discussion takes
>> place here on www-style, and it's preferred that issues be brought up
>> by sending email.
>>
>> Looking over the bug, it appears that you're just asking for an
>> ability to have a <select multiple> "auto-size" according to how many
>> options it has, yes?  Is there anything else?
>
> Yes and also, allow CSS to tell the max height and minimum height it can
> stretch and shrink to.

That part happens already - 'height' and its min/max variants already
apply to <select multiple>.  You just need the auto-sizing part.

This actually probably *is* an HTML issue, since the rendering of
<select> is still undefined in CSS.  The <select multiple> determines
its own size automatically from its sizes='' attribute, defaulting to
"the size of 4 items", so I think you'd need to add an HTML value like
sizes="auto" to mean "the size of however many items I have".

~TJ

Received on Thursday, 15 May 2014 11:44:32 UTC