found an IE specific error in some styles set for collections visualizations

This commit is contained in:
thatcher 2013-02-01 15:35:46 -05:00
parent 808354dd6f
commit b1cdaaa845
3 changed files with 26 additions and 18 deletions

View File

@ -6,7 +6,7 @@
PROJECT: openseadragon PROJECT: openseadragon
BUILD_MAJOR: 0 BUILD_MAJOR: 0
BUILD_MINOR: 9 BUILD_MINOR: 9
BUILD_ID: 96 BUILD_ID: 97
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}

View File

@ -1,7 +1,7 @@
/*globals OpenSeadragon */ /*globals OpenSeadragon */
/** /**
* @version OpenSeadragon 0.9.96 * @version OpenSeadragon 0.9.97
* *
* @fileOverview * @fileOverview
* <h2> * <h2>
@ -8977,14 +8977,18 @@ function drawTiles( drawer, lastDrawn ){
}); });
(function(style){ (function(style){
style['-webkit-box-reflect'] = //TODO: IE seems to barf on this, not sure if its just the border
'below 0px -webkit-gradient('+ // but we probably need to clear this up with a better
'linear,left '+ // test of support for various css features
'top,left '+ if( SUBPIXEL_RENDERING ){
'bottom,from(transparent),color-stop(62%,transparent),to(rgba(255,255,255,0.62))'+ style['-webkit-box-reflect'] =
')'; 'below 0px -webkit-gradient('+
style['border'] = '1px solid rgba(255,255,255,0.38)'; 'linear,left '+
//style['borderRight'] = '1px solid #fff'; 'top,left '+
'bottom,from(transparent),color-stop(62%,transparent),to(rgba(255,255,255,0.62))'+
')';
style['border'] = '1px solid rgba(255,255,255,0.38)';
}
}(viewer.element.style)); }(viewer.element.style));
drawer.addOverlay( drawer.addOverlay(

View File

@ -996,14 +996,18 @@ function drawTiles( drawer, lastDrawn ){
}); });
(function(style){ (function(style){
style['-webkit-box-reflect'] = //TODO: IE seems to barf on this, not sure if its just the border
'below 0px -webkit-gradient('+ // but we probably need to clear this up with a better
'linear,left '+ // test of support for various css features
'top,left '+ if( SUBPIXEL_RENDERING ){
'bottom,from(transparent),color-stop(62%,transparent),to(rgba(255,255,255,0.62))'+ style['-webkit-box-reflect'] =
')'; 'below 0px -webkit-gradient('+
style['border'] = '1px solid rgba(255,255,255,0.38)'; 'linear,left '+
//style['borderRight'] = '1px solid #fff'; 'top,left '+
'bottom,from(transparent),color-stop(62%,transparent),to(rgba(255,255,255,0.62))'+
')';
style['border'] = '1px solid rgba(255,255,255,0.38)';
}
}(viewer.element.style)); }(viewer.element.style));
drawer.addOverlay( drawer.addOverlay(