<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>13125</bug_id>
          
          <creation_ts>2007-03-19 21:02:26 -0700</creation_ts>
          <short_desc>removeformat execCommand loses input elements</short_desc>
          <delta_ts>2010-10-25 14:03:58 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>43017</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="J Boss">bosspro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alexander.steitz</cc>
    
    <cc>marcosalmeida</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18139</commentid>
    <comment_count>0</comment_count>
    <who name="J Boss">bosspro</who>
    <bug_when>2007-03-19 21:02:26 -0700</bug_when>
    <thetext>In an iframe with designMode on, if execCommand(&apos;removeformat&apos;,false,null) is called on the iframe and the selection contains an &lt;input&gt; element, the &lt;input&gt; element is removed from the document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9152</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Steitz">alexander.steitz</who>
    <bug_when>2007-05-25 03:28:48 -0700</bug_when>
    <thetext>This also true for any image. All images within the selection get removed from the document when calling &quot;removeFormat&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294460</commentid>
    <comment_count>2</comment_count>
    <who name="Marcos Almeida">marcosalmeida</who>
    <bug_when>2010-10-14 16:40:40 -0700</bug_when>
    <thetext>Plexode repro for the image case:

http://plexode.com/eval3/#ht=%3Cdiv%20contentEditable%3D%22true%22%3EHello%20%3Cb%3EWorld!%3C%2Fb%3E%3Cbr%3E%0A%3Cimg%20src%3D%22http%3A%2F%2Fwww.google.com%2Fimages%2Flogo.gif%22%3E%3Cbr%3E%0AGoodbye!%3C%2Fdiv%3E&amp;ohh=0&amp;ohj=0&amp;jt=document.execCommand(&apos;RemoveFormat&apos;%2C%20false%2C%20undefined)%3B&amp;ojh=0&amp;ojj=0&amp;ms=100&amp;oth=0&amp;otj=0&amp;cex=1

click set html, then select the text plus the image, then click eval js

This affects the closure editor!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299097</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2010-10-25 14:03:58 -0700</bug_when>
    <thetext>This bug has been fixed since http://trac.webkit.org/changeset/70283.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>