[Webkit-unassigned] [Bug 7360] Styling spans not removed after deleting all content

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Feb 22 14:03:43 PST 2006


justin.garcia at apple.com changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

------- Comment #3 from justin.garcia at apple.com  2006-02-22 14:03 PDT -------
(In reply to comment #0)
> This is the same behaviour as TextEdit, however, for TextEdit, there is no well-defined default
> style. 

In TextEdit, create a few lines of bold text, with an empty line somewhere in
the middle.  Click in that empty line, unbold with command-b, and start typing.
 You'll get unbolded text.  Now, delete all the text on that line, and begin
typing again.  You'll still have unbolded text.  So, even though you're inside
a bold context, the unbold style hangs onto the caret even though you've
deleted all unbold text.

Also notice that if you click somewhere else and then click back on the empty
line and start typing, you'll get bold text.  So clicking away and clicking
back blows away the unbold style that was hanging on the caret.  We mimic this
behavior as well.

We consider this behavior correct, since our goal in general has been to mimic
the behavior of TextEdit.

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