servo/tests/wpt/css-tests/css-backgrounds-3_dev/html4/background-paint-order-001.htm

23 lines
No EOL
935 B
HTML

<!DOCTYPE html>
<html><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.htm" 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>