Follow-up 23cfe1bba: harmonize image embedding CSS
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderImageModule.php
index 73eb8a7..27e1201 100644 (file)
@@ -372,6 +372,8 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
                return array(
                        "background-image: url($fallback);",
                        "background-image: linear-gradient(transparent, transparent), url($primary);",
+                       // Do not serve SVG to Opera 12, bad rendering with border-radius or background-size (T87504)
+                       "background-image: -o-linear-gradient(transparent, transparent), url($fallback);",
                );
        }