Re: [webkit-dev] SmartDelete incorrect?

2010-02-23 Thread Ojan Vafai
On Tue, Feb 23, 2010 at 1:49 PM, Darin Adler wrote: > On Feb 22, 2010, at 6:47 PM, Ojan Vafai wrote: > > So, specifically, if I have "foo bar baz" and I select the word "foo" > using cmd+shift+right, hitting delete will delete the space in WebKit, but > *not* in TextEdit. If, however, I select th

Re: [webkit-dev] SmartDelete incorrect?

2010-02-23 Thread Darin Adler
On Feb 22, 2010, at 6:47 PM, Ojan Vafai wrote: > From the test: > Tests: Smart delete when deleting the first word on a line. > Expected Results: The first word and the space following the first word > should be deleted. That is the correct result. But you only get smart deletion you use double

Re: [webkit-dev] SmartDelete incorrect?

2010-02-23 Thread Darin Adler
On Feb 22, 2010, at 6:47 PM, Ojan Vafai wrote: > As best I can tell, smart delete/paste were added for Mail at > http://trac.webkit.org/changeset/7627. Until now, I've understood that the > "correct" Mac platform text editing behavior is what TextEdit does. I’ll check with some folks here at Ap

Re: [webkit-dev] SmartDelete incorrect?

2010-02-22 Thread Ojan Vafai
To clarify, I understand that Mail uses WebKit. The part I don't understand is that WebKit and Mail don't seem to match the rest of the platform. On Mon, Feb 22, 2010 at 6:47 PM, Ojan Vafai wrote: > I'm looking at > http://trac.webkit.org/log/trunk/LayoutTests/editing/deleting/smart-delete-001.h

[webkit-dev] SmartDelete incorrect?

2010-02-22 Thread Ojan Vafai
I'm looking at http://trac.webkit.org/log/trunk/LayoutTests/editing/deleting/smart-delete-001.html . Currently WebKit matches Apple Mail behavior, but not TextEdit. As best I can tell, smart delete/paste were added for Mail at http://trac.webkit.org/changeset/7627. Until now, I've understood that