Background image isn't loaded in Chrome (Version 34.0.1847.132 - Linux). In
Firefox all is OK.
I have widget with appearance 'panel'.
In theme/Decoration.js:
/**
* @asset(game/decoration/*)
*/
qx.Theme.define("game.theme.Decoration",
{
extend : qx.theme.indigo.Decoration,
aliases : {
'decoration' : 'game/decoration'
},
decorations :
{
'panel' : {
'style' : {
'backgroundImage' : 'decoration/panel-bg.png'
}
},
...
All was fine before. Now in Chrome console I have:
> document.styleSheets[4].cssRules[0].cssText
".qx-panel { -webkit-background-clip: padding-box; background-clip:
padding-box; background-image: url(
http://game.localhost/source/resource/game/decoration/panel-bg.png);
background-position: 0px 0px; background-repeat: repeat repeat; }"
should be url(../source/resource/game/decoration/panel-bg.png) I think
> qx.util.AliasManager.getInstance().resolve('game/decoration/panel-bg.png')
"game/decoration/panel-bg.png"
>
qx.util.ResourceManager.getInstance().toUri('game/decoration/panel-bg.png')
"../source/resource/game/decoration/panel-bg.png"
I tried reproduce this bug in clean project, but all works fine there.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel