Opened 13 years ago

Closed 12 years ago

#7364 closed Bug (duplicate)

IE8: Extra empty list item is added to a list when using backspace to delete an outer list item

Reported by: James Cunningham Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0
Keywords: IE8 IBM Cc: Damian, Satya Minnekanti, Teresa Monahan, torque18@…

Description

Steps to reproduce the defect:

  1. Open the Ajax sample in IE8.
  1. Paste in the following code.
<ol>
	<li>list item 1
		<ol>
			<li>list item 2</li>
		</ol>
	</li>
	<li>list item 3</li>
</ol>
  1. Place the cursor at the end of the last list item.
  1. Use backspace to delete the last list item so that the cursor is now at the end of the second list item.

Result: An extra empty list item is added underneath the second list item (see screenshot).

Attachments (1)

IE8_Backspace_List_Defect.JPG (25.0 KB) - added by James Cunningham 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by James Cunningham

comment:1 Changed 13 years ago by Krzysztof Studnik

WFM on rev6593

comment:2 Changed 13 years ago by James Cunningham

I can still reproduce it on http://rev.ckeditor.com/ckeditor/trunk/6593/_samples/ajax.html in IE8 strict.

comment:3 Changed 13 years ago by Jakub Ś

Status: newconfirmed

An extra list element shows under IE8 if you remove list item in wysiwyg mode.

comment:4 Changed 13 years ago by Wiktor Walc

I am unable to reproduce in both in IE8/Win7 EN and in IE8/XP EN.

comment:5 Changed 13 years ago by Jakub Ś

Version: 3.5.3 (SVN - trunk)3.0

Occurs in IE8 since CKEditor version 3.0

comment:6 Changed 13 years ago by Josh

Cc: torque18@… added

This may not be directly related, but also only occurs in IE. I did not want to create a new ticket unless this is in fact unrelated.

Paste in the following code:

	<ul>
	<li>item 1</li>
	<li>item 2</li>
	</ul>
	<p>paragraph</p>

In editing view, place your cursor in front of the word "paragraph" and hit backspace once. Return to source view and you will see it has created the following invalid html:

	<ul>
	<li>item 1</li>
	<li>item 2</li>
	paragraph</ul>

In the editing view, if you then change the list formatting (such as from unordered to ordered list) it will "correct" the invalid html it created by deleting the paragraph entirely. You can try this with a large paragraph instead of just the word paragraph, and you will see the whole paragraph disappear from the document.

comment:7 in reply to:  4 Changed 13 years ago by Garry Yao

Replying to wwalc:

I am unable to reproduce in both in IE8/Win7 EN and in IE8/XP EN.

Can be confirmed on IE8/XP only, WFM with IE9/Win7.

comment:8 Changed 12 years ago by Satya Minnekanti

Please close this as a duplicate of 8248

Version 0, edited 12 years ago by Satya Minnekanti (next)

comment:9 Changed 12 years ago by Jakub Ś

Resolution: duplicate
Status: confirmedclosed

DUP of #8248

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy