﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
773	"Wrong HTML-Code using IE and a Div with ""height:100%;"""	anonymous		"1. On the FCKeditor demo
(http://www.fckeditor.net/demo/), I click on the
""source""-button (top left) and insert the following
html-code:

{{{
<div id=""test"" style=""BORDER-TOP-STYLE: solid;
BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid;
HEIGHT: 100%; BORDER-BOTTOM-STYLE: solid"">
<img height=""21"" alt="""" width=""60""
src=""http://www.google.ch/intl/de_ch/images/logo.gif"" />
<br /> <br />
This is some <strong>sample text</strong>. You are
using <a href=""http://www.fckeditor.net/"">FCKeditor</a>.
</div>
}}}

2. After clicking on the ""source""-button again, the
text shows up correctly formatted (i.e. bold applied to
""sample text"") in the FCKeditor.

3. I click on the google-logo image which is displayed
inside the editable area and then on the ""insert/edit
link"" in the toolbar to add a link to the image. A new
window pops up and I'm able to enter the URL (i.e.
www.google.ch).

4. After clicking on the ""source""-button, I get the
following html-code:

{{{
<a href=""http://www.google.ch"">www.google.ch</a>
<div id=""test"" style=""BORDER-TOP-STYLE: solid;
BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid;
HEIGHT: 100%; BORDER-BOTTOM-STYLE: solid""><img
height=""21"" alt="""" width=""60""
src=""/_userfiles/Image/pic icon.jpg"" /><br />
<br />
This is some <strong>sample text</strong>. You are
using <a
href=""http://www.fckeditor.net/"">FCKeditor</a>. </div>
}}}

5. The html-code that is produced using Internet
Explorer 6.0 is not the code that should be generated
(a-tag placed around a new text instead of around the
picture).

6. When striking out the ""height: 100%;"" in the Div-tag
and repeating the steps, IE generates correct html-code.

I also tested it with Firefox 1.0.7 and correct
html-code was generated, wheter ""height: 100%;"" existed
or not. So it seems that only IE users are affected.

Thanks,
saimen (moove[at]gmx.net)
----
Moved from SF:[[BR]]
http://sourceforge.net/tracker/index.php?func=detail&aid=1550547&group_id=75348&atid=543653"	Bug	closed	Normal		General		fixed	IE SF	siff@…
