servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1print/background-clip_padding-box.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

36 lines
No EOL
1.3 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 Backgrounds and Borders Test: background-clip_border-box</title>
<link href="mailto:dajiangxiaoyan@126.com" rel="author" title="Xiaoyan Jiang" />
<link href="mailto:jinlongz@oupeng.com" rel="reviewer" title="Jinlong Zhang" />
<link href="http://www.w3.org/TR/css3-background/#the-background-clip" rel="help" />
<link href="reference/background_clip_padding-box.xht" rel="match" />
<meta content="Test passes if border is blue and dotted without red background" name="assert" />
<style type="text/css">
/* Positioned container allows for the self-describing statement to still
be visible in the case of failure */
.container {
position: absolute;
}
.test {
background-color: red;
height: 130px;
left: 5px;
top: 5px;
width: 130px;
border: blue dotted 5px ;
position: absolute;
background-clip: padding-box;
}
</style>
</head>
<body>
<p>Test passes if border is blue and dotted without red background </p>
<div class="container">
<div class="test"></div>
</div>
</body></html>