CSS imported in a SVG file ignored by Internet Explorer when served through Vaadin Request Handler -


i have vaadin widget displaying svg-files. these svg-files can import css-files , images. css-file in turn can, in addition styles, reference font files.

to serve of these files, implemented custom vaadin requesthandler , added session.

to include svg in widget, tested multiple things: firefox , chrome, embedding svg src of iframe works fine. tried jquery-addon jquery-svg, no problems here either.

however, on internet explorer (i used ie11 , tried compatibility modes down ie9), both approaches lead same problem: svg loaded correctly. images loaded correctly. css-files requested , served correctly, checked response , expected. however, css content ignored. neither there further requests referenced font-files, nor css rules in file applied @ all.

i tested putting same svg-file resources on server static resources (e.g. in vaadin-folder), or in own context, , content loaded fine on browsers, problem occurs when providing files through session requesthandler.

i tried copying contents of css-file svg-file itself, without @import. again works fine, requesthandler, rather keep css , svg split.

does here have experiences or has run similar problems?

thanks,

matthias

i found issue comparing responses: contenttype of response missing. it's set automatically static resources, had manually in vaadin request handler. (thanks andré)


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -