https://bugzilla.wikimedia.org/show_bug.cgi?id=30130

--- Comment #3 from Brion Vibber <br...@wikimedia.org> 2011-08-02 07:12:20 UTC 
---
Ok, here's what it looks like is happening:

* user types "m"
** select (0, 0] (empty selection)
** insert "म्" (two characters: "m" and no-vowel placeholder)
* user types "i"
** select (1, 2] (select the second char: no-vowel placeholder)
** insert "ि" ("i" combining character, replacing the placeholder)

In Firefox, this works fine.

But in Chrome & Safari, the setSelection call to (1, 2] fails -- the resulting
selection is set to (2, 2], so we end up inserting the new character after the
character we meant to replace.

I think the system is trying to outsmart us and isn't letting us select a
combining character by itself... which is pretty inconvenient since that's
explicitly what we're trying to do. :P

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to