<?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>23994</bug_id>
          
          <creation_ts>2009-02-17 14:01:25 -0800</creation_ts>
          <short_desc>Underline formatting bleeds into other formatting during delete/backspace</short_desc>
          <delta_ts>2009-02-17 16:14:27 -0800</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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23993</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julie Parent">jparent</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>justin.garcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110006</commentid>
    <comment_count>0</comment_count>
    <who name="Julie Parent">jparent</who>
    <bug_when>2009-02-17 14:01:25 -0800</bug_when>
    <thetext>Steps to reproduce:
1. Go to your favorite contentEditable based rich text editor (like http://www.mozilla.org/editor/midasdemo/)
2. Type &quot;Foo Bar&quot; on the first line (without quotes). Press Enter.
3. Type &quot;Baz&quot; on the second line.  (html is Foo &lt;span class=&quot;Apple-style-span&quot; style=&quot;text-decoration: underline;&quot;&gt;Bar&lt;/span&gt;&lt;div&gt;Baz&lt;/div&gt;)
4. Double-click on &quot;Bar&quot; to highlight it.
5. Press underline from the toolbar.
6. Go to the beginning of the second line.
7. Press Backspace.

Result:
Everything moved from the second line to the first is underlined (html is Foo &lt;span class=&quot;Apple-style-span&quot; style=&quot;text-decoration: underline;&quot;&gt;BarBaz&lt;/span&gt;

Expected:
Just &quot;Bar&quot; to be underlined.

Notes:
I&apos;ve repro&apos;ed on Chrome 1.0 Windows and a webkit nightly on Mac.  This also repros if you use delete at the end of the first line, rather than backspace at the beginning of the second line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110029</commentid>
    <comment_count>1</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2009-02-17 16:14:27 -0800</bug_when>
    <thetext>Looks like you filed this twice.

*** This bug has been marked as a duplicate of 23993 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>