Bug 23277 - space bar scrolls the page when typed in any text field
Summary: space bar scrolls the page when typed in any text field
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Windows Vista
: P1 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-01-12 14:55 PST by Alice Liu
Modified: 2009-03-02 16:03 PST (History)
2 users (show)

See Also:


Attachments
patch (1.74 KB, patch)
2009-01-12 15:51 PST, Darin Adler
no flags Details | Formatted Diff | Diff
patch (4.15 KB, patch)
2009-01-13 09:45 PST, Darin Adler
adele: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Liu 2009-01-12 14:55:06 PST
pressing the space bar in a text field ends up scrolling the page instead of entering a space.

steps to repro: 
1) any textfield should work, but i noticed this on gmail login page (resize window to have scrollbars)
2) type space!

This reproduces with revision 39773, and I suspect http://trac.webkit.org/changeset/39771 to be the cause

<rdar://problem/6490249>
Comment 1 Darin Adler 2009-01-12 15:51:22 PST
Created attachment 26652 [details]
patch
Comment 2 Darin Adler 2009-01-13 08:58:16 PST
I'll have this fixed in a few minutes. I've figured it out, but I'm taking the time to write a regression test.
Comment 3 Darin Adler 2009-01-13 09:45:30 PST
Created attachment 26671 [details]
patch
Comment 4 Darin Adler 2009-01-13 10:00:20 PST
http://trac.webkit.org/changeset/39864
Comment 5 Marc-André Decoste 2009-03-02 16:03:51 PST
This fix introduced a new bug (found using Chromium "http://crbug.com/7112") that also reproduces with  a recent version of WebKit without Chromium.

So I created a new bug for it on the WebKit side:
https://bugs.webkit.org/show_bug.cgi?id=24304