<div class="gmail_quote">On Sat, Oct 9, 2010 at 4:43 PM, Alexey Proskuryakov <span dir="ltr">&lt;<a href="mailto:ap@webkit.org">ap@webkit.org</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">
&gt; Please correct me if you misunderstood your solution but doesn&#39;t that change the behavior of Safari if website executed multiple execCommand&#39;s in a single user initiated action?  Suppose we had the following senario:<br>


<br>
</div>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.<br></blockquote>

<div><br></div><div>I agree.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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).<br>

</blockquote><div><br></div><div>Right, and I think that&#39;s what a user expects to happen.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">


&gt; Nonetheless, I&#39;m a little concerned that some users might get confused by the change.<br>
<br>
</div>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.<br></blockquote><div><br></div><div>Unfortunately, I don&#39;t.  Julie &amp; Ojan will probably be able to give us some references but they&#39;re both OOO right now.</div>

<div><br></div><div>- Ryosuke</div></div>