[Webkit-unassigned] [Bug 106110] New: Deleting all content in a contentEditable section, followed by typing again places computed style CSS in a span tag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 4 10:42:07 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=106110
Summary: Deleting all content in a contentEditable section,
followed by typing again places computed style CSS in
a span tag
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://jsfiddle.net/tomprogramming/wS4Gp/9/
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tomprogramming at gmail.com
In the linked jsfiddle on chrome 23 and safari 5.1.7, if you delete all the text in the orange section, then start typing again, the text appears to be styled the same, but rather than having a <span> with the appropriate class, it has the computed style that makes up that class.
Expected Behavior:
The span that was there to begin with should remain, or a clone of it that has the same classes and attributes.
Actual Behavior:
Computed style is used, rendering explicit styles surrounding the text, making the use of a rich text editor that allows for custom formatting a bit difficult to parse (if it's looking for the classes that were originally there).
--
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