Ticket #2367 (closed Bug: worksforme)
IE: List padding may cause list command errors
| Reported by: | fredck | 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
- 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>
- 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.
- Hit any of the list buttons in the toolbar.
A JavaScript error will be thrown and nothing else happens.
Change History
Note: See
TracTickets for help on using
tickets.
