Ads by Google
Posted by ellen at April 07, 2005 09:09 AM Below are some test form elements to see what Safari does with them. I believe I've found the answer. The way the article is copied into three columns is using the cloneNode method. According to this article: Document Object Model Core "Cloning an Element copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes, but this method does not copy any text it contains unless it is a deep clone, since the text is contained in a child Text node. " Therefore it may not copy the content of a text area, but only the "value" attribute of a single line textfield, since it is within the tag, not part of the content of the field.
April 22: After a recent update to Mac OSX, bringing Safari to version 1.3 (v312), the contents of cloned textareas now display! Thank you Apple!