1) Go to report a new bug 2) Double click UNCONFIRMED 3) Click and hold for a second over it so you can drag 4) Drop it into Assign To (a read-only field) The text will appear in that field now Tested on latest nightly as of 9:10PM Jul 31 2006
Confirmed with r15718.
Created attachment 9785 [details] Manual test case This manual test case is here so that people with higher privileges within Bugzilla can see the issue. Select the text that says 'Drag me!' and drop it into the text field. The drop should be rejected.
Updating keywords.
Dragging is allowed since the user-modify property of the text field's inner div is set according to the rule element->isReadOnlyControl() ? READ_ONLY : READ_WRITE_PLAINTEXT_ONLY (appearing in two places in RenderTextControl). The fix may be as simple as changing it to element->isReadOnlyControl() || element->disabled() ? READ_ONLY : READ_WRITE_PLAINTEXT_ONLY
Changing bug summary. Read-only fields (having the readonly attribute) actually behave correctly :-)
Created attachment 9794 [details] Patch, including change log, layout test, and a change to DRT to make the test work
Comment on attachment 9794 [details] Patch, including change log, layout test, and a change to DRT to make the test work looks good, r=me
Comment on attachment 9794 [details] Patch, including change log, layout test, and a change to DRT to make the test work Looks good. r=me
Double review! Twice the fun!
Committed revision 15768.