Skip to content

Commit

Permalink
Merge branch 't/12747'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 11, 2014
2 parents c5ed166 + dff68f1 commit 69263d0
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Expand Up @@ -3,6 +3,10 @@ CKEditor 4 Changelog

## CKEditor 4.4.7

Fixed Issues:

* [#12747](http://dev.ckeditor.com/ticket/12747): [IE8-10] Fixed: Opening a drop-down for a specific selection when editor is maximized results in incorrect drop-down panel position.

## CKEditor 4.4.6

**Security Updates:**
Expand Down
4 changes: 2 additions & 2 deletions core/dom/element.js
Expand Up @@ -1425,9 +1425,9 @@ CKEDITOR.dom.element.clearMarkers = function( database, element, removeFromDatab
}

if ( needAdjustScrollAndBorders ) {
x = box.left + ( !quirks && $docElem.scrollLeft || body.$.scrollLeft );
x = box.left + ( quirks ? body.$.scrollLeft : $docElem.scrollLeft );
x -= clientLeft;
y = box.top + ( !quirks && $docElem.scrollTop || body.$.scrollTop );
y = box.top + ( quirks ? body.$.scrollTop : $docElem.scrollTop );
y -= clientTop;
}
} else {
Expand Down
11 changes: 11 additions & 0 deletions tests/tickets/12747/1.html
@@ -0,0 +1,11 @@
<p>Some text</p>
<p>Some text</p>
<p>Some text</p>
<textarea id="editor1">
<p>Foo</p>
<p>Bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar</p>
</textarea>

<script>
CKEDITOR.replace( 'editor1' );
</script>
19 changes: 19 additions & 0 deletions tests/tickets/12747/1.md
@@ -0,0 +1,19 @@
@bender-tags: 4.4.7, tc
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, maximize, floatingspace, font

Note:

* Related bug was reproducible on IE8-10 only.
* Make the selection precisely.

Steps:

1. Click the Maximize button.
1. Using your mouse select text:
* Start **right above** "Foo".
* Finish below the second line.
* This should result in selecting the entire content.
1. Click the Font dropdown.

**Expected result**: Dropdown panel is visible and correctly positioned.

0 comments on commit 69263d0

Please sign in to comment.