RESOLVED INVALID 94362
[Qt] QWebView::setHtml doesn't load external JS and CSS files
https://bugs.webkit.org/show_bug.cgi?id=94362
Summary [Qt] QWebView::setHtml doesn't load external JS and CSS files
Dmitry Shachnev
Reported 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).
Attachments
Jocelyn Turcotte
Comment 1 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.
Note You need to log in before you can comment on or make changes to this bug.