Closed Bug 972209 Opened 10 years ago Closed 10 years ago

When set "0" to "cursor" of setComposition.

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 975276

People

(Reporter: osk4095, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206152142

Steps to reproduce:

Set "0" to "cursor" of setComposition(DOMString text, optional long cursor), InputContext
  
InputContext.setComposition(text, 0);


Actual results:

A cursor moves to end of a string not head of a string.


Expected results:

A cursor should move to head of a string.
Then you can input character(s) from the head of the string.


The specification defines that the value set to "cursor" should be 0 or more and lees or string length.

   0 ≦ cursor ≦ String length

Therefore, please design it to move a cursor to head of a string if "0" is set to "cursor".
blocking-b2g: --- → 1.3?
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Can you include a HTML test case to reproduce the bug?
Flags: needinfo?(osk4095)
No response to needinfo request, so clearing blocking flag.
blocking-b2g: 1.3? → ---
Flags: needinfo?(osk4095)
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.