mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
found an IE specific error in some styles set for collections visualizations
This commit is contained in:
parent
808354dd6f
commit
b1cdaaa845
@ -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}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*globals OpenSeadragon */
|
||||
|
||||
/**
|
||||
* @version OpenSeadragon 0.9.96
|
||||
* @version OpenSeadragon 0.9.97
|
||||
*
|
||||
* @fileOverview
|
||||
* <h2>
|
||||
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user