Page MenuHomePhabricator

SVG images should not be loaded when MathML is used
Closed, ResolvedPublic

Description

For Gecko browsers, ext.math.css forces "display: none" on SVG and makes the MathML visible. It turns out that this is not enough to prevent the SVG images from downloading, as Gabriel noted in https://gerrit.wikimedia.org/r/#/c/165658/ for the PNG fallback.

It seems that there are some CSS tricks to really prevent hidden images to be loaded and we should give them a try:
http://timkadlec.com/2012/04/media-query-asset-downloading-results/


Version: master
Severity: normal

Details

Reference
bz71929

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:46 AM
bzimport added a project: Math.
bzimport set Reference to bz71929.
bzimport added a subscriber: Unknown Object (MLST).

gerritadmin wrote:

Change 166179 had a related patch set uploaded by Frédéric Wang:
WIP - SVG images should not be loaded when MathML is used

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

gerritadmin wrote:

Change 166179 merged by jenkins-bot:
SVG images should not be loaded when MathML is used

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