[Webkit-unassigned] [Bug 7245] caret does not display at the end of some lines in contenteditable divs

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Feb 17 06:36:40 PST 2006


Graham.Dennis at gmail.com changed:

           What    |Removed                     |Added
   Attachment #6564|                            |review?
               Flag|                            |

------- Comment #4 from Graham.Dennis at gmail.com  2006-02-17 06:36 PDT -------
Created an attachment (id=6564)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=6564&action=view)

This problem is caused by the contentEditable styling not being applied for
elements which do not have a renderer when setContentEditable() is called on
the root element. This bug is not present in Mail.app as the HTML body is set
editable programmatically once the renderers exist. The check is in
applyEditingStyleToElement, and is used to check that the element that the
editing style is being applied to has a renderer that is a BlockFlow. However,
this check doesn't make sense (to me) as although the root contentEditable
element may not be a BlockFlow, elements that inherit the style from it may be.
My solution is to simply remove the BlockFlow check (and the renderer check).

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list