[webkit-gtk] webkit_web_view_load_html ignores css files

Gavin Lambert gavinl at compacsort.com
Thu Jan 16 15:17:38 PST 2014


Quoth sami wagiaalla:
> It seems that if I load a page using webkit_web_view_load_uri it works
> fine but if I try to load the content of that page via
> webkit_web_view_load_html only part of the content is loaded; some
> images and all CSS is ignored.
> 
> This is the content of the page I am trying to load:
> http://fpaste.org/69014/89115313/ (I can construct a smaller example of
> that helps)
> 
> As base_uri I provide "file:///"

I don't know if this is the cause of your issue, but a base_uri needs a
complete path, including a filename.  You can just make up an imaginary
filename; it doesn't have to actually exist, unless the content contains
self links (eg. href="#anchor").




More information about the webkit-gtk mailing list