[Webkit-unassigned] [Bug 48413] New: [Qt]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 27 04:45:54 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48413
Summary: [Qt]
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: henrik.hartz at nokia.com
A QML document has a Flickable which contains a WebView.
<pre>
import Qt 4.7
import QtWebKit 1.0
Rectangle {
width: 800
height: 480
Flickable {
x: 25
y: 25
width: 750
height: 360
contentWidth: 750
contentHeight: help_browser.height
clip: true
WebView {
id: help_browser
url: "qrc:/doc/help.html"
width: 750
}
}
....
}
</pre>
This results in the image shown in webview-bad.png. The chequered area should be filled with docs. However, as soon as I pan even a little bit the docs appear and I get webview-ok.png.
The HTML file has this <head>:
<pre>
<html>
<head>
<title>....</title>
<link href="doc/stylesheet.css" rel="stylesheet" type="text/css">
</head>
</pre>
As soon as I leave out the stylesheet line it works as it should and the page is immediately loaded. Perhaps this is really a WebKit problem, but as I only use it together with QML I have no idea. The stylesheet is loaded and applied if both the HTML and CSS files are loaded from resources.
--
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