servo/tests/wpt/css-tests/css-regions-1_dev/xhtml1print/reference/variable-width-001-ref.xht

35 lines
No EOL
1.1 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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: Variable-width Regions</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS Regions Module Level 1 CR Test Suite"; }
@top-right { content: "Test variable-width-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com" />
<style type="text/css">
.one, .three{
height: 50px;
width: 50px;
}
.two{
height: 50px;
width: 100px;
}
.pass{
background-color: green;
}
</style>
</head>
<body>
<p>Test passes if there is no red.</p>
<div class="pass one"></div>
<div class="pass two"></div>
<div class="pass three"></div>
</body>
</html>