/*\r
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
\r
var isFixed = element.getComputedStyle( 'position' ) == 'fixed';\r
\r
+ // (#8888) In some cases of a very small viewport, dialog is incorrectly\r
+ // positioned in IE7. It also happens that it remains sticky and user cannot\r
+ // scroll down/up to reveal dialog's content below/above the viewport; this is\r
+ // cumbersome.\r
+ // The only way to fix this is to move mouse out of the browser and\r
+ // go back to see that dialog position is automagically fixed. No events,\r
+ // no style change - pure magic. This is a IE7 rendering issue, which can be\r
+ // fixed with dummy style redraw on each move.\r
+ element.setStyle( 'zoom', '100%' );\r
+\r
if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )\r
return;\r
\r