WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
52937
input[type=range] should render vertically or horizontally in response to specified dimensions, not -webkit-appearance property
https://bugs.webkit.org/show_bug.cgi?id=52937
Summary
input[type=range] should render vertically or horizontally in response to spe...
Dimitri Glazkov (Google)
Reported
2011-01-21 16:27:41 PST
Today, we use -webkit-appearance: slider-horizonal to render a horizontal slider and -webkit-appearance: slider-vertical to render a vertical slider. HTML spec suggests we should just automatically pick the appropriate orientation based on specified dimensions:
http://www.whatwg.org/specs/web-apps/current-work/multipage/number-state.html#range-state
This would also allow us to get rid of hard-coding the appearance cascade and an extra custom renderer we have in SliderThumbElement:
http://google.com/codesearch/p#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/html/shadow/SliderThumbElement.cpp&l=61
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2011-09-06 14:39:21 PDT
<
rdar://problem/10081055
>
Ahmad Saleem
Comment 2
2023-11-29 18:28:57 PST
@Aditya - is this needed anymore since now we support 'Vertical' for all inputs?
Tim Nguyen (:ntim)
Comment 3
2023-11-29 23:11:28 PST
We should use writing-mode: vertical-lr/rl to get vertical sliders.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug