[webkit-gtk] webkit_web_view_load_html ignores css files

Carlos Garcia Campos cgarcia at igalia.com
Mon Jan 20 09:05:15 PST 2014


El lun, 20-01-2014 a las 11:54 -0500, sami wagiaalla escribió:
> Hi Gavin,
> 
> >> 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").
> >
> 
> Hmm... I see. I have tried that but there does not seem to fix the issue.
> 
> I also tried tried listening to resource loading events. The CSS file 
> seems to be getting loaded (I get a resrouce_load_started signal, and a 
> finish signal without a failed signal).
> 
> If this is a security setting is there a way to get notified of security 
> settings violations ?

Yes, try opening the web inspector (right click -> inspect element) and
you will be able to debug the problem. You can see the resources loaded,
and the javascript warnings.

> Thanks for the input!
>    Sami
> 
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
> 

-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20140120/4f10a692/attachment.sig>


More information about the webkit-gtk mailing list