Page MenuHomePhabricator

Horizontal lists within tables do not follow the style guidelines of the tables they are within
Closed, InvalidPublicBUG REPORT

Description

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

What happens?:
At the row for "Call Me What You Like", the horizontal list displayed is text aligned to the left.

What should have happened instead?:
It should be aligned to the center as this is what is specified in the table style, and how it appears on the web version.

Appearance on mobile web (Chrome):

Screenshot_2023-08-09-19-59-32-151_com.android.chrome.png (1×1 px, 188 KB)

Appearance on Android beta app:
Screenshot_2023-08-09-19-54-23-049_org.wikipedia.beta.png (1×1 px, 163 KB)

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

Other information (browser name/version, screenshots, etc.): Wikipedia Beta version 2.7.50449-beta-2023-07-31, Android 13

Event Timeline

Dbrant renamed this task from Horizontal lists within tables do not follow the style guidelines of the tables they are within in the Android app to Horizontal lists within tables do not follow the style guidelines of the tables they are within.Aug 9 2023, 12:16 PM
Dbrant subscribed.

I guess we need a stylesheet update in PCS?

After some investigation, we found out that PCS is retrieving this css [1] from ResourceModule, but I can't find any code related to it. Anyone knows how that can be debugged?

I guess we need a stylesheet update in PCS?

The files listed above are already up to date.

[1] https://en.wikipedia.org/w/load.php?only=styles&modules=main%7Csite.styles&target=mobile&skin=minerva

ihurbain subscribed.

As of today, all renderings are similar and aligned left, which seems to be defined from Common.css in

.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}

with nothing specific about hlist that I can see. Closing as "invalid" for lack of reproducibility in "centered" behaviour on desktop version.