[prev in list] [next in list] [prev in thread] [next in thread] 

List:       whatwg
Subject:    Re: [whatwg] Allowing authors to obtain a vertical <input type=range>
From:       "Tab Atkins Jr." <jackalmage () gmail ! com>
Date:       2013-03-29 17:35:03
Message-ID: CAAWBYDAJwtofG_KTnSDRS2YEV-Ur=Xq9JogHG3K9TtW21GA_Lw () mail ! gmail ! com
[Download RAW message or body]

On Fri, Mar 29, 2013 at 10:27 AM, Ian Hickson <ian@hixie.ch> wrote:
> Why wouldn't this be a CSS issue? That's the layer of the Web platform
> where we put presentationa-specific things.

You can't detect the size of something from within CSS, because then
you can change the size.

> 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.

Because of the reason I gave above.

> 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.

This won't work for the same reason.

~TJ
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic