mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
22 lines
833 B
HTML
22 lines
833 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test (Transforms): Transformed <img></title>
|
|
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
|
|
<link href="http://www.apple.com" rel="reviewer" title="Apple Inc.">
|
|
<link href="http://www.w3.org/TR/css-transforms-1/#transformable-element" rel="help">
|
|
<meta content="An <img> is a transformable element, so
|
|
transforms should work on it the same as any image. This test compares an
|
|
img element with a 90deg rotation transform applied to a different image
|
|
that was pre-rotated by 90 degrees." name="assert">
|
|
<link href="reference/transform-image-ref.htm" rel="match">
|
|
<style>
|
|
img {
|
|
transform: rotate(90deg);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<img src="support/transform-triangle-up.svg">
|
|
|
|
|
|
</body></html> |