Fwd: Size of pulldown menus and CSS3 UI

------- Forwarded message -------
From: "Bert Bos" <bert@w3.org>
Subject: Size of pulldown menus and CSS3 UI
Date: Tue, 04 Apr 2006 19:34:33 +0200

A question from some people in the CSS WG, probably mostly interesting
for implementers of XForms. If there are people in your group who have
an opinion on it, please, pass the question on.

Is it desirable to be able to set the height of a dropdown menu, such as
for the SELECT element in HTML?

If so, are people using the '::choices' pseudo-element from CSS3 UI[1]
for that? E.g., 'select[appearance=minimal]::choices { height: 5em }'

And if so, how well does it work?

HTML has a SIZE attribute that sets the height of the SELECT element
when the user is not interacting with it. SIZE=1 typically means that
the choices are shown as a dropdown menu, SIZE>1 that the choices are
shown as a scrolling list. But the size of the dropdown menu, if any,
cannot be set with HTML. Should it be set with CSS?

Bert

Received on Friday, 7 April 2006 10:16:42 UTC