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>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, enrica, sam, webkit.review.bot
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 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>