[Webkit-unassigned] [Bug 7360] New: Styling spans not removed after deleting all content
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sun Feb 19 04:44:42 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7360
Summary: Styling spans not removed after deleting all content
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: Graham.Dennis at gmail.com
Let me prefix this by saying that I'm not sure that this actually is a bug.
If one adds styling to the text at the start of a contentEditable div, and then
deletes all of the content in the div, any new text that is added has the
styling that was added to the text at the start of the div. This is the same
behaviour as TextEdit, however, for TextEdit, there is no well-defined default
style. For a contentEditable div, it is possible that a style has been applied
to the div, which has since been overridden by the span. It makes sense that
there should be a way to remove the style applied by the span. One way to do
this would be to remove a span once it contains no text.
I'll attach a testcase.
--
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