Ticket #2367 (new Bug)

Opened 20 months ago

Last modified 20 months ago

IE: List padding may cause list command errors

Reported by: fredck Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.2
Keywords: Confirmed 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

Changed 20 months ago by fredck

  • cc mistaib@… added
Note: See TracTickets for help on using tickets.