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

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 UTC