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-display-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Inline-Block</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content='Inline-blocks are atomic inline-level
elements, so should transform the same as blocks.'>
<link rel="match" href="transform-display-ref.html">
<link rel="mismatch" href="transform-display-notref.html">
<style>
div {
width: 100px;
height: 100px;
transform: rotate(180deg);
display: inline-block;
}
</style>
</head>
<body>
<div>This is some rotated text</div>
</body>
</html>