gecko/layout/html/tests/block/bugs/216303.html

29 lines
633 B
HTML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!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" lang="en" xml:lang="en">
<head>
<title>Testcase, bug 216303</title>
<style type="text/css">
body {
border: medium solid green;
padding: 1em;
margin: 1em;
height: 20em;
}
div {
float: left;
height: 50%;
border: medium solid orange;
}
</style>
</head>
<body>
<div>This orange box should be 50% of the height of the green box.</div>
</body>
</html>