layout/reftests/w3c-css/received/css-values-3/vh-zero-support.html
author Xidorn Quan <quanxunzhen@gmail.com>
Thu, 03 Mar 2016 18:28:23 +0800
changeset 328620 7d6fb17b4b32f8df992700f2ee643bee59305197
permissions -rw-r--r--
Bug 1253189 part 5 - Import reftests of css-values. r=dbaron MozReview-Commit-ID: DgYTyHV9Leu

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>
		CSS Values and Units Test:
		0vh and 0vw are correctly treated as 0px
	</title>
	<meta name="assert" content="
		0vh and 0vw are correctly treated as 0px
	" />

	<link
		rel="author"
		title="Fran├žois REMY"
		href="mailto:fremycompany.developer@yahoo.fr"
	/ >

	<link rel="help" href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths">

	<link
		rel="match"
		href="reference/all-green.html"
	/>

	<style type="text/css">

			html, body { margin: 0px; padding: 0px; }

			html { background: green; }
			#target { background: red; width: 0vw; height: 0vh; }

	</style>

</head>
<body>

	<div id="target"></div>

</body>
</html>