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

View File

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