<?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>22810</bug_id>
          
          <creation_ts>2008-12-11 13:27:46 -0800</creation_ts>
          <short_desc>Safari can&apos;t remove strikethrough</short_desc>
          <delta_ts>2009-07-23 14:24:45 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>20215</dependson>
    
    <dependson>23366</dependson>
    
    <dependson>23496</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Deepak Jindal">deepak.jindal</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jindal</cc>
    
    <cc>jparent</cc>
    
    <cc>ojan</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102269</commentid>
    <comment_count>0</comment_count>
    <who name="Deepak Jindal">deepak.jindal</who>
    <bug_when>2008-12-11 13:27:46 -0800</bug_when>
    <thetext>If you have html like this:
&lt;strike&gt;hello&lt;/strike&gt;

Safari can&apos;t remove the strike through. It make it:
&lt;strike style=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;text-decoration: none;&quot;&gt;hello&lt;/span&gt;&lt;/strike&gt;

Which all browsers including Safari still show as strike through.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102332</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-12-12 01:42:06 -0800</bug_when>
    <thetext>How are you trying to remove the strikethrough? It can certainly be done with DOM manipulations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102362</commentid>
    <comment_count>2</comment_count>
    <who name="Deepak Jindal">deepak.jindal</who>
    <bug_when>2008-12-12 10:07:26 -0800</bug_when>
    <thetext>My mistake. I should have mentioned that I am trying to remove it using execCommand strikeThrough. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106722</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-01-23 00:54:30 -0800</bug_when>
    <thetext>This will be fixed when I fix bug 20215.  I&apos;ll leave it as a separate bug until then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108494</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-02-05 13:11:43 -0800</bug_when>
    <thetext>I&apos;ve got a partial patch locally.  This is going to require some serious surgery to ApplyStyleCommand though.  So this will have to wait until bug 23496 is reviewed and landed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134257</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2009-07-23 14:24:45 -0700</bug_when>
    <thetext>Fixed in http://trac.webkit.org/changeset/46286.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>