Files
servo/tests/wpt/css-tests/css21_dev/html4/border-bottom-style-applies-to-015.htm

41 lines
1.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Border-bottom-style applied to element with display table-caption</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-05-22 -->
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-style">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties">
<meta name="flags" content="">
<meta name="assert" content="The 'border-bottom-style' property applies to elements with a display of table-caption.">
<style type="text/css">
#caption
{
border-bottom-style: dashed;
display: table-caption;
width: 1in;
}
#table
{
display: table;
}
#row
{
display: table-row;
}
#cell
{
display: table-cell;
}
</style>
</head>
<body>
<p>Test passes if the line below is dashed.</p>
<div id="table">
<div id="caption"></div>
<div id="row">
<div id="cell"></div>
</div>
</div>
</body>
</html>