Jforrester has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/393652 )
Change subject: [WIP] Drop Opera 12 from Grade A to Grade X ...................................................................... [WIP] Drop Opera 12 from Grade A to Grade X Bug: T121517 Change-Id: Ie4df9c751bd0250581cd2e25cf1b38e69e67e82f --- M includes/resourceloader/ResourceLoaderImageModule.php M resources/src/mediawiki.less/mediawiki.mixins.less M tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php 3 files changed, 0 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/52/393652/1 diff --git a/includes/resourceloader/ResourceLoaderImageModule.php b/includes/resourceloader/ResourceLoaderImageModule.php index 71a0fa2..5e329e8 100644 --- a/includes/resourceloader/ResourceLoaderImageModule.php +++ b/includes/resourceloader/ResourceLoaderImageModule.php @@ -386,8 +386,6 @@ return [ "background-image: $fallbackUrl;", "background-image: linear-gradient(transparent, transparent), $primaryUrl;", - // Do not serve SVG to Opera 12, bad rendering with border-radius or background-size (T87504) - "background-image: -o-linear-gradient(transparent, transparent), $fallbackUrl;", ]; } diff --git a/resources/src/mediawiki.less/mediawiki.mixins.less b/resources/src/mediawiki.less/mediawiki.mixins.less index ea0b959..58f6dc2 100644 --- a/resources/src/mediawiki.less/mediawiki.mixins.less +++ b/resources/src/mediawiki.less/mediawiki.mixins.less @@ -38,8 +38,6 @@ .background-image-svg( @svg, @fallback ) { background-image: url( @fallback ); background-image: linear-gradient( transparent, transparent ), e( '/* @embed */' ) url( @svg ); - // 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 ); } // Shorthand for background-image-svg. Use if your PNG and SVG have the same name diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php index f53cd06..e5b338e 100644 --- a/tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php +++ b/tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php @@ -207,7 +207,6 @@ <<<TEXT background-image: url(rasterized.png); background-image: linear-gradient(transparent, transparent), url(original.svg); - background-image: -o-linear-gradient(transparent, transparent), url(rasterized.png); TEXT ], [ @@ -215,7 +214,6 @@ <<<TEXT background-image: url(rasterized.png); background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml); - background-image: -o-linear-gradient(transparent, transparent), url(rasterized.png); TEXT ], -- To view, visit https://gerrit.wikimedia.org/r/393652 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie4df9c751bd0250581cd2e25cf1b38e69e67e82f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits