Last modified: 2014-02-28 23:04:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50461, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48461 - VisualEditor: Image in template gets cut off
VisualEditor: Image in template gets cut off
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-nonenglish
  Show dependency treegraph
 
Reported: 2013-05-14 17:03 UTC by Lydia Pintscher
Modified: 2014-02-28 23:04 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot of the issue in chromium in kubuntu (2.93 KB, image/png)
2013-05-16 18:16 UTC, Lydia Pintscher
Details

Description Lydia Pintscher 2013-05-14 17:03:30 UTC
When editing http://de.wikipedia.org/wiki/Wikidata the top of the Wikimedia logo in the template at the bottom of the page is cut off. (It might also be hidden behind the grey bar or something.)
Comment 1 James Forrester 2013-05-16 18:10:33 UTC
I cannot reproduce this using either Firefox or Chrome - which browser(s) does this appear in? Do you have a screenshot I could see? Does it still appear?
Comment 2 Lydia Pintscher 2013-05-16 18:16:03 UTC
Created attachment 12328 [details]
screenshot of the issue in chromium in kubuntu
Comment 3 Trevor Parscal 2013-05-16 18:40:36 UTC
We aim to render templates as similarly as possible, but there are some exceptions at this time. One such exception is that protected elements and their child elements positioned as 'absolute' or 'fixed' will be changed to relative. Protected elements are usually non-text or generated elements like images or templates.

Specifically in this case the CSS rule for elements that match '.ve-ce-alienNode, .ve-ce-alienNode *' is being used to set all elements relative. In a more recent version of the code this rule is now renamed to '.ve-ce-protectedNode, .ve-ce-protectedNode *' but it's effect is the same.

We should probably be only applying relative positioning to elements that are actually positioned 'absolute' or 'fixed', because it's currently being applied to an element that's positioned 'static'.
Comment 4 John Mark Vandenberg 2013-07-22 07:53:09 UTC
This happens in any article that uses the following template with an image, which is lots and lots and lots
https://de.wikipedia.org/wiki/Vorlage:Navigationsleiste

https://de.wikipedia.org/wiki/Bezirk_Altona?veaction=edit

And the German template appears on many other languages as well.
https://bar.wikipedia.org/wiki/Wikibooks?veaction=edit

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links