W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2013

Re: [whatwg] Styling form controls (Was: Re: Forms-related feedback)

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 4 Dec 2013 23:37:55 +0000 (UTC)
To: Dimitri Glazkov <dglazkov@chromium.org>
Message-ID: <alpine.DEB.2.00.1312042335500.26758@ps20323.dreamhostps.com>
Cc: WHAT Working Group <whatwg@whatwg.org>, Jonas Sicking <jonas@sicking.cc>
On Wed, 4 Dec 2013, Dimitri Glazkov wrote:
> 
> The gist of the argument was that we should let UAs decide how they want 
> to design controls and avoid limiting their options by standardizing 
> behavior of pseudo-elements.

I'm not suggesting that we define the actual bindings. Just that we 
describe some of the components that native bindings might use. For 
example, a type=number control could have a ::value pseudo and a ::button 
pseudo, and the ::value would match the text editing area, and the 
::button would match the up and down buttons -- except on platforms that 
replace the whole control with just a text control that pops up a spinner, 
in which case the ::button wouldn't match anything.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 4 December 2013 23:38:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC