Namespaces
Variants
Actions

QML WebView Element does not render XHTML properly (Known Issue)

Jump to: navigation, search

The QML WebView Element does not render XHTML properly.

Article Metadata
Dependencies: QtWebKit 1.0

Article
Created: Devnull (08 Dec 2011)
Last edited: hamishwillee (13 Aug 2012)

Introduction

There is no property to switch between HTML and XHTML pages in Webview. The page loaded and saving via HTML tag does save its content. The rendering of the page is affected.

The following page is in XHTML and rendered as a black page, no text:

import QtWebKit 1.0
 
WebView
{ id: web url: "http://bumerang.hu/?ezaz=2_20111202"
//url: "http://nokia.com" // shown correctly
anchors.centerIn: parent width: 200 height: 200
settings.javascriptEnabled : false
scale: 0.5
smooth: false }

Page identify itself:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"><head>

Summary

The issue is reported as the following bug: QTBUG-23023

This page was last modified on 13 August 2012, at 02:17.
66 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved