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

30 lines
1.1 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): Transform on Table 2</title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help" />
<meta content="This tests that another appropriately-crafted
transform applied to a table works the same as if was applied to a wrapper
div." name="assert" />
<link href="reference/transform-table-001-ref.xht" rel="match" />
<link href="reference/transform-table-001-notref.xht" rel="mismatch" />
<style>
div {
transform: translateX(200px) rotate(180deg) translateY(-100%);
transform-origin: left;
}
table {
transform: translateY(100%);
}
</style>
</head>
<body>
<div>
<table>
<caption>Hello</caption>
<tbody><tr><td>there!</td></tr>
</tbody></table>
</div>
</body></html>