Bug 47544 - REGRESSION: Pressing spacebar in a text field in WebKit2 does not insert a space, scrolls the page instead
Summary: REGRESSION: Pressing spacebar in a text field in WebKit2 does not insert a sp...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: data:text/html,%3Cdiv%20style=%22over...
Keywords: InRadar, PlatformOnly, Regression
Depends on:
Blocks:
 
Reported: 2010-10-12 09:35 PDT by Adam Roben (:aroben)
Modified: 2010-10-13 10:41 PDT (History)
4 users (show)

See Also:


Attachments
Let WebCore handle scrolling when the spacebar is pressed (2.67 KB, patch)
2010-10-12 10:00 PDT, Adam Roben (:aroben)
no flags Details | Formatted Diff | Diff
Let WebCore handle scrolling when the spacebar is pressed on Windows (22.64 KB, patch)
2010-10-13 10:31 PDT, Adam Roben (:aroben)
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-10-12 09:35:03 PDT
To reproduce:

1. Go to data:text/html,%3Cdiv%20style=%22overflow:scroll;%20height:200px%22%3E%3Ctextarea%20style=%22height:300px%22%3E
2. Click in the textarea
3. Press the spacebar

A space is not inserted in the textarea. Instead, the <div> containing it gets scrolled!
Comment 1 Adam Roben (:aroben) 2010-10-12 09:35:51 PDT
<rdar://problem/8540645>
Comment 2 Adam Roben (:aroben) 2010-10-12 10:00:50 PDT
Created attachment 70539 [details]
Let WebCore handle scrolling when the spacebar is pressed
Comment 3 Adam Roben (:aroben) 2010-10-13 10:31:52 PDT
Created attachment 70623 [details]
Let WebCore handle scrolling when the spacebar is pressed on Windows
Comment 4 WebKit Review Bot 2010-10-13 10:34:23 PDT
Attachment 70623 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebKitTools/TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:26:  Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WebKitTools/TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:28:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 2 in 13 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Adam Roben (:aroben) 2010-10-13 10:41:45 PDT
Committed r69671: <http://trac.webkit.org/changeset/69671>