mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS Backgrounds and Borders Test: border_style_double</title>
|
|
<link rel="author" title="disound" href="mailto:disound@gmail.com" />
|
|
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-style" />
|
|
<meta name="flags" content="image" />
|
|
<meta name="assert" content="'Border-style' is a shorthand for the other four. Its four values set the top, right, bottom and left border respectively. A missing left is the same as right, a missing bottom is the same as top, and a missing right is also the same as top. 'double': Two parallel solid lines with some space between them. (The thickness of the lines is not specified, but the sum of the lines and the space must equal 'border-width'.)" />
|
|
<style>
|
|
#ref {
|
|
background-color: white;
|
|
height: 160px;
|
|
width: 160px;
|
|
}
|
|
#test {
|
|
border: black solid 5px;
|
|
border-style: double;
|
|
bottom: 160px;
|
|
height: 100px;
|
|
padding: 25px;
|
|
position: relative;
|
|
width: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is a white square, border style is double, and the sum of the lines and the space must equal 5.</p>
|
|
<div id="ref"></div>
|
|
<div id="test"></div>
|
|
</body>
|
|
</html>
|