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

21 lines
1013 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): rotatex(90deg) scale3d(2, 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(2, 1, 2) rotatex(-90deg) is the same as scalex(2) scaley(2).
Conjugating by the rotation swaps the Y and Z coordinates for the scale." name="assert">
<link href="reference/transform3d-scale-001-ref.htm" rel="match">
<link href="reference/transform3d-scale-001-notref.htm" rel="mismatch">
</head>
<body>
<div style="transform: rotatex(90deg) scale3D(2,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
</div>
</body></html>