Bug 12370 - Assigning a value to a hidden textarea reverts textarea to default value
Summary: Assigning a value to a hidden textarea reverts textarea to default value
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 419.x
Hardware: Mac (Intel) OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 12:41 PST by Jamis Buck
Modified: 2007-01-22 13:12 PST (History)
0 users

See Also:


Attachments
HTML Form, Javascript, and instructions for reproducing this bug (1.42 KB, text/html)
2007-01-22 12:42 PST, Jamis Buck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jamis Buck 2007-01-22 12:41:39 PST
When using javascript to assign a value to a textarea, the textarea's value will instead be reverted to it's default if the textarea is hidden (e.g., inside a div with "display: none", etc.). I will attach an HTML file that includes a form with Javascript for reproducing the bug.
Comment 1 Jamis Buck 2007-01-22 12:42:47 PST
Created attachment 12612 [details]
HTML Form, Javascript, and instructions for reproducing this bug
Comment 2 Matt Lilek 2007-01-22 13:08:33 PST
This seems to be fixed on ToT.
Comment 3 David Kilzer (:ddkilzer) 2007-01-22 13:12:36 PST
Jamis, thanks for taking the time to file this bug!

This works for me testing with a locally-built debug build of WebKit r19028 with Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8N1037).  Therefore closing as RESOLVED/FIXED.

Please see Bug 12199 Comment #3 for speculation on when a fixed version of WebKit may be available.  You may test other bugs using a nightly build from http://nightly.webkit.org/.