#3804: [IE] context menu position wrong for long document
-------------------------------+--------------------------------------------
 Reporter:  garry.yao          |       Owner:  garry.yao   
     Type:  Bug                |      Status:  assigned    
 Priority:  Normal             |   Milestone:  CKEditor 3.0
Component:  UI : Context Menu  |     Version:              
 Keywords:  3.0RC IE Review-   |  
-------------------------------+--------------------------------------------
Changes (by martinkou):

  * keywords:  3.0RC IE Review? => 3.0RC IE Review-


Comment:

 Forcing the scroll check for IE should be wrong.

 We're looking for the coordinates of the <html> element in our case, and
 therefore adding the scrollLeft and scrollTop to it is senseless - the
 html element is supposed to be the thing containing the scrollbar, not the
 other way round.

 However, if you consider the common case where we're looking for the
 position of something inside that <html> element, then the scroll check
 would make sense.

 Also, since different iframes can be rendered in standards/quirks mode
 separately, relying on CKEDITOR.env.quirks is also wrong.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3804#comment:3>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to