Closed Bug 841943 Opened 12 years ago Closed 4 years ago

Improve the way that we "clamp" the value of <input type=range>

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: jwatt, Unassigned)

References

Details

Bug 836314 comment 28 follow-up. We should improve the way that we "clamp" the value of <input type=range>.
Blocks: 841950
Mounir, can you give me a more concrete description of what you were thinking of here? From our last discussion on IRC you weren't exactly sure. :)
Flags: needinfo?(mounir)
IIRC, I am not a big fan of the way we "sanitize" the value when @max, @min or @step is modified. We use a huge hammer to do something that "might" be easier to do. In other words, we fully sanitize everything but maybe we could have clever assumptions. This is more cleanup than anything else so as long as we pass the tests, I do not think we should block the release of <input type='range'>. However, that would be great if we can do it at some point or at least think about how we could do it.
Blocks: 836314
No longer blocks: 841950
Flags: needinfo?(mounir)
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.