<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Aug 31, 2009, at 7:44 PM, <a href="mailto:bweinstein@apple.com">bweinstein@apple.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-family: monospace; line-height: 14px; white-space: pre; ">+    if (m_renderer-&gt;isTextArea())
+        return static_cast&lt;HTMLInputElement*&gt;(m_renderer-&gt;node())-&gt;readOnly();</span></span><br class="Apple-interchange-newline"></blockquote></div><br><div>This doesn't look right. I think we should be casting to HTMLTextAreaElement. A &lt;textarea&gt; in the test case might have caught this.</div><div><br></div><div>-Adam</div><div><br></div></body></html>