mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test (Transforms): Table With Preserve-3D 3</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 an even more extreme example of
|
|
transform-table-010.html. CSS will create several anonymous table boxes
|
|
wrapping the div with display: table-cell, but none of these have
|
|
corresponding elements. Every actual element in the DOM still has
|
|
preserve-3d specified, so the text should not vanish." name="assert">
|
|
<link href="reference/transform-table-009-ref.htm" rel="match">
|
|
<link href="reference/transform-table-011-notref.htm" rel="mismatch">
|
|
<style>
|
|
body > div {
|
|
transform: rotateX(90deg);
|
|
transform-style: preserve-3d;
|
|
}
|
|
body > div > div {
|
|
display: table-cell;
|
|
transform-style: preserve-3d;
|
|
}
|
|
body > div > div > div {
|
|
transform: rotateX(90deg);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<div>
|
|
<div>Some text</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</body></html> |