Page MenuHomePhabricator

list display:inline is ignore
Closed, InvalidPublic

Description

On WP:fr the banner for portal is a list with display:inline

display:inline is lost in the render with VE

See banner at the bottom of the page :
with one element : https://fr.wikipedia.org/wiki/Helix_aspersa
with two elements : https://fr.wikipedia.org/wiki/Grand_Poitiers


Version: unspecified
Severity: normal

Details

Reference
bz57141

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:16 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz57141.

I don't see it in the PHP parser output either. Searched for 'inline' in the source of https://fr.wikipedia.org/wiki/Helix_aspersa and https://fr.wikipedia.org/wiki/Grand_Poitiers.

The problem is that the CSS selector that applies the styling is: #bandeau-portail li

Since in VE, this content is the second element with id #bandeau-portail, the styling doesn't get applied.

fr.wp should convert their stylesheet to use the classname (which is identical), instead of the id.

Correction:

"a":{"id<nowiki>=</nowiki>\"bandeau-portail\"":null,"class<nowiki>=</nowiki>\"bandeau-portail\"":null}

It seems there is a parser or template problem after all.

Ok, closing as you suggest, please re-open if needed.
And thanks a lot for your work!