[whatwg] Allowing authors to obtain a vertical <input type=range>

Simon Pieters simonp at opera.com
Tue Mar 26 07:55:52 PDT 2013


On Tue, 26 Mar 2013 15:07:55 +0100, Jonathan Watt <jwatt at jwatt.org> wrote:

> The result of the discussion here:
>
> http://www.w3.org/mid/514A17D4.3070806@jwatt.org
>
> 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  
> specification.

I don't have strong opinions on this topic, however, if we are going to  
add an attribute, it would be less verbose to use a boolean attribute:

    <input type=range vertical>

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list