Bug 79815 - Deleting content of password input fields causes a noticeable hang in large documents
Summary: Deleting content of password input fields causes a noticeable hang in large d...
Status: RESOLVED DUPLICATE of bug 123973
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 82620 103936 112473 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-28 11:23 PST by Selina
Modified: 2013-11-22 09:32 PST (History)
12 users (show)

See Also:


Attachments
Reduced test case for password field (61.28 KB, text/html)
2012-02-28 11:23 PST, Selina
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Selina 2012-02-28 11:23:24 PST
Created attachment 129297 [details]
Reduced test case for password field

Input fields, of either type="password" or having a style attribute of "-webkit-text-security" can cause a noticeable hang when backspacing up to the last character, when there is a significant amount of content to repaint. 

This only happens with input fields that come after the content. Input fields before the content does not make the multiple repaint calls. Hiding the content with visibility:hidden or display:none removes the need for repaint. 

How to reproduce: 
1. Open the attachment in webkit
2. Open webkit inspector and begin recording in timeline
3. Scroll to the bottom of the content, labeled "Form 4"
4. Type in a few characters in the "Password" field
5. Backspace until the characters are deleted
6. The delay should be noticeable by now, and observe in timeline how there are multiple repaints of the content.
Comment 1 Daniel Bates 2012-02-28 11:36:42 PST
Confirmed that in Mac nightly r10909 (and Safari Version 5.1.3 (7534.53.10)), deleting the last character in the password field of Form 4 and Form 5 causes a noticeable hang.
Comment 2 Alexey Proskuryakov 2012-03-29 12:24:10 PDT
*** Bug 82620 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Proskuryakov 2012-03-29 12:24:28 PDT
<rdar://problem/11148797>
Comment 4 Alexey Proskuryakov 2012-12-04 10:56:53 PST
*** Bug 103936 has been marked as a duplicate of this bug. ***
Comment 5 Alexey Proskuryakov 2013-03-15 16:37:33 PDT
*** Bug 112473 has been marked as a duplicate of this bug. ***
Comment 6 Martin Robinson 2013-09-25 16:01:55 PDT
I think I found this one. Should have a patch soon.
Comment 7 Alexey Proskuryakov 2013-11-22 09:32:32 PST
Patch in bug 123973 fixed this.

*** This bug has been marked as a duplicate of bug 123973 ***