W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: Styling composite elements

From: Antony Kennedy <antony@silversquid.com>
Date: Wed, 20 Feb 2013 21:56:48 +0000
Message-Id: <1FC0ED67-C906-4D33-9B83-76A04D27DC8B@silversquid.com>
To: www-style list <www-style@w3.org>
Of course, I've seen that.

So, where nothing was done, the <select> experience would be exactly as it is now.

With media queries, as an author I could then choose the experience I want my users to have. I could leave it as is, or make it as terrible or as wonderful as I choose.

On 20 Feb 2013, at 21:50, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Wed, Feb 20, 2013 at 1:46 PM, Antony Kennedy <antony@silversquid.com> wrote:
>> Styling select boxes should be a priority. The amount of times in my career I've had to fake these is ridiculous, and you can never adequately meet the intricacies of the real controls. These have existed for years, and we still cannot adequately style them. CSS variables, and such are all well and good, but it doesn't seem like the basics are fixed yet, and we're just inventing new things instead of cleaning house.
>> 
>> How about if there were a standardised version of the select box you can enable via CSS? And if you don't do this, the browser can do whatever it likes?
>> 
>> Exactly how -webkit-appearance: none; works, in fact.
>> 
>> If the standardised version of the select box had specific elements and behaviours, all written down in a specification then authors could predict those behaviours, and the pseudo-elements Henrick described would be predictably available. If the standardised version were enabled via CSS, then that is a lot less difficult to cope with? If it weren't enabled, the browser could do whatever it wanted.
> 
> Have you seen what <select> elements do on mobile browsers, like
> Chrome on Android or the iOS browser?  It would be a terrible
> experience for the user if you could opt into a "normal" <select>.
> 
> ~TJ
> 
Received on Wednesday, 20 February 2013 21:57:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT