Remove vendor prefix support for SVG embedding

Also remove the -o- prefix which uses 'fallback', as without
that rule it will use 'fallback' anyway.

Bug: T118815
Change-Id: I6a6e3b24b1cda55dfa9675743c39d21e792275c7
This commit is contained in:
Ed Sanders 2015-11-16 18:25:59 -08:00 committed by Ori.livneh
parent 7d3fc7346d
commit 23cfe1bba6

View file

@ -371,9 +371,7 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
protected function getCssDeclarations( $primary, $fallback ) {
return array(
"background-image: url($fallback);",
"background-image: -webkit-linear-gradient(transparent, transparent), url($primary);",
"background-image: linear-gradient(transparent, transparent), url($primary);",
"background-image: -o-linear-gradient(transparent, transparent), url($fallback);",
);
}