VisualEditor: Centre floated image next to right floated image means image is shown partially offscreen, and shield is put in the wrong place
Open, NormalPublic



Steps to reproduce:

This issue was found specifically on this page for the second image:

The original settings for the image was Right,Basic and Border.

When I changed the image position to "Centre", it appeared distorted with irregular highlight box for the image

See the screenshot attached:

Test Environment:
: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5

Version: unspecified
Severity: normal
See Also:



bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz62850.
Ryasmeen created this task.Mar 19 2014, 9:40 PM

This doesn't happen when the image is by itself on the page (or inside a bunch of paragraphs) so I am pretty sure this is due to the fact the image is within two PRE tags.

This should be fixed now.

No, definitely still happening.

Issue seems to be that the centre-floated image is moved down by the lack of space to below the right-floated image, but the document's length is not extended (so it runs off the edge of the window) and the shield remains in place (so you can click on the image and go to the File: page)…

Jdforrester-WMF removed Catrope as the assignee of this task.Mar 2 2015, 2:48 AM
Jdforrester-WMF set Security to None.