mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html><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.htm" 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> |