﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
697	Font size transposes lines	sirfragalot@…		"Hi,

I've discovered this happens in other HTML editors so I
suspect the problem is in the underlying designMode
code rather than FCKEditor but perhaps a workaround can
be devised.

It happens in Firefox, IE and Netscape so doesn't seem
to be browser-specific.

Under certain circumstances, if you select all the text
and resize the font (problem doesn't seem to occur with
any other operation), some of the lines of the text get
transposed.

Assuming the text AAA occurs in the text, this will
only occur if:
1/ AAA is italicized such that the enclosing '</span>'
tag has no space before it,
2/ AAA occurs on the end of a line (as determined by
window size not manually inserting a line break or new
paragraph,
3/ Some further words (call them BBB) follow that
'</span>' and a normal space (not &nbsp;) and
4/ BBB is followed by CCC in a new paragraph.

Under these conditions, selecting all text and resizing
the font, BBB will be transposed to immediately follow
CCC and BBB will not be resized although AAA and CCC
will be.

For example, the following text:
""mainstream cinema. In FPS games, the majority of
sounds (the deconstruction in a later chapter of sound
files in Urban Terror demonstrates this more fully) are
concerned with either defining the environment or
sonifying the interface between player and

In cinema, the audience or spectator (both passive
descriptors) have no control over the visualization or
de-acousmatization of sound.""

If you place that in the editor, ensure that 'Urban
Terror' is justified to the end of the line (try to add
more words before etc.), select 'Urban Terror' exactly
(not including any space either side), italicize it,
select all text and resize the font to e.g.
16, then the words:
""demonstrates this more fully) are concerned with
either defining the environment or sonifying the
interface between player and""

are transposed immediately after the words:
""In cinema, the audience or spectator (both passive
descriptors) have no control over the visualization or
de-acousmatization of sound.""
and have not been re-sized.

I have discovered that if the '</span>' has a normal
space preceding it then, with all the other conditions
above, the error does not occur.

The problem occurs with any other use of
<span>...</span> not just italics and does not occur if
the enclosing </span> has a space preceding it.
----
Moved from SF:[[BR]]
http://sourceforge.net/tracker/index.php?func=detail&aid=1415153&group_id=75348&atid=543653"	Bug	closed	Normal	FCKeditor 2.5 Beta	General		fixed	SF	Frederico Caldeira Knabben
