Bug 52937
| Summary: | input[type=range] should render vertically or horizontally in response to specified dimensions, not -webkit-appearance property | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dimitri Glazkov (Google) <dglazkov> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ahmad.saleem792, akeerthi, hyatt, jonlee, ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 44907 | ||
| Bug Blocks: | |||
Dimitri Glazkov (Google)
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
<rdar://problem/10081055>
Ahmad Saleem
@Aditya - is this needed anymore since now we support 'Vertical' for all inputs?
Tim Nguyen (:ntim)
We should use writing-mode: vertical-lr/rl to get vertical sliders.