mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS Test (Transforms): Preserve-3D with 'overflow: hidden'</title>
|
|
<link rel="author" title="Aryeh Gregor" href="mailto:[email protected]">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property">
|
|
<meta name="assert" content="This is identical to
|
|
transform3d-preserve3d-006.html, except that it has 'transform-style:
|
|
preserve-3d; overflow: hidden' specified on the parent element.
|
|
'transform-style: preserve-3d' would normally make the result different,
|
|
but 'overflow: hidden' overrides its effect and causes it to work the same
|
|
as 'transform-style: flat'.">
|
|
<link rel="match" href="transform-lime-square-ref.html">
|
|
</head>
|
|
<body>
|
|
<div style="transform: rotatex(45deg); transform-origin: top;
|
|
transform-style: preserve-3d; overflow: hidden">
|
|
<div style="transform: rotatex(-45deg); transform-origin: top;
|
|
height: 200px; width: 100px; background: lime">
|
|
</div></div>
|
|
</body>
|
|
</html>
|