From c0d417ebd8f7c6dec36542b1290224470e76b7c0 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 30 Aug 2011 07:02:27 +0000 Subject: #7496 Undo r20719 as the additional '{' and '}' in the css causes Safari 4 to stop parsing the rest of the css svn changeset:20723/svn branch:6.7 --- WebContent/VAADIN/themes/runo/table/table.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'WebContent') diff --git a/WebContent/VAADIN/themes/runo/table/table.css b/WebContent/VAADIN/themes/runo/table/table.css index f09dc0e3bb..2b2bcbce05 100644 --- a/WebContent/VAADIN/themes/runo/table/table.css +++ b/WebContent/VAADIN/themes/runo/table/table.css @@ -158,7 +158,15 @@ tr.v-table-row-odd:hover { /* IE6 hack */ .v-ie6 .v-table-scrollposition { background: transparent; - zoom: expression((function(e) {vaadin.setAlphaImageLoader(e, "../runo/table/img/scroll-position-bg.png", "scale")})(this)); + /* + 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"); } -- cgit v1.2.3