Steps to reproduce:
1. Open Bug 6900.
2. Click on "Edit" link next to patch attachment.
3. Click on "Edit Attachment As Comment".
The "Comment (on the bug)" textarea is hidden and the diff in the window is replaced by the same diff with quote (">") characters on the first line. (See behavior in Firefox 1.5.)
Note that other types of attachments (such as text/html) behave differently, although they still don't work as expected, either. See Bug 6916 for a text/html attachment.
Created attachment 6256 [details]
An <iframe></iframe> element that is hidden with style "display: none;" still has content, but iframeElement.contentDocument returns an undefined value when the iframe is hidden.
Updating Summary to match the issue. Changed NeedsReduction keyword to HasReduction.
Same bug occurs in Safari 2.0.3 (417.8) on 10.4.4, so it's not a regression.
Test case works in Firefox 18.104.22.168. MSIE 6 does not have an XMLSerializer object, so this feature of Bugzilla is not even enabled in it.
Sounds closely related to bug 3581. I'm re-adding the original summary, to make this issue easier to find.
(In reply to comment #0)
> Steps to reproduce:
> 1. Open Bug 6900.
> 2. Click on "Edit" link next to patch attachment.
> 3. Click on "Edit Attachment As Comment".
The current version of Bugzilla on http://bugzilla.opendarwin.org/ seems to have worked around this Safari issue. However, the test case (Attachment 6256 [details]) still does not work in WebKit r14810 today.
This was fixed a while ago. Not sure what fixed it, though.
Probably, bug 3581.