Files
servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/transform-table-009.xht

39 lines
1.2 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 Test (Transforms): Table With Preserve-3D 1</title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#transform-style-property" rel="help" />
<meta content="This is the same as transform-table-007.html,
except that transform-style is also explicitly applied to the intervening
&lt;tbody>, so nothing should vanish." name="assert" />
<link href="reference/transform-table-009-ref.xht" rel="match" />
<link href="reference/transform-table-009-notref.xht" rel="mismatch" />
<style>
table, tbody, tr, td {
margin: 0;
padding: 0;
border-spacing: 0;
}
div {
transform: rotateX(90deg);
}
body &gt; div, table, tbody, tr, td {
transform-style: preserve-3d;
}
</style>
</head>
<body>
<div>
<table>
<tbody>
<tr>
<td>
<div>Some text</div>
</td>
</tr>
</tbody>
</table>
</div>
</body></html>