Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / webview / zooming / renderControl.qml
1 import QtQuick 1.0
2 import QtWebKit 1.0
3
4 Rectangle {
5     property string skip: "WebView tests not counting until resources allocated to WebView maintenance"
6     width: 200
7     height: 250
8     clip: true
9     WebView {
10         id: webview
11         width: 400
12         url: "renderControl.html"
13         SequentialAnimation on x {
14                 loops: Animation.Infinite
15                 NumberAnimation { from: 100; to: 0; duration: 200 }
16                 PropertyAction { target: webview; property: "renderingEnabled"; value: false }
17                 NumberAnimation { from: 0; to: -100; duration: 200 }
18                 PropertyAction { target: webview; property: "renderingEnabled"; value: true }
19                 NumberAnimation { from: -100; to: 100; duration: 400 }
20             }
21     }
22 }