From 12a5ddf456ba8549645a8cb28a8b4ed6197a14da Mon Sep 17 00:00:00 2001 From: Matthew Vogt Date: Mon, 30 Jan 2012 14:16:15 +1000 Subject: Import relevant source from Qt 4.8 Change-Id: I5078db4081d95290c54f39d3c0efc2fc2f62e6a6 --- .../qmlvisual/webview/zooming/resolution.qml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/auto/declarative/qmlvisual/webview/zooming/resolution.qml (limited to 'tests/auto/declarative/qmlvisual/webview/zooming/resolution.qml') diff --git a/tests/auto/declarative/qmlvisual/webview/zooming/resolution.qml b/tests/auto/declarative/qmlvisual/webview/zooming/resolution.qml new file mode 100644 index 00000000..cf5f50f9 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/webview/zooming/resolution.qml @@ -0,0 +1,19 @@ +import QtQuick 1.0 +import QtWebKit 1.0 + +WebView { + property string skip: "WebView tests not counting until resources allocated to WebView maintenance" + /* + width: 200 * zoomFactor + height: 250 * zoomFactor + scale: 1/zoomFactor + url: "resolution.html" + SequentialAnimation on zoomFactor { + loops: Animation.Infinite + NumberAnimation { from: 1; to: 0.25; duration: 2000 } + NumberAnimation { from: 0.25; to: 1; duration: 2000 } + NumberAnimation { from: 1; to: 5; duration: 2000 } + NumberAnimation { from: 5; to: 1; duration: 2000 } + } + */ +} -- cgit v1.2.3