[webkit-help] webkit_web_view_load_html ignoring css files

Benjamin Poulain benjamin at webkit.org
Thu Jan 16 13:35:15 PST 2014


Hi Sami,

You should try email webkit-gtk instead of webkit-help, all the GTK
experts are on webkit-gtk.

On 16/01/2014 09:00, sami wagiaalla wrote:
> I am working on porting the Eclipse SWT browser from WebKit1 to
> WebKit2 and i am having trouble with this function
> webkit_web_view_load_html.
>
> 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 tried listening for load errors but there were none.
>
> Any help would be greatly appreciated
Given the content, I suspect you are hitting security restrictions
preventing the load of local files.

Cheers,
Benjamin


More information about the webkit-help mailing list