﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9076	When Indentation of parent list is decreased, font styling from sub-lists goes to paragraph and can't be removed.	Jakub Ś		"Continuation of #9063

    * Copy the following into the Source view of the editor: 
{{{
<ul style=""font-size: 10px;"">
	<li>Level 1 - size 10
		<ul style=""font-size: 24px;"">
			<li>Level 2 - size 24</li>
		</ul>
	</li>
	<li>Level 1 - size 10</li>
</ul>
}}}
    * Switch to wysiwyg mode and select the entire editor contents.
    * Select 'Decrease Indent' on the toolbar. The margin of both lists will be decreased and the level 1 list will no longer be a list. 

The supplied fix [7522] results in the following HTML after the 'Decrease Indent' action:

{{{
<p style=""font-size: 10px;"">
	Level 1 - size 10</p>
<ul style=""font-size: 24px;"">
	<li>Level 2 - size 24</li>
</ul>
<p style=""font-size: 10px;"">
	Level 1 - size 10</p>
}}}

The problem with this is that the font-size is not reflected in the toolbar for the paragraph elements. Even if the user does change the font size on the paragraph text, the original font-size will still remain on the P element:

{{{
<p style=""font-size: 10px;"">
	<span style=""font-size:14px;"">Level 1 - size 10</span></p>
}}}


Can this font-size be moved into a span tag for the paragraph contents instead when the list is outdented, so that the font-size is reflected on the toolbar? i.e.
{{{
<p>
	<span style=""font-size:10px;"">Level 1 - size 10</span></p>
<ul style=""font-size: 24px;"">
	<li>Level 2 - size 24</li>
</ul>
<p>
	<span style=""font-size:10px;"">Level 1 - size 10</span></p>
}}}


If this is too complex a change right now, would it be possible to only keep the font-size style for UL and OL elements? i.e.

{{{
<p>
	Level 1 - size 10</p>
<ul style=""font-size: 24px;"">
	<li>Level 2 - size 24</li>
</ul>
<p>
	Level 1 - size 10</p>
}}}
"	New Feature	closed	Normal		Core : Lists	3.0	invalid	IBM	monahant@… satya_minnekanti@…
