mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
34 lines
No EOL
1.4 KiB
HTML
34 lines
No EOL
1.4 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: border_style</title>
|
|
<link href="mailto:disound@gmail.com" rel="author" title="disound" />
|
|
<link href="http://www.w3.org/TR/css3-background/#the-border-style" rel="help" />
|
|
<meta content="image" name="flags" />
|
|
<meta 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." name="assert" />
|
|
<style>
|
|
#ref {
|
|
background-color: white;
|
|
height: 160px;
|
|
width: 160px;
|
|
}
|
|
#test {
|
|
border: black solid 5px;
|
|
border-top-style: solid;
|
|
border-right-style: dotted;
|
|
border-bottom-style: dashed;
|
|
border-left-style: double;
|
|
bottom: 160px;
|
|
height: 100px;
|
|
padding: 25px;
|
|
position: relative;
|
|
width: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is a white square, left border style is double, bottom border style is dashed, right border style is dotted, top border style is solid.</p>
|
|
<div id="ref"></div>
|
|
<div id="test"></div>
|
|
|
|
|
|
</body></html> |