vh-interpolate-vh

Viewport units are interpolated correctly

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
The interpolated size mid-way between 75vh and 125vh is 100vh (respectively for vw)

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3 	<meta charset="utf-8">
 4 	<title>
 5 		CSS Values and Units Test:
 6 		Viewport units are interpolated correctly
 7 	</title>
 8 	<meta content="
 9 		The interpolated size mid-way between 75vh and 125vh is 100vh (respectively for vw)
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 	<link href="http://www.w3.org/TR/css3-animations/#animations" rel="help">
16 
17 	<link href="reference/all-green.htm" rel="match">
18 
19 	<style type="text/css">
20 
21 			@keyframes anim {
22 				from { width: 75vw; height: 75vh; }
23 				to   { width: 125vw; height: 125vh; }
24 			}
25 
26 			html, body { margin: 0px; padding: 0px; }
27 
28 			html { background: red; overflow: hidden; }
29 			#outer { position: relative; background: green; }
30 			#outer { animation: anim 2000000s; animation-delay: -1000000s; }
31 
32 	</style>
33 
34 </head>
35 <body>
36 
37 	<div id="outer"></div>
38 
39 
40 
41 </body></html>