[Webkit-unassigned] [Bug 16990] Setting value attribute on an <input type=range> to an out-of-range value fires oninput

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 17 16:58:03 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=16990





--- Comment #5 from Joseph Pecoraro <joepeck at webkit.org>  2010-03-17 16:58:03 PST ---
History shows a few FIXMEs in the area and a mention of a potential problem in
the ChangeLog:
http://trac.webkit.org/changeset/41972

> (WebCore::RenderSlider::updateFromElement): Added code to immediately update the value 
> in the element if it's out of range. This clamping used to be done as a side effect of 
> setPositionFromValue. Also, this has nothing to do with the renderer, so at some point 
> it could be moved into HTMLInputElement.

Tests were added later when other input types were added, so I think the range
input values were assumed to be correct at that time.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list