summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/webview/zooming/resolution.qml
blob: fe33f3f8eff9c2eb92314816cb913c22dbb04142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick 1.0
import org.webkit 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 }
    }
}