The data uri schema solved my problem a lot but the problem now is that it does not have path, for example when a css file is loaded from /files/style.css the images in it which are image1.png should be loaded from /files/image1.png but because the css file is loaded from data scheme, it does not know the path and it tries to load it from /image1.png and it gives unpredictable results, is there any way to solve this?
On 12/13/11, Sergio Villar Senin <[email protected]> wrote: > En 12/12/11 19:37, Emmanuel Rodriguez escribiu: >> On Mon, Dec 12, 2011 at 19:01, Iranian Secure <[email protected]> >> wrote: >>> Data URI scheme as described here: >>> http://en.wikipedia.org/wiki/Data_URI_scheme was what I was looking for >>> Thanks a lot >> Great! >> >> I wasn't sure if WebKit supported the Data URI schema. The wikipedia >> page that you referenced says that it does. So it think that you >> should be able to do what you need with customs data URI. > > Of course is and has been supported. Check > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp if you want > more details. > > BR > > > _______________________________________________ > webkit-gtk mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk > _______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
