1<html>
2<head>
3<script src="../js/resources/js-test-pre.js"></script>
4
5<script>
6
7description("This test checks that Page Visibility state values are correct when a document has no defaultView.");
8
9var subdocument = document.implementation.createDocument('http://www.w3.org/1999/xhtml', 'html', null);
10
11shouldBeTrue("subdocument.defaultView == null");
12shouldBeEqualToString("subdocument.webkitVisibilityState", "hidden");
13shouldBeTrue("subdocument.webkitHidden");
14
15</script>
16
17<script src="../js/resources/js-test-post.js"></script>
18
19</head>
20</html>