Bug 198809 - Clicking the up/down spin buttons for a number input increments/decrements by 2
Summary: Clicking the up/down spin buttons for a number input increments/decrements by 2
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL: data:text/html,<html><body><input%20t...
Keywords: InRadar
: 199210 (view as bug list)
Depends on:
Reported: 2019-06-12 15:01 PDT by Devin Rousso
Modified: 2019-07-03 15:43 PDT (History)
8 users (show)

See Also:

Patch (3.70 KB, patch)
2019-06-25 16:24 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-06-12 15:01:05 PDT
1. data:text/html,<html><body><input%20type="number" value="0"></body></html>
2. click the up/down spin button
 => value changes to 2/-2

NOTE: this does NOT happen if you use the up/down arrow keys.
Comment 1 Wenson Hsieh 2019-06-12 15:05:21 PDT
Comment 2 Tim Horton 2019-06-25 16:19:32 PDT
*** Bug 199210 has been marked as a duplicate of this bug. ***
Comment 3 Timothy Hatcher 2019-06-25 16:24:01 PDT
Created attachment 372873 [details]
Comment 4 WebKit Commit Bot 2019-06-25 16:42:09 PDT
Comment on attachment 372873 [details]

Clearing flags on attachment: 372873

Committed r246818: <https://trac.webkit.org/changeset/246818>
Comment 5 WebKit Commit Bot 2019-06-25 16:42:11 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Darin Adler 2019-07-03 15:43:20 PDT
Should we still respect the settings to match AppKit scroller behavior? The settings haven’t been removed, it’s just that the defaulting mechanism used has changed.
Comment 7 Darin Adler 2019-07-03 15:43:43 PDT
I suppose spin buttons are not scrollers, so it’s strange to respect the setting here.