Microsoft KB Archive/886347

= BUG: When you split a cell in a table, the height of the rows that are not selected may also change, and some cells may have the wrong ROWSPAN attribute value =

Article ID: 886347

Article Last Modified on 7/5/2005

-

APPLIES TO


 * Microsoft Internet ActiveX Controls 1.0
 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Explorer (Programming) 6.0

-





SYMPTOMS
In the DHTML Editing Component, when you use the ExecCommand function together with the DECMD_SPLITCELL command ID to split a cell in a table, the height of the rows that are not selected may also change. Additionally, the ROWSPAN attribute of the new cell is not applied logically to cells that would require the operation. The operation should cause the value of the ROWSPAN attribute for the other cells in the same column to increase.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the problem
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.   Save the following code to an HTML file. <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>   

   <PARAM NAME=&quot;ActivateDTCs&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;ShowDetails&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;ShowBorders&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;Appearance&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;Scrollbars&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;ScrollbarAppearance&quot; VALUE=&quot;1&quot;><PARAM NAME=&quot;SourceCodePreservation&quot; VALUE=&quot;-1&quot;><PARAM NAME=&quot;AbsoluteDropMode&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;SnapToGrid&quot; VALUE=&quot;0&quot;><PARAM NAME=&quot;SnapToGridX&quot; VALUE=&quot;50&quot;><PARAM NAME=&quot;SnapToGridY&quot; VALUE=&quot;50&quot;><PARAM NAME=&quot;UseDivOnCarriageReturn&quot; VALUE=&quot;0&quot;></OBJECT> <INPUT type=button value=&quot;Insert table&quot; id=button1 name=button1 LANGUAGE=javascript onclick=&quot;return button1_onclick&quot;> <INPUT id=button2 type=button value=&quot;Split cell&quot; name=button2 LANGUAGE=javascript onclick=&quot;return button2_onclick&quot;> </li> <li>Open the HTML file in Microsoft Internet Explorer.</li> <li>Put the insertion point below the table.</li> <li>Click Insert table to insert a table.</li> <li>Put the insertion point in the first cell. (The first cell contains a.)</li> <li>Click Split cell.</li> <li>Put the insertion point in the empty cell that you created in step 6.</li> <li>Click Split cell.</li></ol>

The table has more columns in the selected row than in the rows that are not selected.

Keywords: kbnofix kbbug KB886347

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.