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

--- Comment #3 from Pau Giner <[email protected]> ---
With the invisible gradient technique you make sure that all users are provided
either the PNG and the SVG version of the image.

* Adding browser-specific prefixes allows you to provide the SVG version to
more browsers, at the cost of some redundancy at the SVG (e.g, to deliver the
SVG to Safari and android browser instead of the PNG version). Not adding
browser-specific prefixes is also fine because (a) at some point new versions
will support the standard gradient syntax and then SVGs will be served to
those, and (b) the CSS code becomes simpler.

* Adding "embedded" allows to avoid extra requests for images but it increases
the size of the CSS. Since we are providing alternative versions of an image,
by embedding both versions we force browsers to download resources they are not
going to use. If I had to choose, I would only embed the SVG and not the PNG,
so modern browsers are not penalised because of old browsers. However, when
Niklas made the numbers the differences in size were not meaningful.

-- 
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