[Webkit-unassigned] [Bug 92239] New: REGRESSION(r112919): Can't operate textarea with scrollbar if it's hidden and shown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 04:26:58 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=92239

           Summary: REGRESSION(r112919): Can't operate textarea with
                    scrollbar if it's hidden and shown
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P1
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org
                CC: jchaffraix at webkit.org, rakesh.kn at motorola.com


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>
----------------

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list