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

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 13 Apr 2011 16:02:40 +0000
To: Ian Hickson <ian@hixie.ch>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2AC01473@TK5EX14MBXC113.redmond.corp.microsoft.com>
[Ian Hickson:]
> 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.

So the spec defines the default orientation in the absence of any ability 
to style the control beyond its width/height. I think the problem sounds
like a CSS styling issue to me.

> 
> 
> > 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_genera
> > l.png
> 
> You'll need more than just a background colour to get that design, you'll
> need a new binding.

Not sure what 'new binding' means here.

> 
> > (I am also attaching a simple mockup showing a vertical design with a
> > horizontal aspect ratio).
> 
> Again, that's an entirely new binding.

Same.

> 
> > 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 16:03:18 GMT

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