Files
servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-stresstest-001.xht

36 lines
1.5 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): Inversion Stress Test</title>
<link href="mailto:ctalbert@mozilla.com" rel="author" title="Clint Talbert" />
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions" rel="help" />
<meta content="This simply applies and then inverts a large
number of 2D transform functions, and expects the result to be no transform
at all. One extra translateX(100px) is added at the end to ensure that the
lack of transform isn't just because the UA parsed it incorrectly, or
doesn't support transforms at all." name="assert" />
<link href="reference/transform-stresstest-ref.xht" rel="match" />
<style>
div {
height: 200px;
width: 200px;
background: gold;
transform: skewx(45deg)
translate(50px, 50px)
rotate(45deg)
translatex(50px)
scale(2.0, 4.0)
scale(0.5, 0.25)
translatex(-50px)
rotate(-45deg)
translate(-50px, -50px)
skewx(135deg)
translateX(100px);
}
</style>
</head>
<body>
<div></div>
</body></html>