servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/rotate-270-degrees-001.xht

38 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CCSS Test: transform - rotate 270 deg</title>
<link href="mailto:lmcliste@adobe.com" rel="author" title="Larry McLister" />
<link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help" />
<link href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions" rel="help" />
<style type="text/css">
#greenBottomDiv {
background: green;
border-bottom-color: black;
border-left-color: transparent;
border-right-color: transparent;
border-top-color: transparent;
border-width: 5px;
border-style: solid;
height: 100px;
position: absolute;
transform:
rotate(270deg);
width: 100px;
}
#redDiv {
position: absolute;
background: red;
height: 110px;
width: 110px;
}
</style>
</head>
<body>
<p>Test passes if there is a black line on the right of green box and no red.</p>
<div id="redDiv"></div>
<div id="greenBottomDiv"></div>
</body></html>