<?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>16067</bug_id>
          
          <creation_ts>2007-11-20 04:41:06 -0800</creation_ts>
          <short_desc>Image loses all properties when moved around in designMode</short_desc>
          <delta_ts>2009-03-31 12:59:34 -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>525.x (Safari 3.1)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://rtef.info/demo.htm</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anders Jenbo">fuck</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>oliver</cc>
    
    <cc>webkit</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61777</commentid>
    <comment_count>0</comment_count>
    <who name="Anders Jenbo">fuck</who>
    <bug_when>2007-11-20 04:41:06 -0800</bug_when>
    <thetext>When moving a image in designMode the image will loos all it&apos;s propertys except the src=&quot;&quot;, it would seam that the image is reinserted rathere then moved, this makes it an invalid image as it no longer has an alt=&quot;&quot; atribute and might significaltly change it&apos;s representation on the page (float, margin etc.).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61801</commentid>
    <comment_count>1</comment_count>
    <who name="Anders Jenbo">fuck</who>
    <bug_when>2007-11-20 10:29:11 -0800</bug_when>
    <thetext>To test
http://rtef.info/demo.htm
go to HTML mode, put in the code for an image with some funny style to it, go back in to designmode, drag the image on to a different part of the test and watch as your attribtues be striped away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74318</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-03-18 14:09:42 -0700</bug_when>
    <thetext>I cannot confirm the issue in the latest Webkit r31114 on Mac OS X 10.5. Anders, is it still visible in the latest Webkit nightly or Safari 3.1 for Windows?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74344</commentid>
    <comment_count>3</comment_count>
    <who name="Anders Jenbo">fuck</who>
    <bug_when>2008-03-18 16:26:57 -0700</bug_when>
    <thetext>The issue is still there

Go to
http://rtef.info/demo.htm
Switch to HTML mode

Insert this code

&lt;img src=&quot;http://www.google.com/intl/da_ALL/images/logo.gif&quot; alt=&quot;important description&quot; width=&quot;99&quot; height=&quot;120&quot; /&gt; move it here -&amp;gt;

Switch to RichText mode

Move the image to the other end of the text (drag and drop)

Result: image is moved and only the image url survives, all other properties are removed from the image and as alt is completely striped it isn&apos;t even valid any more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74352</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-03-18 16:51:04 -0700</bug_when>
    <thetext>I still cannot confirm the bug on Mac OS X. So maybe the bug is PlatformOnly (visible only on Windows). I try to reproduce it on Windows tomorrow. Anyway, thank you for the details!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74359</commentid>
    <comment_count>5</comment_count>
    <who name="Anders Jenbo">fuck</who>
    <bug_when>2008-03-18 16:59:54 -0700</bug_when>
    <thetext>I belive I saw it first on XP and today on Vista, I&apos;ll try it on OS X 10.4 tomorrow, not sure it will be the nightly build though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74400</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-03-19 00:09:36 -0700</bug_when>
    <thetext>I tested the issue in the latest Webkit nightly and I can confirm existence of the bug but only on Windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74401</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-03-19 00:14:06 -0700</bug_when>
    <thetext>&lt;rdar://problem/5807008&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74471</commentid>
    <comment_count>8</comment_count>
    <who name="Anders Jenbo">fuck</who>
    <bug_when>2008-03-19 14:21:48 -0700</bug_when>
    <thetext>Yep i got the same here, its on vista and xp, but not on OS 10.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116058</commentid>
    <comment_count>9</comment_count>
    <who name="">webkit</who>
    <bug_when>2009-03-31 12:59:34 -0700</bug_when>
    <thetext>Windows only. Confirmed with the CKEditor nightly build:
http://nightly.ckeditor.com/latest/ckeditor/_samples/replacebyclass.html

Just place an anchor anywhere in the text. Dragging it, on drop, it disappears, and the &quot;magic&quot; &lt;img&gt; tag gets outputted in the source view.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>