**Steps to reproduce This bug is very similar to Bug 3481, except reproducing it is a little different. To properly reproduce this bug, the form must be an orphan that has not yet been added to the document.body. I used appendChild() instead of innerHTML in my test case, but the same results occur with innerHTML. See attachment for testcase. **Version Safari version: 2.0.4 (419.3) **Other browsers Works in IE and Firefox
Created attachment 9796 [details] Testcase
(In reply to comment #0) > **Version > Safari version: 2.0.4 (419.3) The "419.3" here is actually the Safari build, not the WebKit build. The WebKit build is 418.8 for this version of Safari: http://developer.apple.com/internet/safari/uamatrix.html Brian, please try the nightly WebKit builds to see if the issue is already fixed in Subversion, and report back here. http://nightly.webkit.org/ Thanks for taking the time to report this bug, and for creating a reduced test case!
(In reply to comment #0) > **Version > Safari version: 2.0.4 (419.3) Also note that the Safari version and build numbers DO NOT change when running with the WebKit nightly builds! You must get the WebKit nightly build version (rNNNNN) off the DMG name. Please report which version of the WebKit nightly, too!
Fails on nightly build as well. Nightly build version: r15731
Confirmed with both WebKit r15750 and 418.8. Works as expected in Firefox.
Created attachment 11773 [details] First attempt This is one way of fixing the problem. Since I am not sure about how the document versions should work, I may need some more guidance :) Cheers, Rob.
Created attachment 11774 [details] fixing testcase As Mitz pointed out, the testcase was way off, I was cleaning up code, but removed too much... Cheers, Rob.
Comment on attachment 11774 [details] fixing testcase r=me
Landed in r18090.