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

28 lines
593 B
HTML

<!DOCTYPE html>
<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>