fixPathsInCssText
Cleans and fixes any relative url() calls.
Usefull when parsing pages from another directory, ie contentPane load external
css before url fix
/*css before change*/
.easy{ background-image:url(images/image.png) }
.dontReplaceEasy{ background-image:url(images/images/image.png) }
.hardurl{background-image:url( "../../source/test/%20t'e(s)t.gif("1')?foo=bar11103&bar=baz-foo" );}body{};
.file{background-image: url(file:///home/nobody/image.png);}
.http{background-image: url(http://dojotoolkit.org/image.png);}
.https{background-image: url(https://dojotoolkit.org/image.png);}
css after url fix
insertCssText
inserts CssText into document
Should be blue text and yellow background <- left one should look like this
Should get background image <- left one should look like this
insertCssFile
download and insert a css file using sync load
Gets toolbar background image and fonts, font color etc.. <- left one should look like this