[whatwg] input elements and css styles

Ian Hickson ian at hixie.ch
Wed Mar 14 15:37:34 PDT 2007

On Wed, 14 Mar 2007, Martin Hassman wrote:
> Try {color:red; background-color:green} on <input type="datetime-local"> 
> and on <input type="week">, gives you different results - week accepts 
> background color, datetime-local ignores. So I looked in WF2 spec. for 
> any mention about forms styling. Didn't found any.
> My direction is - webdesigners are used to style forms in any (hi-tech) 
> color of theirs websites. And would expect the same from WF2 probably. 
> This (Opera) behaviour should be correct according to the WF2 spec or 
> not? Do not mentioning I was not able to style calendar window so on 
> page with black background it was still shining white.
> Shouldn't be there some specification or at least recommendation about 
> possibility of form styling included? Or is this area completely free to 
> implementors and do not fall in the WF2 specification anyway?

This is what the (not yet begun) Web Controls 1.0 specification is 
intended to cover. However, there is no estimated time for work on this 
specification to begin. In the meantime, I recommend contacting your 
browser vendor directly.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list