summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/device-adapt/viewport-width-not-affecting-next-page.html
blob: e97884a164746e877ca1c97a737da7ee27a7e5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
    <title>CSS Test: viewport 'width' descriptor does not affect contents width of next loaded page.</title>
    <link rel="author" title="Mikhail Pozdnyakov" href="mailto:mikhail.pozdnyakov@intel.com" />
    <style type="text/css">
        @viewport {
            width: 300px;
        }
    </style>
    <script type="text/javascript">
        if (window.testRunner) {
            testRunner.dumpAsText();
            testRunner.waitUntilDone();
        }

        function onLoad() {
            window.location = "resources/check-contents-width.html";
        }
    </script>
</head>
<body onload="onLoad()"/>
</html>