Last modified: 2014-10-13 04:09:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73929, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71929 - SVG images should not be loaded when MathML is used
SVG images should not be loaded when MathML is used
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
master
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 71912
Blocks: 65341
  Show dependency treegraph
 
Reported: 2014-10-11 05:27 UTC by Frédéric Wang
Modified: 2014-10-13 04:09 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Frédéric Wang 2014-10-11 05:27:01 UTC
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/
Comment 1 Gerrit Notification Bot 2014-10-11 07:46:26 UTC
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
Comment 2 Gerrit Notification Bot 2014-10-13 00:11:44 UTC
Change 166179 merged by jenkins-bot:
SVG images should not be loaded when MathML is used

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links