Closed
Bug 940696
Opened 11 years ago
Closed 11 years ago
Ensure that Firefox OS brings up the number pad when a user focuses an <input type=number>
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Firefox OS Graveyard
Gaia::Keyboard
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file)
1.08 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
With the patches for the various bugs to implement <input type=number> (bug 344616) it seems Firefox OS gets confused and opens the normal keyboard instead of the number pad when a number control is selected. See the "Gu" failures here:
https://tbpl.mozilla.org/?tree=Try&rev=326fa139fd34
This is perhaps not surprising since the content now looks like this:
<input type=number>
<!-- start of anonymous content -->
<div>
<input type=text>
<div>
<!-- some button elements -->
</div>
</div>
<!-- end of anonymous content -->
</input>
The anonymous <input type=text> takes focus for the number control, and presumably the logic that determines which keyboard in brought up depends on the focused element. I need to fix that logic so that it will correctly bring up the number pad.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8334906 -
Flags: approval-gaia-v1.2?
Assignee | ||
Updated•11 years ago
|
Attachment #8334906 -
Flags: approval-gaia-v1.2? → review?(bugs)
Assignee | ||
Updated•11 years ago
|
Attachment #8334906 -
Flags: review?(bugs) → review?(fabrice)
Updated•11 years ago
|
Attachment #8334906 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #0)
> https://tbpl.mozilla.org/?tree=Try&rev=326fa139fd34
Since TBPL logs don't live forever, I should record the failures here for the record:
TEST-UNEXPECTED-FAIL | test_number_keyboard.py test_number_keyboard.TestNumberKeyboard.test_number_keyboard | MarionetteException: Please start a session
TEST-UNEXPECTED-FAIL | test_number_keyboard.py test_number_keyboard.TestNumberKeyboard.test_number_keyboard | AssertionError: 'en' != 'number'
raise TimeoutException(message)
TEST-UNEXPECTED-FAIL | test_settings_passcode.py test_settings_passcode.TestSettingsPasscode.test_set_passcode_by_settings | TimeoutException: Condition timed out
TEST-UNEXPECTED-FAIL | test_settings_passcode.py test_settings_passcode.TestSettingsPasscode.test_set_passcode_by_settings | MarionetteException: Please start a session
Return code: 2560
Marionette exited with return code 2560: harness failures
# TBPL FAILURE #
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•