Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/transform-rotate-006.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): rotate(45deg) rotate(1turn)</title>
<link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content="This is part of a series of tests that check
that various combinations of rotate() with different units are equivalent
to rotate(45deg).">
<link rel="match" href="transform-rotate-001-ref.html">
<link rel="mismatch" href="transform-rotate-001-notref.html">
<style>
div {
transform: rotate(45deg) rotate(1turn);
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div>Test Text</div>
</body>
</html>