Files
servo/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-svg-100-percent-in-body-ref.xht

28 lines
691 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test Reference: SVG element with a view box with explicit 100% width and height should occupy the entire view port</title>
<link href="http://www.google.com/" rel="author" title="Google" />
<style type="text/css">
* {
margin: 0;
padding: 0;
}
img {
display: block;
visibility: hidden;
}
div {
background-color: green;
}
</style>
</head>
<body>
<p>The box below should occupy the entire view port.</p>
<div><img width="100%" height="100%" src="../support/60x60-green.png" /></div>
</body></html>