Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / webview / settings / fontSize.qml
1 import QtQuick 1.0
2 import QtWebKit 1.0
3
4 Grid {
5     property string skip: "WebView tests not counting until resources allocated to WebView maintenance"
6     columns: 3
7     Rectangle {
8         Text { color: "green"; text: "Normal" }
9         border.color: "black"
10         width: 200
11         height: 200
12         WebView {
13             anchors.fill: parent
14             url: "test.html"
15         }
16     }
17     Rectangle {
18         Text { color: "green"; text: "Big" }
19         border.color: "black"
20         width: 200
21         height: 200
22         WebView {
23             anchors.fill: parent
24             url: "test.html"
25             settings.minimumFontSize: 20
26         }
27     }
28     Rectangle {
29         Text { color: "green"; text: "Big (logical)" }
30         border.color: "black"
31         width: 200
32         height: 200
33         WebView {
34             anchors.fill: parent
35             url: "test.html"
36             settings.minimumLogicalFontSize: 20
37         }
38     }
39     Rectangle {
40         Text { color: "green"; text: "Bigger" }
41         border.color: "black"
42         width: 200
43         height: 200
44         WebView {
45             anchors.fill: parent
46             url: "test.html"
47             settings.minimumFontSize: 30
48         }
49     }
50     Rectangle {
51         Text { color: "green"; text: "Small (except fixed)" }
52         border.color: "black"
53         width: 200
54         height: 200
55         WebView {
56             anchors.fill: parent
57             url: "test.html"
58             settings.defaultFontSize: 8
59         }
60     }
61     Rectangle {
62         Text { color: "green"; text: "Small fixed" }
63         border.color: "black"
64         width: 200
65         height: 200
66         WebView {
67             anchors.fill: parent
68             url: "test.html"
69             settings.defaultFixedFontSize: 8
70         }
71     }
72 }