Skip to content

Commit 691247d

Browse files
committed
Merge branch 't/10910'
2 parents 2c044fd + 6ff1315 commit 691247d

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CKEditor 4 Changelog
55

66
Fixed Issues:
77

8+
* [#10910](http://dev.ckeditor.com/ticket/10910): Fixed error thrown on Internet Explorer 9 in Compatibility Mode.
89
* [#10868](http://dev.ckeditor.com/ticket/10868): Prevent from Internet Explorer 8 crashing when applying a cite style.
910
* [#10915](http://dev.ckeditor.com/ticket/10915): CSS filter in Kama skin pull request.
1011
* [#10914](http://dev.ckeditor.com/ticket/10914): Plugins indentlist and indentblock included into building config.

core/selection.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -964,18 +964,8 @@
964964
endIndex = index - 1;
965965
else if ( position < 0 )
966966
startIndex = index + 1;
967-
else {
968-
// IE9 report wrong measurement with compareEndPoints when range anchors between two BRs.
969-
// e.g. <p>text<br />^<br /></p> (#7433)
970-
if ( CKEDITOR.env.ie9Compat && child.tagName == 'BR' ) {
971-
// "Fall back" to w3c selection.
972-
var sel = doc.defaultView.getSelection();
973-
return {
974-
container: sel[ start ? 'anchorNode' : 'focusNode' ],
975-
offset: sel[ start ? 'anchorOffset' : 'focusOffset' ] };
976-
} else
977-
return { container: parent, offset: getNodeIndex( child ) };
978-
}
967+
else
968+
return { container: parent, offset: getNodeIndex( child ) };
979969
}
980970

981971
// All childs are text nodes,

0 commit comments

Comments
 (0)