<?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>12322</bug_id>
          
          <creation_ts>2007-01-18 12:46:46 -0800</creation_ts>
          <short_desc>Adjacent, identical spans should merge into one span</short_desc>
          <delta_ts>2011-08-22 12:19:12 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dan Wood">dwood</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ayg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34370</commentid>
    <comment_count>0</comment_count>
    <who name="Dan Wood">dwood</who>
    <bug_when>2007-01-18 12:46:46 -0800</bug_when>
    <thetext>To reproduce:

0. Launch Blot_editableDiv_showSource, my modified version of &quot;Blot&quot; available from &lt;http://dan.karelia.com/webkit/Blot_editableDiv_showSource.zip&gt; with DYLD_FRAMEWORK_PATH pointing to TOT.  (I&apos;m using r18941)

1. Click on the editable top panel
2. Type some text like &quot;Hello webkats and webkittens&quot;
3. Select the words &quot;webkats&quot;, &quot;webkittens&quot; and make bold
4. Backspace out the &quot;and&quot; (with the surrounding spaces) so that &quot;webkats&quot; is directly adjacent to &quot;webkittens&quot;

Results:  Markup is Hello &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;webkats&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;webkittens&lt;/span&gt;

Expected: The two identical spans should merge together so that it would look something like this:
Hello &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;webkatswebkittens&lt;/span&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62464</commentid>
    <comment_count>1</comment_count>
    <who name="Dave">dave</who>
    <bug_when>2007-11-27 06:24:30 -0800</bug_when>
    <thetext>in fact the output shouldn&apos;t contain ANY custom apple span classes.
i know no other browser thats &quot;spamming&quot; form outputs with custom tags!?! this is very harmful when using web-editors like for example used in content management systems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>454795</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-08-22 12:19:12 -0700</bug_when>
    <thetext>I filed a bug against the editing specification:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13839</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>