CSS 2.1 failure: outline-color-* tests fail
[WebKit.git] / Source / WebKit2 / UIProcess / API / qt / tests / qmltests / WebView / tst_loadZeroSizeView.qml
1 import QtQuick 2.0
2 import QtTest 1.0
3 import QtWebKit 3.0
4
5 WebView {
6     id: webView
7     height: 0
8     width: 0
9
10     SignalSpy {
11         id: spy
12         target: webView
13         signalName: "loadSucceeded"
14     }
15
16     TestCase {
17         name: "WebViewLoad"
18
19         function test_loadZeroSizeView() {
20             compare(spy.count, 0)
21             webView.load(Qt.resolvedUrl("../common/test1.html"))
22             spy.wait()
23             compare(webView.title, "Test page 1")
24             compare(webView.width, 0)
25             compare(webView.height, 0)
26         }
27     }
28 }