diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-08-30 06:27:04 +0000 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-08-30 06:27:04 +0000 |
commit | 38eaf39b4f0932c74b088401aa66753f7fe5cd49 (patch) | |
tree | 5a7d224acc574e83df5e9644479445cea436b27e /WebContent/VAADIN/themes/runo | |
parent | 2536b6b520efde1720e67bc69d6281ff600d712c (diff) | |
download | vaadin-framework-38eaf39b4f0932c74b088401aa66753f7fe5cd49.tar.gz vaadin-framework-38eaf39b4f0932c74b088401aa66753f7fe5cd49.zip |
#7496 Theme files loaded from a css file using AlphaImageLoader only works in the root context
svn changeset:20719/svn branch:6.7
Diffstat (limited to 'WebContent/VAADIN/themes/runo')
-rw-r--r-- | WebContent/VAADIN/themes/runo/table/table.css | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/WebContent/VAADIN/themes/runo/table/table.css b/WebContent/VAADIN/themes/runo/table/table.css index 2b2bcbce05..f09dc0e3bb 100644 --- a/WebContent/VAADIN/themes/runo/table/table.css +++ b/WebContent/VAADIN/themes/runo/table/table.css @@ -158,15 +158,7 @@ tr.v-table-row-odd:hover { /* IE6 hack */ .v-ie6 .v-table-scrollposition { background: transparent; - /* - AlphaImageLoader uses src attribute relative to host page, not CSS - We need multiple different filters because we cannot be sure how host page is served compared to theme resources - TODO: This actually does not work as expected, since only the last filter is applied. Can we chain filters together (i.e. contain all versions on one line)? - */ - filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../VAADIN/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale"); - filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../VAADIN/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale"); - filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="VAADIN/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale"); - filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/VAADIN/themes/default/table/img/scroll-position-bg.png", sizingMethod="scale"); + zoom: expression((function(e) {vaadin.setAlphaImageLoader(e, "../runo/table/img/scroll-position-bg.png", "scale")})(this)); } |