Bug 59224

Summary: Don't rely on hasSpinButton to check if an input type can be stepped
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: FormsAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: abarth, eric, joepeck, simon.fraser, tkent, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Description Flags
[PATCH] Proposed Fix - Add isSteppable tkent: review+

Description Joseph Pecoraro 2011-04-22 13:01:06 PDT
Add isSteppable. This almost removes the last usage of isRangeControl, but it
is used once later on in the function. We shouldn't assert that a steppable
control has a spinner, since a spinner is a UI detail and steppability is
Comment 1 Joseph Pecoraro 2011-04-22 13:10:35 PDT
Created attachment 90746 [details]
[PATCH] Proposed Fix - Add isSteppable
Comment 2 Kent Tamura 2011-04-22 13:35:34 PDT
Comment on attachment 90746 [details]
[PATCH] Proposed Fix - Add isSteppable

Comment 3 Joseph Pecoraro 2011-04-22 14:33:28 PDT
Landed in <http://trac.webkit.org/changeset/84683>.
Comment 4 Joseph Pecoraro 2011-04-22 14:37:57 PDT
Arg, I should also have removed the now unused HTMLInputElement::hasSpinButton.
I'll be working on a follow-up patch that will do that soon.
Comment 5 WebKit Review Bot 2011-04-22 16:19:01 PDT
http://trac.webkit.org/changeset/84683 might have broken GTK Linux 64-bit Debug