Page MenuHomePhabricator

Inline slugs visible on Chrome Mobile
Closed, ResolvedPublic

Description

This appears to be an effect of using width: 1px and a high-DPI device:

image.png (151×102 px, 3 KB)

It is visible on desktop if you increase the width .ve-ce-chimera-webkit to 2px:

image.png (61×193 px, 2 KB)

Event Timeline

Change 496511 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Always give inline slugs an src

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

Esanders moved this task from Incoming to Code review on the VisualEditor (Current work) board.
Esanders added a subscriber: dchan.

Change 496511 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Always give inline slugs an src

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

Esanders added a project: Editing QA.
Esanders moved this task from Inbox to Low Priority on the Editing QA board.

I said on the patch that "On a featured article only 17ms total is spent in setupSlugs."

That was actually the time before this patch. I did jump from ~20ms to ~60ms on [[Barack Obama]]. That's a relatively small amount on such a large article, but it all adds up, so we should stay open to removing this again on Chrome if possible.

Change 496553 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Set Chrome inline slugs to 0px width instead of adding src

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

Change 496473 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8bb1eb598)

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

Change 496473 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (a61616907)

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