diff --git a/build.properties b/build.properties index ad423b01..2ce678e8 100644 --- a/build.properties +++ b/build.properties @@ -6,7 +6,7 @@ PROJECT: openseadragon BUILD_MAJOR: 0 BUILD_MINOR: 9 -BUILD_ID: 96 +BUILD_ID: 97 BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} diff --git a/openseadragon.js b/openseadragon.js index 4f7b0b3f..929c4217 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -1,7 +1,7 @@ /*globals OpenSeadragon */ /** - * @version OpenSeadragon 0.9.96 + * @version OpenSeadragon 0.9.97 * * @fileOverview *

@@ -8977,14 +8977,18 @@ function drawTiles( drawer, lastDrawn ){ }); (function(style){ - style['-webkit-box-reflect'] = - 'below 0px -webkit-gradient('+ - 'linear,left '+ - '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)'; - //style['borderRight'] = '1px solid #fff'; + //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'] = + 'below 0px -webkit-gradient('+ + 'linear,left '+ + '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)); drawer.addOverlay( diff --git a/src/drawer.js b/src/drawer.js index d920a2ce..7331f07b 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -996,14 +996,18 @@ function drawTiles( drawer, lastDrawn ){ }); (function(style){ - style['-webkit-box-reflect'] = - 'below 0px -webkit-gradient('+ - 'linear,left '+ - '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)'; - //style['borderRight'] = '1px solid #fff'; + //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'] = + 'below 0px -webkit-gradient('+ + 'linear,left '+ + '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)); drawer.addOverlay(