servo/tests/wpt/css-tests/css-regions-1_dev/xhtml1print/reference/region-styling-001-ref.xht

26 lines
No EOL
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: Region Styling</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 region-styling-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com" />
<link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com" />
<style type="text/css">
.region{
color: green;
}
</style>
</head>
<body>
<p>This test passes if the word below is &ldquo;GREEN&rdquo; and is displayed in green.</p>
<div class="region">GREEN</div>
</body>
</html>