Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/transform3d-scale-005.htm

20 lines
928 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): rotateX(90deg) scale3d(1, 1, 2)
rotateX(-90deg)</title>
<link href="mailto:mwoodrow@mozilla.com" rel="author" title="Matt Woodrow">
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
<link href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions" rel="help">
<link href="http://www.w3.org/TR/css-transforms-1/#funcdef-scale3d" rel="help">
<meta content="This tests that rotateX(90deg)
scale3d(1, 1, 2) rotateX(-90deg) is the same as scaleY(2). Conjugating by
the rotation swaps the Y and Z coordinates for the scale." name="assert">
<link href="reference/transform3d-scale-005-ref.htm" rel="match">
</head>
<body>
<div style="transform: rotatex(90deg) scale3D(1,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
</div>
</body></html>