servo/tests/wpt/css-tests/css22_dev/xhtml1print/reference/right-offset-position-fixed-001-ref.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

36 lines
No EOL
894 B
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Reference File</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS 2.2 CR Test Suite"; }
@top-right { content: "Test right-offset-position-fixed-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Chris Rebert" href="http://chrisrebert.com"/>
<style type="text/css">
html {
direction: rtl;
}
p {
direction: ltr;
}
#greensquare {
background-color: green;
position: absolute;
right: 50%;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<p>Test passes if there is a solid green square and <strong>no red</strong>.</p>
<div id="greensquare"/>
</body>
</html>