From 23cfe1bba6984764cb582bf52b20d465e04d7b55 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 16 Nov 2015 18:25:59 -0800 Subject: [PATCH] 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 --- includes/resourceloader/ResourceLoaderImageModule.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/resourceloader/ResourceLoaderImageModule.php b/includes/resourceloader/ResourceLoaderImageModule.php index 8fd94f7a2e..73eb8a7947 100644 --- a/includes/resourceloader/ResourceLoaderImageModule.php +++ b/includes/resourceloader/ResourceLoaderImageModule.php @@ -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);", ); } -- 2.20.1