The style is not being applied though setDefaultTextEncding("utf-8") is set.
Attached are the test failures with QtWebkit 5.212 when verified on target.
Looks like setUserStyleSheetUrl(QUrl::fromLocalFile is being failed in the
tests as seen.

Let me know if am missing anything in this regard or it is a known issue in
latest QtWebkit 5.212.
Hope CSS3 is supported and stylesheet could be set through CSS3.

Your help in this is greatly appreciated.

Thanks and Regards,
Ramakanth


On Wed, 8 Jul, 2020, 22:28 Ramakanth Kesireddy, <[email protected]> wrote:

> Thanks for your email.
> Am using QtWebkit5.212 with Qt 5.6.3.
>
> However noticed that
> setUserStyleSheetUrl(QUrl::fromLocalFile(QString::fromStdString("sample.css")
> is not working as expected to load the css with scrollbar buttons set in
> background-image.
>
> In the old version of QtWebkit with Qt 4.8, it works fine.
>
> Am I missing something and is the performance improved in loading or
> rendering html using sethtml incase of Qt WebKit 5.212.
>
> Am using QtWebkit 5.212 alpha3 sources with patches applied for building
> WebKit.
>
> Best Regards,
> Ramakanth
>
> On Fri, 3 Jul, 2020, 08:07 Konstantin Tokarev, <[email protected]> wrote:
>
>>
>>
>> 24.06.2020, 08:15, "Ramakanth Kesireddy" <[email protected]>:
>> > The below issue is resolved..
>> > Could you please let me know if there is any latest Qt WebKit 5.212
>> documentation and sources containing the patches?
>>
>> You can find documentation at https://qtwebkit.github.io/, though it
>> doesn't differ much from one published at doc.qt.io (except being less
>> pretty and containing docs for a few new APIs)
>>
>> --
>> Regards,
>> Konstantin
>>
>

Attachment: test_qwebview.log
Description: Binary data

Attachment: tst_qwebpage.log
Description: Binary data

_______________________________________________
webkit-qt mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to