Bug 13125

Summary: removeformat execCommand loses input elements
Product: WebKit Reporter: J Boss <bosspro>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: alexander.steitz, marcosalmeida, rniwa
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 43017    
Bug Blocks:    

Description J Boss 2007-03-19 21:02:26 PDT
In an iframe with designMode on, if execCommand('removeformat',false,null) is called on the iframe and the selection contains an <input> element, the <input> element is removed from the document.
Comment 1 Alex Steitz 2007-05-25 03:28:48 PDT
This also true for any image. All images within the selection get removed from the document when calling "removeFormat".
Comment 3 Ryosuke Niwa 2010-10-25 14:03:58 PDT
This bug has been fixed since http://trac.webkit.org/changeset/70283.