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

65 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-style: hidden applied to element with display table-column</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties">
<link rel="match" href="reference/border-conflict-style-101-ref.htm">
<meta content="" name="flags">
<meta content="'border-style: hidden' must apply to all elements, including elements with display table-column. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert">
<style type="text/css">
#table
{
border-collapse: collapse;
display: table;
table-layout: fixed;
width: 200px;
}
.test
{
border-color: red;
border-style: hidden;
display: table-column;
}
.row
{
display: table-row;
}
.cell
{
display: table-cell;
height: 100px;
}
</style>
</head>
<body>
<p>There should be <strong>no red</strong>, not even thin red lines.</p>
<div id="table">
<div class="test"></div><div class="test"></div>
<div class="row">
<div class="cell"></div><div class="cell"></div>
</div>
<div class="row">
<div class="cell"></div><div class="cell"></div>
</div>
</div>
</body>
</html>