[whatwg] Allowing authors to obtain a vertical <input type=range>
ian at hixie.ch
Fri Mar 29 10:27:37 PDT 2013
On Tue, 26 Mar 2013, Jonathan Watt wrote:
> The result of the discussion here:
> is that I've changed Firefox Nightly's handling of <input type=range> to
> allow it to render as a vertical slider if it has an orient="vertical"
> attribute on it. There was only one reply to my email to www-style, but
> the author suggested using an attribute which I'd also concluded was the
> best thing to do.
> I'd like to propose that this attribute be added to the HTML5
It seems like a very medium-specific attribute.
Why wouldn't this be a CSS issue? That's the layer of the Web platform
where we put presentationa-specific things.
But in this particular case, why do we need authors to explicitly say
anything about the direction? Why can't you just be vertical if you're
tall, and horizontal if you're wide? I don't understand why anyone would
ever want a tall horizontal slider.
If you're making proprietary pseudo-elements for parts of the slider while
waiting for Web Components to be ready to do this, just have different
pseudos for the two orientations.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg