[whatwg] Date/time field types - min, max, popup UI.

Lachlan Hunt lachlan.hunt at lachy.id.au
Tue Sep 8 01:07:41 PDT 2009


Sigurd Magnusson wrote:
> I see that the spec does not appear to concern itself with the
> presentation of date pickers.

This issue is probably best addressed within CSS, possibly by adding 
more suitable values to the 'appearance' property, or possibly even 
picking an appropriate rendering simply based on the 'height' and 
'width' of the control, much like a type=range control switches from a 
horizontal to vertical slider if the width is narrower than the height.

e.g. If the styling makes the dimensions too high for rendering as a 
drop down style widget, the UA could switch to a layout that shows the 
whole calander for a month or two instead of a drop down.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/



More information about the whatwg mailing list