Page MenuHomePhabricator

Empty table cell with background color shows no color with Android app in dark mode
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
open https://en.wikipedia.org/wiki/Coral_(color)

What happens?:
no color is displayed in the infobox

What should have happened instead?:
a horizontal rectangle filled in with color should have appeared

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

Other information (browser name/version, screenshots, etc.):
Android app in dark mode

In the web mobile version, it works well.

Screenshot_20230108-154139.png (2×1 px, 522 KB)

Screenshot_20230108-154032.png (2×1 px, 236 KB)

Event Timeline

Fgnievinski renamed this task from infobox color with no color with Android app in dark mode to infobox color shows no color with Android app in dark mode.Jan 8 2023, 6:52 PM

Thanks for taking the time to report this! Do you know if it works in the Android app in non-dark mode?

This is not the same as T324705: legend squares not displaying on french version mobile application, as here it is an empty table cell <td> (with a bgcolor).
Cannot reproduce on https://en.wikipedia.org/api/rest_v1/page/mobile-html/Coral_(color) or https://en.wikipedia.org/api/rest_v1/page/html/Coral_(color)

Aklapper renamed this task from infobox color shows no color with Android app in dark mode to Empty table cell with background color shows no color with Android app in dark mode.Jan 8 2023, 7:14 PM

it works well in non dark mode

Screenshot_20230109-002832.png (2×1 px, 437 KB)

Dbrant claimed this task.
Dbrant added a subscriber: Dbrant.

I've made an update to the {{infobox color}} template that excludes it from our theme transformation. This should fix the display of the color box in dark mode.
Please try it again, and reopen the task if it's still an issue

I confirm it works well now in dark mode – thank you!

Screenshot_20230109-151506.png (2×1 px, 380 KB)