Files
servo/tests/wpt/css-tests/css21_dev/xhtml1print/border-style-applies-to-023.xht

75 lines
2.0 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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: border-style: hidden applied to element with display table-row-group</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
@top-right { content: "Test border-style-applies-to-023"; }
@bottom-right { content: counter(page); }
}
</style>
<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.xht" />
<meta content="" name="flags" />
<meta content="'border-style: hidden' must apply to all elements, including elements with display table-row-group. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" />
<style type="text/css"><![CDATA[
#table
{
border-collapse: collapse;
display: table;
table-layout: fixed;
width: 200px;
}
#test
{
border-color: red;
border-style: hidden;
display: table-row-group;
}
.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 id="test">
<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>
</div>
</body>
</html>