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.
34 lines
No EOL
921 B
HTML
34 lines
No EOL
921 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
|
|
<style>
|
|
span {
|
|
counter-increment: spans 1;
|
|
}
|
|
#region {
|
|
counter-reset: spans 0;
|
|
}
|
|
span::before {
|
|
display: inline-block;
|
|
content: counter(spans) ".";
|
|
width: 2em;
|
|
margin: 0 .5em;
|
|
background: green;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
#region {
|
|
background-color: lightblue;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you see a light blue rectangle below, with three blocks of black text on a single line. Each block of text should be numbered from 1 to 3 and contain the text “Visible text <em>n</em>” with <em>n</em> ranging from 1 to 3. The numbering should be white on a green background.</p>
|
|
<div id="region">
|
|
<span>Visible text 1</span><span>Visible text 2</span><span>Visible text 3</span>
|
|
</div>
|
|
|
|
|
|
</body></html> |