From: Timo Tijhof Date: Sat, 3 Aug 2013 02:45:40 +0000 (+0200) Subject: Clean up: Remove wrong or redundant CSS prefixes X-Git-Tag: 1.31.0-rc.0~19043^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=8d547e5df87f9e8378cf1c5597722254ebf28c7d;p=lhc%2Fweb%2Fwiklou.git Clean up: Remove wrong or redundant CSS prefixes * Text shadow: -moz-text-shadow > [FF22] Unknown property '-moz-text-shadow'. Declaration dropped. -webkit-text-shadow > [Cr29] Invalid CSS property name: -webkit-text-shadow These never existed. If they did, they have been both unneeded and even removed from browsers many years ago. http://caniuse.com/css-textshadow * Border radius: Unprefixed since - Firefox > 3.6 - Chrome > 4 - Safari > 4 - Mobile Safari > 3 Firefox < 4 has been blacklisted in the startup module. Latest Firefox dropped support for -moz-border-radius. > [FF12] Unknown property '-moz-border-radius'. Declaration dropped. WebKit still supports both. Removing both -webkit and -moz. http://caniuse.com/border-radius * Box shadow: Unprefixed since: - Firefox > 3.6 - Chrome > 9 - Safari > 5.0 (Safari 5.1 has it) - Mobile Safari > 4.3 (iOS 5 has it) Keeping -webkit for now for iOS 4. Removing -moz per above. http://caniuse.com/css-boxshadow Change-Id: Ie5ce3202b48f42460911a7f6fa9afe4e03326c95 --- diff --git a/resources/jquery/jquery.badge.css b/resources/jquery/jquery.badge.css index c706bb9754..f313663ee2 100644 --- a/resources/jquery/jquery.badge.css +++ b/resources/jquery/jquery.badge.css @@ -1,7 +1,5 @@ .mw-badge { min-width: 7px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; border-radius: 2px; padding: 1px 4px; text-align: center; diff --git a/resources/mediawiki.action/mediawiki.action.view.postEdit.css b/resources/mediawiki.action/mediawiki.action.view.postEdit.css index fcc36c15e1..ae2e898815 100644 --- a/resources/mediawiki.action/mediawiki.action.view.postEdit.css +++ b/resources/mediawiki.action/mediawiki.action.view.postEdit.css @@ -21,14 +21,9 @@ color: #626465; background-color: #f4f4f4; border: 1px solid #dcd9d9; - -webkit-text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5); - -moz-text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5); text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5); - -webkit-border-radius: 5px; - -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 2px 5px 0 #ccc; - -moz-box-shadow: 0 2px 5px 0 #ccc; box-shadow: 0 2px 5px 0 #ccc; -webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 90a41d38b1..50b9e094f8 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -903,6 +903,5 @@ div.mw-lag-warn-high { /* mediawiki.notification */ .skin-monobook .mw-notification { -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.125); - -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.125); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.125); } diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 34001f4802..8f4bbb6999 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -825,7 +825,6 @@ div#bodyContent { border: solid 1px #a7d7f9; border-radius: 0.75em; -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125); - -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125); box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125); }