﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
644	[SS] Style not overwritten	aloetscher@…		"For the tag ""span"", I have defined to styles, one for
font-size 12px and one for font-size 14px. The
definition in the fckstyles.xml is the following:


{{{
<Style name=""Size: 12 px"" element=""span"">
<Attribute name=""style"" value=""font-size:12px"" />
</Style>
<Style name=""Size: 14 px"" element=""span"">
<Attribute name=""style"" value=""font-size:14px"" />
</Style>
}}}


When I try to first attach style ""Size: 14px"" and then
style ""Size: 12 px"", the first style won't be deleted.
The behaviour of Mozilla Firefox and Internet Explorer
is also different. Here's the output:

Internet Explorer:

{{{
<p>test <span style=""FONT-SIZE: 14px""><span
style=""FONT-SIZE: 12px""><span style=""FONT-SIZE:
14px"">of</span></span></span> style</p>
}}}


Mozilla Firefox:

{{{
test <span style=""font-size: 16px;""><span
style=""font-size: 12px;"">of</span></span> style<br/>
}}}


In Mozilla Firefox, when I try to attach the style
""Size: 12px"" a second time, the whole content of the
span tag is deleted.
----
Moved from SF:[[BR]]
http://sourceforge.net/tracker/index.php?func=detail&aid=1077540&group_id=75348&atid=543653"	Bug	closed	Normal	FCKeditor 2.5 Beta	Core : Styles		fixed	SF	
