mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
36 lines
No EOL
1.3 KiB
HTML
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> |