﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10305	Strange jumps to the top in Firefox upon dialog closing (testcase included)	Сковорода Никита Андреевич		"Affects Firefox 20.0 (the latest version atm).
Does not affect WebKit-based browsers.

Reproducable: Always.

Steps to reproduce:
1. Open full-featured CKEditor, for example, http://ckeditor.com/demo#full
2. Switch to source mode.
3. Paste this code:
{{{
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<p>Foo.</p>
<div style=""float:right"">
<p><img alt="""" src=""http://b.cksource.com/a/1/img/sample.jpg"" style=""height: 200px;"" /></p>
<p><img alt="""" src=""http://b.cksource.com/a/1/img/sample.jpg"" style=""height: 200px;"" /></p>
<p><img alt="""" src=""http://b.cksource.com/a/1/img/sample.jpg"" style=""height: 200px;"" /></p>
<p><img alt="""" src=""http://b.cksource.com/a/1/img/sample.jpg"" style=""height: 200px;"" /></p>
</div>
}}}
4. Switch to WYSiWYG mode.
5. Scroll to the bottom, make sure you don't see any of the «Foo» labels in the viewport.
6. Double-click on the last image. A dialog will appear.
7. Press «OK» to apply and close the dialog.

What actually happens:
The CKEditor viewport is instantly scrolled to top (jumps).

What should happen:
The viewport should remain as it is. If the height is changed after editing the image, the top border of the visible area should remain the same, and the viewport should extend to the bottom (as it does when everything is fine).

Additional notes:
Clicking the '''last''' image is not requred, you can use either one. This depends on if the text at the left (the «Foo» lines) is in the viewport. If you can still see the text (not scrolled down or the viewport is large enough), then the bug won't trigger."	Bug	confirmed	Normal		General	3.3.1		Firefox	chalkerx@…
