[webkit-dev] Editable selection inside empty element
Andre-John Mas
ajmas at sympatico.ca
Sat Sep 22 10:03:00 PDT 2007
On 21-Sep-07, at 15:58 , Mark Rowe wrote:
>
> On 21/09/2007, at 21:53, Frederico Caldeira Knabben wrote:
>
>> For the few big issues we are having with Safari, I'm going almost
>> crazy,
>> trying to find a way to place the caret inside an empty element
>> for editing.
>> To understand the problem, just try the following page:
>>
>> http://www.fredck.com/bugs/safari/collapsed_select_test.html
>>
>> This page works well with Firefox 2 and Opera 9.5 (minor issues
>> with this
>> one).
>>
>> Before opening a bug report for it, I'm coming to the mailing list
>> for a
>> desperate call for help.
>
> Please do file a bug report on this at http://bugs.webkit.org/.
> I'm not an expert on editing support by any means, but the
> behaviour you are expecting to see from the test case sounds correct.
>
> On an unrelated note,
>> // For Safari and Opera, we must ensure the focus.
>> if ( (/safari/i).test( navigator.userAgent ) )
Or even better for the presence of a DOM element, since DOMs can
change even if the browser doesn't.
Andre
More information about the webkit-dev
mailing list