mirror of
https://github.com/servo/servo.git
synced 2025-07-12 09:53:40 +01:00
27 lines
No EOL
1.2 KiB
HTML
27 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>CSS Test: Image Orientation - Negative Values</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS Images Module Level 3 CR Test Suite"; }
|
|
@top-right { content: "Test img-orient-012"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
|
|
<link rel="help" href="http://www.w3.org/TR/css3-images/#image-orientation"/>
|
|
<meta name="assert" content="A negative value for 'image-orientation' rotates the image to the left (in a counter-clockwise direction) by the given number of degrees. "/>
|
|
<style type="text/css"><![CDATA[
|
|
img.turn { image-orientation: -90deg; }
|
|
]]></style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<p>This arrow should appear sideways, with the tip of the arrow pointing left.</p>
|
|
<img src="support/intrinsic-size.png" alt="FAIL: missing image" class="turn"/>
|
|
</div>
|
|
</body>
|
|
</html> |