servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1/background-paint-order-001.xht

23 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>
<title>CSS Test: Background clip and border painting order</title>
<link href="mailto:jchaffraix@webkit.org" rel="author" title="Julien Chaffraix" />
<link href="mailto:arronei@microsoft.com" rel="reviewer" title="Arron Eicholz" /> <!-- 2012-10-27 -->
<link href="http://www.w3.org/TR/css3-background/#the-background-clip" rel="help" />
<meta content="" name="flags" />
<meta content="The background is painted behind the border." name="assert" />
<link href="reference/background-paint-order-001-ref.xht" rel="match" />
<style>
div
{
width: 0;
border: 50px solid green;
background-color: red;
}
</style>
</head>
<body>
<p>Test passes if there is a green rectangle below and no red visible on the page.</p>
<div></div>
</body></html>