Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / device-adapt / viewport-initial-width-zero.html
blob8fa624cf1196660c19cf357f673848b1a977a414
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Use initial height for auto height if initial width is zero</title>
5 <link rel="help" href="http://www.w3.org/TR/css-device-adapt/#constraining-viewport-descriptor-values">
6 <style type="text/css">
7 @viewport {
8 width: 100px;
9 height: auto;
11 </style>
12 <script type="text/javascript">
13 function test() {
14 if (window.testRunner) {
15 testRunner.dumpAsText();
16 alert(internals.viewportAsText(document, 1, 0, 200));
19 </script>
20 </head>
21 <body onload="test();"></body>
22 </html>