blob: a0290769f42b93268768254da997924b109b021b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!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>
|