Bug 29982 - REGRESSION (r47440): Inserting text in the middle of content in a scrolled textfield results in painting bugs
Summary: REGRESSION (r47440): Inserting text in the middle of content in a scrolled te...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: data:text/html,%3Cinput%20value=%22th...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2009-10-01 14:16 PDT by Adam Roben (:aroben)
Modified: 2009-10-05 16:37 PDT (History)
4 users (show)

See Also:


Attachments
Reduction not involving form controls (174 bytes, text/html)
2009-10-05 14:47 PDT, mitz
no flags Details
Fix (21.31 KB, patch)
2009-10-05 16:00 PDT, mitz
darin: 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) 2009-10-01 14:16:32 PDT
To reproduce:

1. Go to data:text/html,%3Cinput%20value=%22this%20is%20a%20long%20test%20value%20that%20you%20should%20overwrite%20to%20see%20painting%20bugs%22%3E
2. Click in the text field
3. Press the right arrow until the word "this" has scrolled off the left edge of the text field
4. Click just before the "v" in "value"
5. Type a few characters

The word "that" starts getting clobbered by the word "value", instead of moving to the right.

This happens on both Mac and Windows. It did not happen in Safari 4.0.3.
Comment 1 Adam Roben (:aroben) 2009-10-01 14:16:58 PDT
<rdar://problem/7269108>
Comment 2 mitz 2009-10-02 21:04:55 PDT
Caused by <http://trac.webkit.org/changeset/47440>.
Comment 3 mitz 2009-10-05 14:47:38 PDT
Created attachment 40664 [details]
Reduction not involving form controls
Comment 4 mitz 2009-10-05 16:00:30 PDT
Created attachment 40671 [details]
Fix
Comment 5 mitz 2009-10-05 16:37:44 PDT
Fixed in <http://trac.webkit.org/projects/webkit/changeset/49131>.