﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12119	[IE11] The page will scroll down when enter key is hit in CKEditor	Eleanor		"Reproduce:
When the page height is set to 100%, and the page compatMode is backmode, the page will scroll down when enter key is hit in CKEditor.


Analysize:
When enter key is hit, the editor invokes function CKEDITOR.dom.element.prototype.scrollIntoParent to make sure current cursor is not out of screen.

This function try to compare the cursor bottom with the browser height. To get cursor bottom, Editor needs to call native API getBoundingClientRect. And then it will call this API again to get documentElement location and combine them tegother to get the real botton if the compatMode is not backmode.

We check the documentation(https://developer.mozilla.org/en-US/docs/Web/API/element.getBoundingClientRect), the getBoundingClientRect already returns the postion based on viewport. By default the viewport is client browser, this means we donot need the second call for documentElement no matter the page is backmode or not. Once we remove the secode call, the page works fine. We have verified the change in IE(8-11), Firefox(29.0), Chrome(35.0.1916.153) and Safari(7.0.3).

Please kindly check this issue. Hope this analysize is helpful."	Bug	closed	Normal		UI : Enter Key		invalid		
