https://bugzilla.wikimedia.org/show_bug.cgi?id=64789

--- Comment #8 from Bartosz Dziewoński <[email protected]> ---
SVG images are supported by IE 9 and newer; with the technique used in
MediaWiki, IE 8 and older receive raster PNG images instead. I find it hard to
imagine that anyone would be using these browsers on a computer with a hidpi
screen anyway.

Font icons have the obvious drawback of requiring you to use non-semantic text
in page content (which might confuse screen readers and is problematic when
coupled with the way we do CSS caching) or ::before / ::after selectors in CSS
which are not supported by old IE (which you say you want to support). In
addition, cross-browser support requires generating like four files in
different formats (if I remember correctly). Keeping them all synchronised, or
even just editing them at all, is a major pain especially in an open
environment like ours.

Font icons do have the advantage of making it possible to use different colors
for one icon asset, but… are you seriously going to use one icon in different
colors in your design?

I don't see how they would be noticeably more or less performant than
alternative techniques – can you elaborate? MediaWiki's ResourceLoader includes
facilities for automatic embedding of images inside the CSS styles, reducing
the number of HTTP requests, which is usually the only argument against using
separate source files for separate icons.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to