Closed Bug 335978 Opened 16 years ago Closed 15 years ago

Form submit button (kinda) works despite designMode='on'

Categories

(Core :: DOM: Editor, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

685 bytes, application/xhtml+xml
Details
Steps to reproduce:
1. Click a form submission button in a designMode iframe.

Result:
* If the form doesn't have a target, a new *empty* tab appears when the form submission succeeds.
* If the form has target=_blank, form submission into a new tab works normally.

Expected:
* Nothing should happen, except for caret/focus/selection changes.
Attached file testcase
> If the form doesn't have a target, a new *empty* tab appears when the form
> submission succeeds.

The same strangeness also happens after designMode has been set back to 'off', and also occurs with untargeted *links*, so it's probably a separate bug.
Blocks: 336139
QA Contact: editor
Assignee: mozeditor → nobody
WFM on trunk.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.