#3034: Element document offset position not correct
-----------------------+----------------------------------------------------
 Reporter:  garry.yao  |       Owner:  fredck         
     Type:  Bug        |      Status:  new            
 Priority:  High       |   Milestone:  CKEditor 3.0   
Component:  General    |     Version:  SVN (FCKeditor)
 Keywords:  Review-    |  
-----------------------+----------------------------------------------------
Changes (by fredck):

  * keywords:  Review? => Review-
  * owner:  martinkou => fredck
  * status:  assigned => new


Comment:

 After a few hours of research, I've found out that clientTop is not an IE
 bug, and it's actually needed in all browsers (except Opera) to properly
 find the element position.

 Also, by changing position to "relative", you are not really fixing that
 function, but simply setting the parentOffset property of that element to
 <body>, which makes the getDocumentPosition calculation much simpler.

 I've found a final solution, which looks correct, or at least don't
 require CSS changes.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3034#comment:14>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to