Bug 94362 - [Qt] QWebView::setHtml doesn't load external JS and CSS files
Summary: [Qt] QWebView::setHtml doesn't load external JS and CSS files
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL: https://bugreports.qt-project.org/bro...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 10:52 PDT by Dmitry Shachnev
Modified: 2014-02-03 03:22 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Shachnev 2012-08-17 10:52:01 PDT
[ I'm not sure if it's a bug in Qt or QtWebKit, so reported to both bugtrackers ]

For example, if I have a QString html containing source of HTML page and it contains

    <link rel="stylesheet" type="text/css" href="style.css">

reference in <head>, and a QWebView webView, and I set HTML code using webView.setHtml(html), it won't be loaded and applied.

The same happens if there's a JS reference included using

    <script type="text/javascript" src="script.js">

(in my case, it's MathJax).
Comment 1 Jocelyn Turcotte 2014-02-03 03:22:07 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.