Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider removing support for multiple in <input type=range> #1520

Closed
smaug---- opened this issue Jul 7, 2016 · 14 comments
Closed

consider removing support for multiple in <input type=range> #1520

smaug---- opened this issue Jul 7, 2016 · 14 comments
Assignees
Labels
removal/deprecation Removing or deprecating a feature topic: forms

Comments

@smaug----
Copy link

smaug---- commented Jul 7, 2016

Seems like browsers (Chrome, FF, Edge) don't support it, at least not in the UI.

data:text/html,<input type=range multiple min=0 max=24 value=0,24 step=1.0>

Or am I testing it wrong way?

https://bugzilla.mozilla.org/show_bug.cgi?id=1278057

@domenic domenic added the removal/deprecation Removing or deprecating a feature label Jul 7, 2016
@domenic
Copy link
Member

domenic commented Jul 7, 2016

I believe this was added without implementer commitment in 1efac39 to fix https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154. I guess there was some Mozilla and Google support of the idea.

I was not able to find any open WebKit or Chromium bugs. @tkent-google, @cdumez, @DigiTec, any plans to implement this, or should we remove it?

@tkent-google
Copy link
Contributor

The bug for Chromium is here: https://bugs.chromium.org/p/chromium/issues/detail?id=340116

But I don't think it will be used widely, and I guess the implementation cost is high. I'd be happy if it is removed.

@smaug----
Copy link
Author

yeah, certainly not trivial to implement and I haven't seen such controls being used too often.
And there is https://leaverou.github.io/multirange/ and I'm sure also other js implementations.

@tabatkins
Copy link
Contributor

@LeaVerou would probably be amused/angry to see one of her hole-filling libraries being used to justify not filling that hole natively. ^_^

As noted in the w3 bug, there are strong use-cases for a 2-value range input, to represent the min/max value of a range. I see this often with time ranges; the bug points to <google.com/flights> as an example (click the Times tab).

@LeaVerou
Copy link

I haven't seen such controls being used too often.

We must be browsing a different Web then, cause I see them all the time. Usually made with the bloated jQuery UI.

@smaug----
Copy link
Author

Well, I guess the main question here is that does any browser vendor plan to implement the feature?
Doesn't make sense to keep unimplemented/unmaintained features in the specs for years.
As far as I know the spec for ´type=range multiple´ hasn't been reviewed either (since reviewing doesn't happen properly before implementing)

@rniwa @adrianba

@cdumez
Copy link

cdumez commented Jul 12, 2016

I am not aware of any plans to implement this in WebKit.

@domenic
Copy link
Member

domenic commented Jul 14, 2016

I think there are definite use cases for this, and I would have loved to see it implemented. However, lacking any implementer commitment, we should probably remove it until such a time as such commitment materializes. If that materializes, we can try for a removal-revert, as is currently being attempted for inert="" in #1474.

@domenic domenic self-assigned this Jul 14, 2016
domenic added a commit that referenced this issue Jul 14, 2016
This was added in 1efac39 as a result
of https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154. Despite
definite web developer interest and some implementer support at the
time, implementation progress or commitment has not materialized in the
intervening 2.5 years, and it should be removed.

Fixes #1520.
domenic added a commit that referenced this issue Jul 18, 2016
This was added in 1efac39 as a result
of https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154. Despite
definite web developer interest and some implementer support at the
time, implementation progress or commitment has not materialized in the
intervening 2.5 years, and it should be removed.

Fixes #1520.
domenic added a commit that referenced this issue Jul 18, 2016
This was added in 1efac39 as a result
of https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154. Despite
definite web developer interest and some implementer support at the
time, implementation progress or commitment has not materialized in the
intervening 2.5 years, and it should be removed.

Fixes #1520.
@Haroenv
Copy link

Haroenv commented Dec 28, 2017

What's the process of voicing an opinion to put this in browsers? I can't really see any complete solutions for having a multiple range input, which is way more intuitive than a single point, and might be why input[type=range] isn't very popular.

I'd love to be helpful in some way 😄

AFAIK all popular range input libraries support multiple (at least two) inputs:

@domenic
Copy link
Member

domenic commented Dec 28, 2017

You can open issues on each browser vendor asking them to prioritize implementing this (according to the previous spec). If 2+ of them agree to do so, we'll add it back to the spec.

@annevk
Copy link
Member

annevk commented Dec 28, 2017

Note that we still don't have full interop on the other input types, so focusing getting those implemented first might be better.

@Haroenv
Copy link

Haroenv commented Dec 28, 2017

Totally a valid point @annevk, will just keep my eye out for it, since it seems like a massive uphill battle to define what a multiple input would really mean (even with Lea's "polyfill" and the other sliders)

@adrianba
Copy link

I can't find this being tracked as a deliverable anywhere for EdgeHTML.
@dstorey

@dstorey
Copy link
Member

dstorey commented Jan 1, 2018

Yeah, we don't currently have anything tracking this, and I've not yet seen any demand on https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer
In the controls space we'd have a few things higher priority than this such as finishing details/summary, dialog, etc, but if anyone wants this then I encourage them to vote on our userVoice.

IE/Edge has multiple vendor specific pseudos for styling range. If this was ever added, that would need to be thought about, such as if the two knobs could be styled independently, and if there is a 3rd pseudo for the track (currently the track before and after the knob can be styled, while with multiple the part between the knobs is the filled in part usually while before the first knob and after the second are usually styled similar to the after case in a one knob slider)

alice pushed a commit to alice/html that referenced this issue Jan 8, 2019
This was added in 1efac39 as a result
of https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154. Despite
definite web developer interest and some implementer support at the
time, implementation progress or commitment has not materialized in the
intervening 2.5 years, and it should be removed.

Fixes whatwg#1520.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
removal/deprecation Removing or deprecating a feature topic: forms
Development

No branches or pull requests

10 participants