mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
36 lines
No EOL
894 B
HTML
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> |