Files
firefox/testing/web-platform/tests/css/work-in-progress/microsoft/float-overflow-001.htm
T

68 lines
1.9 KiB
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: </title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href=""/>
<meta name="flags" content="" />
<meta name="assert" content=""/>
<style type="text/css">
.outside
{
background: green;
height: 50px;
width: 50px;
}
.inside
{
background: green;
height: 50px;
width: 200px;
}
.fr
{
float: right;
}
.fl
{
float: left;
}
.container
{
height: 100px;
width: 150px;
}
.test
{
border: solid green;
margin-top: 25px;
width: 225px;
}
.ltr
{
background: red url('support/float-overflow-001a.png');
direction: ltr;
}
.rtl
{
background: red url('support/float-overflow-001b.png');
direction: rtl;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div class="test ltr">
<div class="fr outside"></div>
<div class="container">
<div class="fl inside"></div>
</div>
</div>
<div class="test rtl">
<div class="fl outside"></div>
<div class="container">
<div class="fr inside"></div>
</div>
</div>
</body>
</html>