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

RESOLVED FIXED in mozilla1.9.3a5

Status

()

Core
Layout: Form Controls
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Away for a while, Assigned: Away for a while)

Tracking

Trunk
mozilla1.9.3a5
x86
All
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
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.
(Assignee)

Comment 2

8 years ago
Created attachment 445224 [details] [diff] [review]
Patch (v1)

(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)
Attachment #445224 - Flags: review?(roc) → review+
(Assignee)

Comment 3

8 years ago
http://hg.mozilla.org/mozilla-central/rev/8b7a09996755
Status: ASSIGNED → RESOLVED
Last Resolved: 8 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.