Page MenuHomePhabricator

A transparent SVG is displayed against a black background in Story Viewer
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Use the no JS form to edit a story.
  • From Commons, look for an SVG image with a transparent background (e.g Aida_Overton_Walker_01.svg)
  • Use this image in a story frame and save the Wikistory
  • View the story

What happens?:
The story frame with the SVG image has a black background e.g. the last frame of this story

What should have happened instead?:
The SVG image should have a white background.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

EUdoh-WMF renamed this task from An SVG with no background is displayed with a black background to An SVG image with no background is displayed with a black background in Story Viewer..Jul 29 2022, 12:14 AM
SBisson renamed this task from An SVG image with no background is displayed with a black background in Story Viewer. to A transparent SVG is displayed against a black background in Story Viewer.Jul 29 2022, 1:42 PM
SBisson triaged this task as Medium priority.
SBisson moved this task from Backlog to Ready for Dev on the Inuka-Team (Kanban) board.

Change 820146 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/Wikistories@master] White image background once the image is loaded

https://gerrit.wikimedia.org/r/820146

Change 820146 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] White image background once the image is loaded

https://gerrit.wikimedia.org/r/820146

Shows up on a white background now. Thanks!

image.png (1×1 px, 354 KB)