[webkit-dev] Unapplying execCommand

Ryosuke Niwa rniwa at webkit.org
Sat Oct 9 16:53:06 PDT 2010

On Sat, Oct 9, 2010 at 4:43 PM, Alexey Proskuryakov <ap at webkit.org> wrote:
>  > 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.

I agree.

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).

Right, and I think that's what a user expects to happen.

> 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.

Unfortunately, I don't.  Julie & Ojan will probably be able to give us some
references but they're both OOO right now.

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20101009/c8627a3a/attachment.html>

More information about the webkit-dev mailing list