Re: [webkit-dev] Add SelectionChange event for content editable regions

2010-10-21 Thread Ryosuke Niwa
A patch has been submitted to https://bugs.webkit.org/show_bug.cgi?id=45712. - Ryosuke On Mon, Oct 11, 2010 at 6:21 PM, Ryosuke Niwa rn...@webkit.org wrote: On Mon, Oct 11, 2010 at 11:34 AM, Darin Adler da...@apple.com wrote: It seems that if our aim is to be compatible with the IE event, we

Re: [webkit-dev] Add SelectionChange event for content editable regions

2010-10-11 Thread Darin Adler
It seems that if our aim is to be compatible with the IE event, we should make our implementation as close to the IE one as possible. I’m not sure that firing the same event, but with a different target, will be good for compatibility. Is there some chance this could lead to a webpage that

Re: [webkit-dev] Add SelectionChange event for content editable regions

2010-10-11 Thread Ryosuke Niwa
On Mon, Oct 11, 2010 at 11:34 AM, Darin Adler da...@apple.com wrote: It seems that if our aim is to be compatible with the IE event, we should make our implementation as close to the IE one as possible. I’m not sure that firing the same event, but with a different target, will be good for

[webkit-dev] Add SelectionChange event for content editable regions

2010-10-07 Thread Ryosuke Niwa
Greetings all, I propose to implement selectionchange event, an event dispatched whenever selection changes. This event allows developers to be notified of selection change, and can be used to update status for RTE (e.g. toggling the appearance of bold button based on the context around caret).