[webkit-dev] Unapplying execCommand
ap at webkit.org
Sat Oct 9 16:43:06 PDT 2010
09.10.2010, в 16:03, Ryosuke Niwa написал(а):
> Please correct me if you misunderstood your solution but doesn't that change the behavior of Safari if website executed multiple execCommand's in a single user initiated action? Suppose we had the following senario:
Yes, it does change behavior in this case (which is why I called this another option, not a better option). Presumably the site expects such behavior, and can be broken if more than one command is undone.
Note that when one applies bold/italic via menu commands, they are undone individually (as Darin explained, the default behavior is to group commands executed as one event, and also typing is combined into a single command, of course).
> Nonetheless, I'm a little concerned that some users might get confused by the change.
Do you have examples of sites that do something like this? It sounds like users would be confused on any platform, not just Mac OS X - so sites may already work around that.
- WBR, Alexey Proskuryakov
More information about the webkit-dev