1 <!DOCTYPE html>
2 <html><head>
3 <meta charset="utf-8">
4 <title>
5 CSS Values and Units Test:
6 0vh and 0vw are correctly treated as 0px
7 </title>
8 <meta content="
9 0vh and 0vw are correctly treated as 0px
10 " name="assert">
11
12 <link href="mailto:fremycompany.developer@yahoo.fr" rel="author" title="François REMY">
13
14 <link href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths" rel="help">
15
16 <link href="reference/all-green.htm" rel="match">
17
18 <style type="text/css">
19
20 html, body { margin: 0px; padding: 0px; }
21
22 html { background: red; font-size: 100vw; }
23 #target { background: green; width: 1rem; height: 1em; font-size: 100vh; }
24
25 </style>
26
27 </head>
28 <body>
29
30 <div id="target"></div>
31
32
33
34 </body></html>