Opened 16 years ago

Closed 13 years ago

#2367 closed Bug (worksforme)

IE: List padding may cause list command errors

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.2
Keywords: IE Cc: mistaib@…

Description

When applying "padding" and "margin" styles to list elements, IE may "expand" them, making it possible to place the caret "after" sub-lists in nested lists. Other browsers don't make it possible.

The problem is that this uncommon caret position breaks the list commands.

Steps to Reproduce

  1. Load the following HTML in the editor:
<style type="text/css">

ol
{
	padding-bottom: 20px;
}

</style>
<ol>
	<li>Item 1
		<ol>
			<li>Item 1.1</li>
		</ol>
	</li>
</ol>
<p>
	Some text.
</p>
  1. In WYSIWYG mode, place the caret in the white space following "Item 1.1". This can be achieved either by mouse click or by using the RIGHT-ARROW key.
  2. Hit any of the list buttons in the toolbar.

A JavaScript error will be thrown and nothing else happens.

Change History (2)

comment:1 Changed 16 years ago by Frederico Caldeira Knabben

Cc: mistaib@… added

comment:2 Changed 13 years ago by Krzysztof Studnik

Resolution: worksforme
Status: confirmedclosed

WFM with CKE3.2.6Trunk

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