Merge "Fix opacity on load in IE & Edge"

This commit is contained in:
jenkins-bot 2016-05-31 10:38:56 +00:00 committed by Gerrit Code Review
commit 72e059034a
2 changed files with 7 additions and 5 deletions

View file

@ -5,7 +5,7 @@
$.extend( DiffPage.prototype, {
refresh: function ( revId1, revId2 ) {
$( 'table.diff[data-mw=\'interface\']' )
.append( '<div id="revision-slider-darkness"></div>' );
.append( '<tr><td><div id="revision-slider-darkness"></div></td></tr>' );
$.ajax( {
url: mw.util.wikiScript( 'index' ),
data: {

View file

@ -142,10 +142,12 @@
#revision-slider-darkness {
background-color: white;
filter:alpha(opacity=50); /* IE */
opacity: 0.5; /* Safari, Opera */
-moz-opacity:0.50; /* FireFox */
z-index: 20;
filter:alpha(opacity=50); /* IE 5-7 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
-khtml-opacity: 0.5; /* Safari 1.x */
-moz-opacity:0.50; /* Netscape */
opacity: 0.5; /* Good browsers */
z-index: 200000;
height: 100%;
width: 100%;
background-repeat:no-repeat;