Bug 92239

Summary: REGRESSION(r112919): Can't operate textarea with scrollbar if it's hidden and shown
Product: WebKit Reporter: Kent Tamura <tkent>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: jchaffraix, rakeshchaitan
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Kent Tamura
Reported 2012-07-25 04:27:02 PDT
Reported in http://code.google.com/p/chromium/issues/detail?id=137843 1. Open the following document. Expected: - Placeholder is shown in the textarea - We can type into the textarea Actual: - Placeholder is not shown - We can't type anything ---------------- <textarea id=ta1 placeholder=placeholder> </textarea> <script> setTimeout(function() { ta1.focus(); document.execCommand('inserttext', false, 'aaaaaaaaaaaaa\nbbbbbbbbbbb\ncccccccccc\ndddd\neeeeeee\nffffff\n'); var len = ta1.value.length; ta1.selectionStart = len - 10; ta1.selectionEnd = len - 10; ta1.blur(); ta1.focus(); ta1.blur(); ta1.value = ''; ta1.style.display = 'none'; ta1.style.display = 'block'; ta1.focus(); }, 0); </script> ----------------
Attachments
Kent Tamura
Comment 1 2012-07-25 04:27:42 PDT
I confirmed reverting http://trac.webkit.org/changeset/112919 fixed the problem.
Kent Tamura
Comment 2 2012-07-25 18:15:37 PDT
Confirmed this was fixed by http://trac.webkit.org/changeset/123637. *** This bug has been marked as a duplicate of bug 89114 ***
Note You need to log in before you can comment on or make changes to this bug.