Closed Bug 565775 Opened 14 years ago Closed 14 years ago

The editor will not be correctly initialized for <input type=tel> on user events

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

()

Details

Attachments

(1 file)

This is because nsHTMLInputElement::NeedToInitializeEditorForEvent wasn't modified to include <input type=tel> in bug 557620.
A call to |IsSingleLineTextControl(PR_FALSE)| should be enough, right ? If you want/if you are too busy, I can write that patch.
Attached patch Patch (v1)Splinter Review
(In reply to comment #1)
> A call to |IsSingleLineTextControl(PR_FALSE)| should be enough, right ? If you
> want/if you are too busy, I can write that patch.

Yes!  It's fine, I already had the patch when I filed it.  I just wanted to extend the test case to include it as well.
Attachment #445224 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/8b7a09996755
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: