Bug 47544

Summary: REGRESSION: Pressing spacebar in a text field in WebKit2 does not insert a space, scrolls the page instead
Product: WebKit Reporter: Adam Roben (:aroben) <aroben@webkit.org>
Component: WebKit2Assignee: Nobody <webkit-unassigned@lists.webkit.org>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca@apple.com, enrica@apple.com, sam@webkit.org, webkit.review.bot@gmail.com
Priority: P2 Keywords: InRadar, PlatformOnly, Regression
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: data:text/html,%3Cdiv%20style=%22overflow:scroll;%20height:200px%22%3E%3Ctextarea%20style=%22height:300px%22%3E
Attachments:
Description Flags
Let WebCore handle scrolling when the spacebar is pressed
none
Let WebCore handle scrolling when the spacebar is pressed on Windows sam: review+

Description From 2010-10-12 09:35:03 PST
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 From 2010-10-12 09:35:51 PST -------
<rdar://problem/8540645>
------- Comment #2 From 2010-10-12 10:00:50 PST -------
Created an attachment (id=70539) [details]
Let WebCore handle scrolling when the spacebar is pressed
------- Comment #3 From 2010-10-13 10:31:52 PST -------
Created an attachment (id=70623) [details]
Let WebCore handle scrolling when the spacebar is pressed on Windows
------- Comment #4 From 2010-10-13 10:34:23 PST -------
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 From 2010-10-13 10:41:45 PST -------
Committed r69671: <http://trac.webkit.org/changeset/69671>