W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [css3-ui][html5] Form control orientation and styling

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 13 Apr 2011 03:53:28 +0000 (UTC)
To: Sylvain Galineau <sylvaing@microsoft.com>
cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.64.1104130347230.25791@ps20323.dreamhostps.com>
On Tue, 12 Apr 2011, Sylvain Galineau wrote:
> 
> A first issue is that one cannot have a square or flat slider that 
> slides vertically.

Well, you can, it's just not the default behaviour absent any styling.


> This is not an obvious issue with the basic design showed in the spec 
> but could be a problem when CSS allows the author to style the control 
> e.g. by using a custom background. For instance, imagine the vertical 
> equivalent to this design, possibly with marks on both sides of the 
> track: 
> http://www.filebuzz.com/software_screenshot/full/volcon_options_general.png

You'll need more than just a background colour to get that design, you'll 
need a new binding.


> (I am also attaching a simple mockup showing a vertical design with a 
> horizontal aspect ratio).

Again, that's an entirely new binding.


> I'd love to hear how others think this kind of scenario should be 
> resolved.

As with all form controls and widgets, to style complex elements we need a 
solution like HTCs or XBL coupled with BECSS. HTML is defined in terms of 
BECSS currently (without explicitly saying what kind of binding language 
it uses, but XBL is implied), and just defines the default styling for the 
default bindings.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 13 April 2011 03:53:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT