Files
servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform3d-backface-visibility-007.xht

22 lines
1.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>
<title>CSS Test (Transforms): Simple Backface-Visibility, scalez(-1)</title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#propdef-backface-visibility" rel="help" />
<meta content="This is the same as
transform3d-backface-visibility-001.html, except it uses scalez(-1) instead
of rotatex(180deg). scalez(-1) has no visible effect when applied by
itself to a box, since the box's Z-coordinates are all 0, but it still
causes it to be affected by 'backface-visibility'." name="assert" />
<link href="reference/transform-lime-square-ref.xht" rel="match" />
<style>div { height: 100px; width: 100px }</style>
</head>
<body>
<div style="background: lime">
<div style="background: red; backface-visibility: hidden;
transform: scalez(-1)">
</div>
</div>
</body></html>