Bug 66021

Summary: Editing can modify inline style declaration of root editable element
Product: WebKit Reporter: Justin Garcia <justin.garcia>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ayg, justin.garcia
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase none

Justin Garcia
Reported 2011-08-10 16:59:06 PDT
Created attachment 103558 [details] testcase contentEditable should do only what it suggests: make the content of the element editable. open the attached test case. it unbolds the contents of an editable document, where the body has style="font-weight:bold". WebKit removes font-weight:bold from the body. FF does not. <rdar://problem/9702793>
Attachments
testcase (482 bytes, text/html)
2011-08-10 16:59 PDT, Justin Garcia
no flags
Justin Garcia
Comment 1 2011-08-10 17:00:10 PDT
(In reply to comment #0) > Created an attachment (id=103558) [details] > testcase > > contentEditable should do only what it suggests: make the content of the element editable. this should have read "contentEditable should do only what its name suggests: make the content of an element editable".
Aryeh Gregor
Comment 2 2011-08-19 14:28:13 PDT
I'm not seeing the problem in Chrome 15.0.854.0 dev. It adds a span with font-weight: normal.
Justin Garcia
Comment 3 2011-08-19 18:27:06 PDT
Ah. Looks fixed in a nightly build on Mac OS 10.6.8.
Note You need to log in before you can comment on or make changes to this bug.