Closed Bug 972202 Opened 10 years ago Closed 10 years ago

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

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 972209

People

(Reporter: osk4095, Unassigned)

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".
CC list accessible: false
Not accessible to reporter
Group: core-security
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.