#773: Wrong HTML-Code using IE and a Div with "height:100%;"
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: martinkou
Type: Bug | Status: assigned
Priority: Normal | Milestone: FCKeditor 2.6
Component: General | Version:
Resolution: | Keywords: Confirmed IE SF
------------------------+---------------------------------------------------
Comment (by martinkou):
Weired... The height:100% style attribute seems to be interfering with
FCKeditor's selection logic in IE, which should be causing this bug. A
simple test case:
{{{
<div style="height: 100%"><img
src="http://www.google.ch/intl/de_ch/images/logo.gif" /></div>
}}}
Switch back to WYSIWYG mode, right click on image, and choose "Image
Properties" - the image's URL isn't there.
Now switch to Source mode, delete the style attribute, and switch back to
WYSIWYG mode. Right click on the image and go to the Image Properties
dialog again - the URL is there.
So I guess what happened to the Link dialog in the bug report is very
similar - the "height: 100%" makes the Link dialog unable to get the
currently selected element in the editing area, and so the link inserted
would appear in the beginning of the document.
--
Ticket URL: <https://dev.fckeditor.net/ticket/773#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac