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

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