VisualEditor: Right floated elements other than images and info boxes are not placed correctly


There are many templates in Wikipedia that create right floated content other than info boxes and images.

Examples are for instance Template:Stack, but there are many similar templates. These are currently not rendering as right floated.

Version: unspecified
Severity: normal

bzimport set Reference to bz57296.
TheDJ created this task.Via LegacyNov 20 2013, 10:52 AM
TheDJ added a comment.Via ConduitNov 20 2013, 11:02 AM

This is caused by the div block surrounding it, that should receive 'similar' traits in that case.

It is worsened, because in the case of stack in particular also takes fullwidth, due to the broken implementation of inline images with captions. These currently feature a figcaption that has display block, and no width constraint (shouldn't be allowed to be wider than the image frame, but it is).

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.