[Webkit-unassigned] [Bug 85793] Caret not rendered in empty contenteditable field.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 7 13:45:43 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85793


Shezan Baig <shezbaig.wk at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |shezbaig.wk at gmail.com
                   |kit.org                     |
                 CC|                            |rniwa at webkit.org




--- Comment #2 from Shezan Baig <shezbaig.wk at gmail.com>  2012-05-07 13:45:43 PST ---
When the element is not empty, RenderText::localCaretRect is used to compute the caret location.

When the element is empty, RenderObject::localCaretRect is used, which returns an empty rect.  The renderer used in this case is a RenderInline, which doesn't override 'localCaretRect' from RenderObject.

It looks like we need to add an implementation of RenderInline::localCaretRect.  I'm guessing it will be very similar to RenderText::localCaretRect.  I'll start experimenting with this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list