[Webkit-unassigned] [Bug 29560] New: [Qt] QWebFrame.setHtml() doesn't resolve relative files refe rences in HTML
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 21 08:01:22 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29560
Summary: [Qt] QWebFrame.setHtml() doesn't resolve relative
files refe rences in HTML
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: Qt
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: vestbo at webkit.org
This bug report originated from Nokia internal issue QT-1096
--- Comments ---
Version: 4.5.1
Platform: MacOSX
Mac OS 10.5.6 on a Unibody Macbook (Intel Core 2 Duo)
Compiler: GCC
Short description: QWebFrame.setHtml() doesn't resolve relative files
references in HTML
Did:
I use QWebPage::mainFrame()->setHtml(html,QUrl::fromLocalFile("myBasedDir"))
to set the HTML content for the Frame. The HTML markup contains references to
external files (css, js). The paths of these files are relative to "myBaseDir"
set as baseUrl.
Expected to see:
Correct rendering of HTML markup including resolution of externally referenced
resources (css, js)
Got instead:
All HTML markup and inline css and js are rendered/executed correctly. No
externally linked resources are incorporated.
More details:
The same code works using Qt 4.5.1 on Windows XP
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list